Condition Coverage

blib/lib/MIDI/Tools.pm
Criterion Covered Total %
condition 56 75 74.6


and 3 conditions

line !l l&&!r l&&r condition
70 1 9 0 defined $e and ref $e
75 5 4 9 ref $_ and $#{$_;} >= 4
9 1 8 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on'
5 4 4 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on' and $$_[4] > 0
91 1 9 0 defined $e and ref $e
95 5 4 9 ref $_ and $#{$_;} >= 4
9 1 8 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on'
5 4 4 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on' and $$_[4] > 0
115 1 9 0 defined $e and ref $e
119 5 4 17 ref $_ and $#{$_;} >= 4
9 1 16 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on'
5 8 8 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on' and $$_[4] > 0
130 0 1 15 ref $_ and $#{$_;} >= 4
1 0 15 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on'
1 7 8 ref $_ and $#{$_;} >= 4 and $$_[0] eq 'note_on' and $$_[4] > 0
154 0 3 0 defined $e and ref $e
158 0 1 8 ref $_ and $#{$_;} >= 4
1 0 8 ref $_ and $#{$_;} >= 4 and $$_[0] =~ /^note_o(n|ff)$/
1 8 0 ref $_ and $#{$_;} >= 4 and $$_[0] =~ /^note_o(n|ff)$/ and $$_[3] < $lowest || $$_[3] > $highest
179 0 9 0 defined $e and ref $e
183 0 0 9 ref $_ and $#{$_;} >= 4
0 0 9 ref $_ and $#{$_;} >= 4 and $$_[0] =~ /^note_o(n|ff)$/

or 3 conditions

line l !l&&r !l&&!r condition
96 2 0 2 not defined $lo or $$_[3] < $lo
97 2 2 0 not defined $hi or $$_[3] > $hi
158 0 3 5 $$_[3] < $lowest || $$_[3] > $highest