Condition Coverage

blib/lib/Music/Chord/Namer.pm
Criterion Covered Total %
condition 108 163 66.2


and 2 conditions

line l !l condition
175 54 10 unset(12) and set(0)
176 21 2 unset(15) and set(3)
178 6 0 unset(20) and set(8)
180 13 0 unset(23) and set(11)
209 8 5 unset(9) and app('-6')

and 3 conditions

line !l l&&!r l&&r condition
152 8 64 8 $$hash{'split'} and $notevalues{$$hash{'split'}} == $notevalues{$$hash{'name'}}
176 23 0 1 unset(16) and set(4)
178 6 0 0 unset(19) and set(7)
6 0 0 unset(18) and set(6)
180 13 0 0 unset(22) and set(10)
198 72 0 0 $D = lower_octave_is(0, 3, 6, 9) and unset(0, 3, 6, 9)
199 72 0 0 $D = $D || lower_octave_is(0, 3, 6, 10) and unset(0, 3, 6, 10)
200 70 0 2 $D = $D || lower_octave_is(0, 3, 6) and unset(0, 3, 6)
202 21 0 19 unset(3) and app('m')
9 0 12 unset(5) and app(' sus')
4 0 5 unset(2) and app(' sus2')
209 70 0 2 unset(21, 17, 14, 10) and app('13')
70 0 0 unset(21, 17, 14, 11) and app('maj13')
68 0 2 unset(17, 14, 10) and app('11')
68 0 0 unset(17, 14, 11) and app('maj11')
65 0 3 unset(14, 10) and app('9')
61 0 4 unset(14, 11) and app('maj9')
26 0 35 unset(10) and app('7')
13 0 13 unset(11) and app('maj7')
13 0 0 unset(9, 14) and app('6/9')
220 20 0 9 unset(6) and app(' b5')
6 0 14 unset(8) and app(' #5')
274 155 75 196 $notes{$i} and not $NOTES{$i}
137 75 18 $NOTES{$i} and not $notes{$i}

or 3 conditions

line l !l&&r !l&&!r condition
176 19 29 24 isset(3) or isset(4)
48 0 24 isset(3) or isset(4) or unset(16) and set(4)
178 12 40 20 isset(6) or isset(7)
52 14 6 isset(6) or isset(7) or isset(8)
54 0 6 isset(6) or isset(7) or isset(8) or unset(19) and set(7)
0 0 6 isset(6) or isset(7) or isset(8) or unset(19) and set(7) or unset(18) and set(6)
180 42 17 13 isset(10) or isset(11)
59 0 13 isset(10) or isset(11) or unset(22) and set(10)
199 0 0 72 $D || lower_octave_is(0, 3, 6, 10)
200 0 2 70 $D || lower_octave_is(0, 3, 6)
202 2 30 40 $D or unset(4)
32 0 40 $D or unset(4) or unset(3) and app('m')
19 0 21 $D or unset(4) or unset(3) and app('m') or unset(5) and app(' sus')
12 0 9 $D or unset(4) or unset(3) and app('m') or unset(5) and app(' sus') or unset(2) and app(' sus2')
209 2 0 70 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13')
0 0 70 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11')
2 0 68 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11')
0 0 68 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11') or unset(14, 10) and app('9')
3 0 65 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11') or unset(14, 10) and app('9') or unset(14, 11) and app('maj9')
4 0 61 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11') or unset(14, 10) and app('9') or unset(14, 11) and app('maj9') or unset(10) and app('7')
35 0 26 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11') or unset(14, 10) and app('9') or unset(14, 11) and app('maj9') or unset(10) and app('7') or unset(11) and app('maj7')
13 0 13 unset(21, 17, 14, 10) and app('13') or unset(21, 17, 14, 11) and app('maj13') or unset(17, 14, 10) and app('11') or unset(17, 14, 11) and app('maj11') or unset(14, 10) and app('9') or unset(14, 11) and app('maj9') or unset(10) and app('7') or unset(11) and app('maj7') or unset(9, 14) and app('6/9')
220 2 41 29 $D or unset(7)
43 0 29 $D or unset(7) or unset(6) and app(' b5')
9 0 20 $D or unset(7) or unset(6) and app(' b5') or unset(8) and app(' #5')
226 2 16 54 $D or unset(0)
274 196 0 230 $notes{$i} and not $NOTES{$i} or $NOTES{$i} and not $notes{$i}