Condition Coverage

blib/lib/MIDI/Tweaks.pm
Criterion Covered Total %
condition 44 71 61.9


and 3 conditions

line !l l&&!r l&&r condition
145 137 25 2158 $$e[0] eq 'note_on' and not $$e[4]
660 0 0 72 $_[0][3] >= 0 and $_[0][3] <= 127
719 0 0 2 $value >= 0 and $value <= 127
814 0 0 0 $value >= 0 and $value <= 127
819 0 0 0 $_[0][0] eq 'control_change' and $_[0][3] == 7
828 27 2 1 $_[0][0] eq 'control_change' and $_[0][3] == 7
874 0 0 1 $split >= 0 and $split <= 127
963 18 2 50 is_note_event($this_event) and @events
20 16 34 is_note_event($this_event) and @events and &$eqtimes($this_event, $next_event)
971 24 0 10 is_note_on($this_event) and is_note_on($next_event)
0 14 10 is_note_off($this_event) and is_note_off($next_event)
1058 0 0 77 @hi == @md and @md == @lo
1068 30 0 30 is_note_on($this_event) and @events
30 19 11 is_note_on($this_event) and @events and is_note_on($next_event)
19 0 11 is_note_on($this_event) and @events and is_note_on($next_event) and &$eqtimes($this_event, $next_event)
19 2 28 is_note_off($this_event) and @events
21 17 11 is_note_off($this_event) and @events and is_note_off($next_event)
19 0 11 is_note_off($this_event) and @events and is_note_off($next_event) and &$eqtimes($this_event, $next_event)
1071 8 0 3 is_note_on($events[1]) and &$eqtimes($this_event, $events[1])
1101 8 0 3 is_note_off($events[1]) and &$eqtimes($this_event, $events[1])

or 2 conditions

line l !l condition
255 24 0 $args ||= {}
419 0 0 $$options_r{'delimiter'} || "\t"
865 1 0 $args ||= {}
870 0 1 my $split ||= 56

or 3 conditions

line l !l&&r !l&&!r condition
971 10 0 24 is_note_on($this_event) and is_note_on($next_event) or is_note_off($this_event) and is_note_off($next_event)