Condition Coverage

blib/lib/Music/PitchNum.pm
Criterion Covered Total %
condition 27 31 87.1


and 3 conditions

line !l l&&!r l&&r condition
72 91 0 6 defined $octave and defined $note
91 5 1 defined $octave and defined $note and defined $chrome
76 5 91 0 not defined $octave and $name =~ / \G ( [,]{1,10} ) /cgx
84 53 11 32 not defined $note and $name =~ / \G (?: (?[A-G])(?\k{1,10}) | (?[A-Ga-g])) /cgx
90 29 0 3 defined $+{'multi'} and not defined $octave
96 11 5 48 defined $note and not defined $octave
116 11 1 27 defined $note and not defined $chrome
136 4 13 15 defined $octave and &looks_like_number($octave)

or 2 conditions

line l !l condition
57 2 12 $params{'ignore_octave'} //= 0
143 13 4 $octave //= ''

or 3 conditions

line l !l&&r !l&&!r condition
72 32 0 97 $name =~ /\G \z /cgx or defined $octave and defined $note and defined $chrome