< Summary

Class:MainScripts.DCL.AssetsEmbedment.Editor.AssetEmbedder
Assembly:AssetsEmbedmentEditor
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/AssetsEmbedment/Editor/AssetEmbedder.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:16
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
ResetTargetPath(...)0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/AssetsEmbedment/Editor/AssetEmbedder.cs

#LineLine coverage
 1using System.IO;
 2
 3namespace MainScripts.DCL.AssetsEmbedment.Editor
 4{
 5    public abstract class AssetEmbedder
 6    {
 7        protected static void ResetTargetPath(string path)
 8        {
 9            // Clear the previous cache
 010            if (Directory.Exists(path))
 011                Directory.Delete(path, true);
 12
 013            Directory.CreateDirectory(path);
 014        }
 15    }
 16}

Methods/Properties

ResetTargetPath(System.String)