< Summary

Class:DCL.AssetPromise_WithUrl[T]
Assembly:AssetPromiseKeeper
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Common/AssetPromise_WithUrl.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:16
Line coverage:100% (5 of 5)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Common/AssetPromise_WithUrl.cs

#LineLine coverage
 1namespace DCL
 2{
 3    public abstract class AssetPromise_WithUrl<T> : AssetPromise<T> where T : Asset, new()
 4    {
 5        public string contentUrl;
 6        public string hash;
 7
 808        public AssetPromise_WithUrl(string contentUrl, string hash)
 9        {
 8010            this.contentUrl = contentUrl;
 8011            this.hash = hash;
 8012        }
 13
 41114        public override object GetId() { return hash; }
 15    }
 16}