< Summary

Class:DCL.WebRequestAudio
Assembly:WebRequest
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/WebRequest/WebRequestAudio.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:14
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SetAudioType(...)0%110100%
CreateWebRequest(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/WebRequest/WebRequestAudio.cs

#LineLine coverage
 1using UnityEngine;
 2using UnityEngine.Networking;
 3
 4namespace DCL
 5{
 6    public class WebRequestAudio : IWebRequestAudio
 7    {
 8        private AudioType audioType = AudioType.UNKNOWN;
 9
 5210        public void SetAudioType(AudioType audioType) { this.audioType = audioType; }
 11
 2612        public UnityWebRequest CreateWebRequest(string url) { return UnityWebRequestMultimedia.GetAudioClip(url, audioTy
 13    }
 14}