< Summary

Information
Class: MusicTheory.Theory.Interval.IntervalExtensions
Assembly: MusicTheory
File(s): /home/runner/work/MusicTheory/MusicTheory/Theory/Interval/IntervalExtensions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 6
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
ToSemitone(...)100%11100%

File(s)

/home/runner/work/MusicTheory/MusicTheory/Theory/Interval/IntervalExtensions.cs

#LineLine coverage
 1namespace MusicTheory.Theory.Interval;
 2
 3public static class IntervalExtensions
 4{
 15    public static SemitoneInterval ToSemitone(this FunctionalInterval ivl) => new(ivl.Semitones);
 6}