< Summary

Class:BulletTime
Assembly:Test
File(s):D:/--UnityProject/VR/VRExplorer_subjects/VGuns-Unity-VR/Assets/Test/Time/BulletTime.cs
Covered lines:3
Uncovered lines:4
Coverable lines:7
Total lines:24
Line coverage:42.8% (3 of 7)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:2
Method coverage:50% (1 of 2)

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Start()0%000100%
BulletTimeActivate(...)0%0000%

File(s)

D:/--UnityProject/VR/VRExplorer_subjects/VGuns-Unity-VR/Assets/Test/Time/BulletTime.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4using UnityEngine.InputSystem;
 5
 6public class BulletTime : MonoBehaviour
 7{
 8    [SerializeField] public InputActionReference SlowMoActivate;
 9
 10    public TimeManager TimeManager;
 11
 12    // Start is called before the first frame update
 13    void Start()
 414    {
 415        SlowMoActivate.action.performed += BulletTimeActivate;
 416    }
 17
 18    private void BulletTimeActivate(InputAction.CallbackContext obj)
 019    {
 020        TimeManager.DoSlowmotion();
 21
 022        Debug.Log("fuck you");
 023    }
 24}