Condition Coverage

blib/lib/Music/PitchNum.pm
Criterion Covered Total %
condition 25 29 86.2


and 3 conditions

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

or 2 conditions

line l !l condition
137 13 4 $octave //= ''

or 3 conditions

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