Branch Coverage

blib/lib/Music/PitchNum/ABC.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
71 1 11 unless &looks_like_number($number)
76 9 2 unless ($self->ignore_octave)
77 4 5 if $octave > 4
78 2 7 if $octave > 5
79 4 5 if $octave < 4
89 0 11 if &looks_like_number($name)
93 11 0 if ($name =~ / (? (?: [_]{1,2} | [\^]{1,2} ) )? (?: (?[A-G])(?[,]+)? | (?[a-g])(?[']+)? ) /x)
100 4 7 $note =~ /[A-G]/ ? :
102 5 6 if (defined $octave)
103 3 2 $octave =~ /[,]/ ? :
106 4 7 if (defined $chrome)
107 2 2 $chrome =~ /[_]/ ? :