< Summary

Class:DCL.AssetPromiseKeeper_GLTFast_Instance
Assembly:AssetPromiseKeeper
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/GLTFast/AssetPromiseKeeper_GLTFast_Instance.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:24
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
AssetPromiseKeeper_GLTFast_Instance()0%2100%
OnSilentForget(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/GLTFast/AssetPromiseKeeper_GLTFast_Instance.cs

#LineLine coverage
 1//[assembly: InternalsVisibleTo("AssetPromiseKeeper_AssetBundleModelTests")]
 2
 3namespace DCL
 4{
 5    public class AssetPromiseKeeper_GLTFast_Instance : AssetPromiseKeeper<Asset_GLTFast_Instance, AssetLibrary_GLTFast_I
 6    {
 7        private static AssetPromiseKeeper_GLTFast_Instance instance;
 8
 9        public static AssetPromiseKeeper_GLTFast_Instance i
 10        {
 11            get
 12            {
 013                return instance ??= new AssetPromiseKeeper_GLTFast_Instance();
 14            }
 15        }
 16
 017        public AssetPromiseKeeper_GLTFast_Instance() : base(new AssetLibrary_GLTFast_Instance()) { }
 18
 19        protected override void OnSilentForget(AssetPromise_GLTFast_Instance promise)
 20        {
 021            promise.asset.Hide();
 022        }
 23    }
 24}