< 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
 748        public AssetPromise_WithUrl(string contentUrl, string hash)
 9        {
 7410            this.contentUrl = contentUrl;
 7411            this.hash = hash;
 7412        }
 13
 38114        public override object GetId() { return hash; }
 15    }
 16}