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
99 91 0 6 defined $octave and defined $note
91 5 1 defined $octave and defined $note and defined $chrome
103 5 91 0 not defined $octave and $name =~ / \G ( [,]{1,10} ) /cgx
111 53 11 32 not defined $note and $name =~ / \G (?: (?[A-G])(?\k{1,10}) | (?[A-Ga-g])) /cgx
117 29 0 3 defined $+{'multi'} and not defined $octave
123 11 5 48 defined $note and not defined $octave
143 11 1 27 defined $note and not defined $chrome
163 4 13 15 defined $octave and &looks_like_number($octave)

or 2 conditions

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

or 3 conditions

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