< Summary

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

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnTriggerEnter(...)0%000100%

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class audio_manager : MonoBehaviour
 6{
 7    public GameObject boden1;
 8    public GameObject boden2;
 9    public GameObject player;
 10    public AudioSource clip1;
 11    public AudioClip clip2;
 12
 13    // Update is called once per frame
 14
 15
 16    private void OnTriggerEnter(Collider other)
 64717    {
 18
 64719        clip1.Play();
 20
 21
 64722    }
 23}