< Summary - ZhEaIsNsAaBn.Libraries coverage (affected: 23 packages)

Information
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 23
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
.ctor(...)100%11100%
ToString()100%11100%

File(s)

/home/runner/work/ZhEaIsNsAaBn.Libraries.V1/ZhEaIsNsAaBn.Libraries.V1/src/TestPackages/ZhEaIsNsAaBn.NUnit/Constants/TestSeverity.cs

#LineLine coverage
 1// ReSharper disable once CheckNamespace
 2namespace NUnit.Framework;
 3
 4/// <summary>Severity levels for <see cref="TestSeverityAttribute"/>.</summary>
 5/// <param name="severityLevel">The level this instance prints from <see cref="ToString"/>.</param>
 46public sealed class TestSeverity( string severityLevel )
 7{
 8    /// <summary>A failure blocks a release.</summary>
 9    public const string Critical = nameof(Critical);
 10
 11    /// <summary>A failure breaks a main feature.</summary>
 12    public const string High = nameof(High);
 13
 14    /// <summary>A failure is cosmetic or rare.</summary>
 15    public const string Low = nameof(Low);
 16
 17    /// <summary>A failure breaks a secondary feature.</summary>
 18    public const string Medium = nameof(Medium);
 19
 20    /// <summary>Returns the severity level.</summary>
 21    /// <returns>The level passed to the constructor.</returns>
 422    public override string ToString() => severityLevel;
 23}

Methods/Properties

.ctor(System.String)
ToString()