< Summary

Class:DCL.Singleton[T]
Assembly:Utils
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/Singleton.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:8
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Singleton()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/Singleton.cs

#LineLine coverage
 1namespace DCL
 2{
 3    public class Singleton<T> where T : class, new()
 4    {
 35        public static readonly T i = new T();
 6
 7    }
 8}

Methods/Properties

Singleton()