< Summary

Class:DCL.AssetPromiseKeeper_GLTF
Assembly:AssetPromiseKeeper
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/GLTF/AssetPromiseKeeper_GLTF.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:18
Line coverage:100% (5 of 5)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/GLTF/AssetPromiseKeeper_GLTF.cs

#LineLine coverage
 1using UnityGLTF;
 2
 3namespace DCL
 4{
 5    public class AssetPromiseKeeper_GLTF : AssetPromiseKeeper<Asset_GLTF, AssetLibrary_GLTF, AssetPromise_GLTF>
 6    {
 7        private static AssetPromiseKeeper_GLTF instance;
 282528        public static AssetPromiseKeeper_GLTF i { get { return instance ??= new AssetPromiseKeeper_GLTF(); } }
 9
 3310        public GLTFThrottlingCounter throttlingCounter = new GLTFThrottlingCounter();
 6611        public AssetPromiseKeeper_GLTF() : base(new AssetLibrary_GLTF()) { }
 12
 13        protected override void OnSilentForget(AssetPromise_GLTF promise)
 14        {
 315            promise.OnSilentForget();
 316        }
 17    }
 18}