Condition Coverage

blib/lib/ChordPro/Output/MMA.pm
Criterion Covered Total %
condition 37 80 46.2


and 3 conditions

line !l l&&!r l&&r condition
40 0 0 14 defined $meta and defined $s->{'meta'}{$meta}
97 5 1 1 $q == 8 && $decoda
144 9 3 9 $decoda and $q == 4
168 49 0 7 $a[0] eq "." and $a[1] eq "."
331 0 0 0 $elt->{'chords'} && join('', @{$elt->{'chords'};}) =~ /\S/
0 0 0 $single_space and not $elt->{'chords'} && join('', @{$elt->{'chords'};}) =~ /\S/
403 62 25 1 $a0 ne "." and $a1 ne "."
404 0 0 1 @a > 1 and $a[0] eq "."
0 0 1 @a > 1 and $a[0] eq "." and $a[1] eq "."
421 26 61 1 $a0 eq "." and $a1 ne "."
429 0 1 0 @a > 1 and is_bar($a[0])
1 0 0 @a > 1 and is_bar($a[0]) and $a[1] eq "."
0 1 0 @a > 0 and $a[0] eq "."
482 0 0 0 $bpm == 3 and $q == 4
0 0 0 $bpm == 3 and $q == 8
0 0 0 $bpm == 6 and $q == 8

or 2 conditions

line l !l condition
63 0 7 $main::options->{'backend-option'}{'structure'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
57 4 0 3 $main::options->{'backend-option'}{'decoda'} || $main::options->{'backend-option'}{'deCoda'}
188 7 7 42 $prev eq $c or $st == 1
369 0 0 102 $_ eq "|:" or $_ eq "{"
0 0 102 $_ eq "|:" or $_ eq "{" or $_ eq ":|"
0 0 102 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}"
0 0 102 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}" or $_ eq ":|:"
0 0 102 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}" or $_ eq ":|:" or $_ eq "}{"
0 101 1 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}" or $_ eq ":|:" or $_ eq "}{" or $_ eq "|"
101 0 1 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}" or $_ eq ":|:" or $_ eq "}{" or $_ eq "|" or $_ eq "||"
101 0 1 $_ eq "|:" or $_ eq "{" or $_ eq ":|" or $_ eq "}" or $_ eq ":|:" or $_ eq "}{" or $_ eq "|" or $_ eq "||" or $_ eq "|."