Condition Coverage

blib/lib/MIDI/Event.pm
Criterion Covered Total %
condition 22 39 56.4


and 3 conditions

line !l l&&!r l&&r condition
840 0 1774 17 @E and $E[0] eq "end_track"
843 17 0 0 defined $options_r->{'no_eot_magic'} and $options_r->{'no_eot_magic'}
856 7 1784 0 @E and exists $exclude{$E[0]}
959 2 0 0 $last->[0] eq "text_event" and length $last->[2] == 0
1046 0 265 0 $maybe_running_status && $status == $last_status

or 3 conditions

line l !l&&r !l&&!r condition
444 0 0 0 $first_byte == 240 or $first_byte == 247
461 12 0 1690 $command == 192 or $command == 208
1002 132 132 7 $event eq "note_on" or $event eq "note_off"
264 0 7 $event eq "note_on" or $event eq "note_off" or $event eq "control_change"
132 0 7 $event eq "note_on" or $event eq "note_off" or $event eq "control_change" or $event eq "key_after_touch"
0 1 6 $event eq "note_on" or $event eq "note_off" or $event eq "control_change" or $event eq "key_after_touch" or $event eq "patch_change"
1 0 6 $event eq "note_on" or $event eq "note_off" or $event eq "control_change" or $event eq "key_after_touch" or $event eq "patch_change" or $event eq "channel_after_touch"
1 0 6 $event eq "note_on" or $event eq "note_off" or $event eq "control_change" or $event eq "key_after_touch" or $event eq "patch_change" or $event eq "channel_after_touch" or $event eq "pitch_wheel_change"