Condition Coverage

blib/lib/Data/iRealPro/Output/MMA.pm
Criterion Covered Total %
condition 39 67 58.2


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 0 $outdir and not $outdir =~ m[/$]
190 2 1 2 $in_intro and $type ne 'i'
2 1 0 $type eq 'coda' and not $has_jumps
204 1 3 1 $has_jumps and $type eq 'coda'
273 0 0 0 $n and $n ne '2'
321 2 4 5 $section and @{$section->{'tokens'};}
337 138 0 4 $t eq 'start repeat' and $$tokens[$tp + 1] =~ /^mark/
138 3 1 $t eq 'start repeat' and $$tokens[$tp + 1] =~ /^mark/ and @{$section->{'tokens'};}
456 4 0 1 $1 > $alternatives + 1 and defined $lastalternative
487 5 10 39 $measure and @{$measure->{'content'};}
515 0 0 1 @{$section->{'content'};} == 0 and @{$measure->{'content'};} == 0

or 2 conditions

line l !l condition
50 2 0 $options->{'output'} || '__new__.mma'
57 0 0 $song->{'key'} // 'C'
79 0 0 $self->{'dir'} || ''
88 0 0 $song->{'key'} // 'C'
132 2 0 $song->{'actual_tempo'} || 120
167 1 1 $song->{'actual_repeats'} || 3
426 0 1 $repeatpending //= 2
440 1 0 $repeatpending //= 2

or 3 conditions

line l !l&&r !l&&!r condition
50 0 2 0 $self->{'output'} ||= $options->{'output'} || '__new__.mma'
203 2 3 0 $stype{$type} // $type
352 0 0 138 $t eq 'small' or $t eq 'large'
421 6 5 118 $t eq 'end repeat' or $t =~ /^alternative /
534 31 13 86 $t eq 'bar' or $t =~ /^repeat/
569 0 0 4 $t eq 'small' or $t eq 'large'