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 |
Method | Branch coverage | Crap Score | Cyclomatic complexity | NPath complexity | Sequence coverage |
---|---|---|---|---|---|
Singleton() | 0% | 1 | 1 | 0 | 100% |
# | Line | Line coverage | ||
---|---|---|---|---|
1 | namespace DCL | |||
2 | { | |||
3 | public class Singleton<T> where T : class, new() | |||
4 | { | |||
3 | 5 | public static readonly T i = new T(); | ||
6 |
| |||
7 | } | |||
8 | } |