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
113 17 0 1 exists $$options_r{'events_r'} and not exists $$options_r{'events'}
121 15 0 3 defined $$options_r{'events'} && ref $$options_r{'events'} eq 'ARRAY'
377 2 0 0 exists $$track{'data'} and defined $$track{'data'}
382 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'}
418 0 0 15 $type eq 'MTrk' and not $$options_r{'no_parse'}

or 3 conditions

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