< Summary

Class:NavMapAudioHandler
Assembly:HUDCommon
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Common/Audio/HUDElements/NavMapAudioHandler.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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnPointerDown(...)0%2100%
OnPointerUp(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Common/Audio/HUDElements/NavMapAudioHandler.cs

#LineLine coverage
 1using UnityEngine;
 2using UnityEngine.EventSystems;
 3
 4public class NavMapAudioHandler : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
 5{
 6    public void OnPointerDown(PointerEventData eventData)
 7    {
 08        AudioScriptableObjects.buttonClick.Play(true);
 09    }
 10
 11    public void OnPointerUp(PointerEventData eventData)
 12    {
 013        AudioScriptableObjects.buttonRelease.Play(true);
 014    }
 15}