Branch Coverage

blib/lib/Music/Chord/Note.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
97 1 25 unless $chord_name
99 3 22 unless defined $tonic
100 7 15 unless $kind
103 1 21 unless defined $Music::Chord::Note::base_chord_list->{$kind}
108 3 76 if $note > 23
128 2 3 if ($octave < -2 or $octave > 9)
136 1 10 if $position[$n] < $last_position
148 1 3 unless $chord
149 1 3 unless defined $Music::Chord::Note::base_chord_list->{$chord}
160 4 16 unless $note =~ /^[A-G](?:[#b])?$/