Branch Coverage

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


line true false branch
51 1 13 unless &looks_like_number($number)
57 10 3 unless ($params{'ignore_octave'})
59 7 3 if ($octave > 3) { }
2 1 elsif ($octave < 3) { }
73 0 16 if &looks_like_number($name)
79 16 0 if ($name =~ / (? [A-Ha-h] ) (? es(?:es)? | is(?:is)? | (?<=[AEae]) s(?:es)? )? (? [,]{1,10}|[']{1,10} )? /x)
91 15 1 if (defined $octave)
92 2 13 $octave =~ /[,]/ ? :
95 8 8 if (defined $chrome)
96 4 4 if ($chrome =~ /^s/)
100 6 2 $chrome =~ /e/ ? :