< Summary

Class:SpeedUpTime
Assembly:Test
File(s):D:/--UnityProject/VR/VRExplorer_subjects/VGuns-Unity-VR/Assets/Test/Time/SpeedUpTime.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:22
Line coverage:50% (3 of 6)
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%
SpeedUpActivatevoid(...)0%0000%

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4using UnityEngine.InputSystem;
 5
 6public class SpeedUpTime : MonoBehaviour
 7{
 8    [SerializeField] public InputActionReference SpeedUpActivate;
 9
 10    public TimeManager TimeManager;
 11
 12    // Start is called before the first frame update
 13    void Start()
 414    {
 415        SpeedUpActivate.action.performed += SpeedUpActivatevoid;
 416    }
 17
 18    private void SpeedUpActivatevoid(InputAction.CallbackContext obj)
 019    {
 020        TimeManager.DoSpeedUp();
 021    }
 22}