< Summary

Class:DCL.WebRequest
Assembly:WebRequest
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/WebRequest/WebRequest.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:12
Line coverage:100% (1 of 1)
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/WebRequest.cs

#LineLine coverage
 1using UnityEngine.Networking;
 2
 3namespace DCL
 4{
 5    /// <summary>
 6    /// Our custom implementation of the UnityWebRequest.
 7    /// </summary>
 8    public class WebRequest : IWebRequest
 9    {
 18010        public UnityWebRequest CreateWebRequest(string url) { return UnityWebRequest.Get(url); }
 11    }
 12}

Methods/Properties

CreateWebRequest(System.String)