< Summary

Class:SoundPlayer
Assembly:Test
File(s):D:/--UnityProject/VR/_____ISSTA 26/UnityVR_VRAgent/Assets/Scripts/SoundPlayer.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:15
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PlaySound()0%0000%

File(s)

D:/--UnityProject/VR/_____ISSTA 26/UnityVR_VRAgent/Assets/Scripts/SoundPlayer.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class SoundPlayer : MonoBehaviour
 6{
 7    public AudioSource source;
 8    public AudioClip sound;
 9
 10   public void PlaySound()
 011    {
 012        source.clip = sound;
 013        source.Play();
 014    }
 15}

Methods/Properties

PlaySound()