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
147 137 25 2158 $e->[0] eq 'note_on' and not $e->[4]
662 0 0 72 $_[0][3] >= 0 and $_[0][3] <= 127
721 0 0 2 $value >= 0 and $value <= 127
816 0 0 0 $value >= 0 and $value <= 127
821 0 0 0 $_[0][0] eq 'control_change' and $_[0][3] == 7
830 27 2 1 $_[0][0] eq 'control_change' and $_[0][3] == 7
876 0 0 1 $split >= 0 and $split <= 127
965 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)
973 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)
1060 0 0 77 @hi == @md and @md == @lo
1070 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)
1073 8 0 3 is_note_on($events[1]) and &$eqtimes($this_event, $events[1])
1103 8 0 3 is_note_off($events[1]) and &$eqtimes($this_event, $events[1])

or 2 conditions

line l !l condition
257 24 0 $args ||= {}
421 0 0 $options_r->{'delimiter'} || "\t"
867 1 0 $args ||= {}
872 0 1 my $split ||= 56

or 3 conditions

line l !l&&r !l&&!r condition
973 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)