Condition Coverage

blib/lib/MIDI/Track.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
115 20 0 1 exists $options_r->{'events_r'} and not exists $options_r->{'events'}
124 18 0 3 defined $options_r->{'events'} && ref $options_r->{'events'} eq 'ARRAY'
385 2 0 0 exists $track->{'data'} and defined $track->{'data'}
390 0 0 2 $track->{'type'} eq 'MTrk' || length $track->{'type'} == 0 and defined $track->{'events'}
0 0 2 $track->{'type'} eq 'MTrk' || length $track->{'type'} == 0 and defined $track->{'events'} and ref $track->{'events'}
426 0 0 17 $type eq "MTrk" and not $options_r->{'no_parse'}

or 3 conditions

line l !l&&r !l&&!r condition
390 2 0 0 $track->{'type'} eq 'MTrk' || length $track->{'type'} == 0