< Summary

Information
Class: SwiftCollections.Query.QueryCollectionDiagnostics
Assembly: SwiftCollections
File(s): /home/runner/work/SwiftCollections/SwiftCollections/src/SwiftCollections/Query/Shared/QueryCollectionDiagnostics.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 21
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
WriteInfo(...)100%11100%
WriteWarning(...)100%11100%
WriteError(...)100%11100%

File(s)

/home/runner/work/SwiftCollections/SwiftCollections/src/SwiftCollections/Query/Shared/QueryCollectionDiagnostics.cs

#LineLine coverage
 1using SwiftCollections.Diagnostics;
 2
 3namespace SwiftCollections.Query;
 4
 5internal static class QueryCollectionDiagnostics
 6{
 7    public static void WriteInfo(string source, string message)
 8    {
 359        SwiftCollectionDiagnostics.Shared.Write(DiagnosticLevel.Info, message, source);
 3510    }
 11
 12    public static void WriteWarning(string source, string message)
 13    {
 114        SwiftCollectionDiagnostics.Shared.Write(DiagnosticLevel.Warning, message, source);
 115    }
 16
 17    public static void WriteError(string source, string message)
 18    {
 119        SwiftCollectionDiagnostics.Shared.Write(DiagnosticLevel.Error, message, source);
 120    }
 21}