< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using UnityEngine.Networking;
 2
 3namespace DCL
 4{
 5    /// <summary>
 6    /// Our custom implementation of the UnityWebRequestTexture.
 7    /// </summary>
 8    public class WebRequestTexture : IWebRequestTexture
 9    {
 10810        public bool isReadable { get; set; }
 11
 12        public UnityWebRequest CreateWebRequest(string url)
 13        {
 10814            return UnityWebRequestTexture.GetTexture(url, !isReadable);
 15        }
 16    }
 17}