Branch Coverage

blib/lib/Music/PitchNum/German.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
70 1 13 unless &looks_like_number($number)
74 10 3 unless ($self->ignore_octave)
76 7 3 if ($octave > 3) { }
2 1 elsif ($octave < 3) { }
90 0 16 if &looks_like_number($name)
96 16 0 if ($name =~ / (? [A-Ha-h] ) (? es(?:es)? | is(?:is)? | (?<=[AEae]) s(?:es)? )? (? [,]{1,10}|[']{1,10} )? /x)
108 15 1 if (defined $octave)
109 2 13 $octave =~ /[,]/ ? :
112 8 8 if (defined $chrome)
113 4 4 if ($chrome =~ /^s/)
117 6 2 $chrome =~ /e/ ? :