Condition Coverage

blib/lib/MIDI/Segment.pm
Criterion Covered Total %
condition 15 17 88.2


and 3 conditions

line !l l&&!r l&&r condition
35 22 0 15 $event->[0] eq "note_on" and $event->[4] > 0
22 5 10 $event->[0] eq "note_on" and $event->[4] > 0 and $when > $onsets[-1]
51 1 3 1 $last->[1] == 0 and $last->[0] eq "note_on"
4 0 1 $last->[1] == 0 and $last->[0] eq "note_on" and $last->[4] > 0

or 2 conditions

line l !l condition
140 4 1 $links->[$tidx]{$window} // die("no onset at $window track $tidx")

or 3 conditions

line l !l&&r !l&&!r condition
112 1 1 2 $self->{'vague'} or $self->{'ragged'}