< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Cleanup()0%220100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Material/Asset_Material.cs

#LineLine coverage
 1using DCL.Helpers;
 2using UnityEngine;
 3
 4namespace DCL
 5{
 6    public class Asset_Material : Asset
 7    {
 8        public Material material;
 9        public override void Cleanup()
 10        {
 1311            if (material != null)
 12            {
 813                Utils.SafeDestroy(material);
 14            }
 1315        }
 16    }
 17}

Methods/Properties

Cleanup()