< Summary

Class:falling_Player
Assembly:Test
File(s):D:/--UnityProject/VR/VRExplorer_subjects/VR-Adventure/Assets/Scripts/falling_Player.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:19
Line coverage:100% (7 of 7)
Covered branches:0
Total branches:0
Covered methods:2
Total methods:2
Method coverage:100% (2 of 2)

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Start()0%000100%
unfreeze()0%000100%

File(s)

D:/--UnityProject/VR/VRExplorer_subjects/VR-Adventure/Assets/Scripts/falling_Player.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class falling_Player : MonoBehaviour
 6{
 7    Rigidbody Origin_Rigidbody;
 8
 9
 10    public void Start()
 811    {
 812        Origin_Rigidbody = GetComponent<Rigidbody>();
 813        Origin_Rigidbody.constraints = RigidbodyConstraints.None;
 814    }
 15    public void unfreeze()
 316    {
 317        Origin_Rigidbody.constraints = RigidbodyConstraints.None;
 318    }
 19}

Methods/Properties

Start()
unfreeze()