< Summary - pva.SuperV

Information
Class: pva.Helpers.Extensions.TimeSpanExtensions
Assembly: pva.Helpers
File(s): /home/runner/work/pva.SuperV/pva.SuperV/pva.Helpers/Extensions/TimeSpanExtensions.cs
Tag: dotnet-ubuntu_22190969454
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 14
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
ParseTimeSpanInvariant(...)100%11100%

File(s)

/home/runner/work/pva.SuperV/pva.SuperV/pva.Helpers/Extensions/TimeSpanExtensions.cs

#LineLine coverage
 1using System.Globalization;
 2
 3namespace pva.Helpers.Extensions
 4{
 5    public static class TimeSpanExtensions
 6    {
 7        public static TimeSpan ParseTimeSpanInvariant(this string intervalString)
 158        {
 159            ArgumentNullException.ThrowIfNull(intervalString);
 1510            return TimeSpan.Parse(intervalString, CultureInfo.InvariantCulture.DateTimeFormat);
 1511        }
 12
 13    }
 14}