Condition Coverage

blib/lib/ChordPro/Output/ChordPro.pm
Criterion Covered Total %
condition 14 35 40.0


and 3 conditions

line !l l&&!r l&&r condition
133 0 26 0 @{$s->{'body'};} and $s->{'body'}[-1]{'type'} eq "diagrams"
26 0 0 @{$s->{'body'};} and $s->{'body'}[-1]{'type'} eq "diagrams" and $s->{'body'}[-1]{'origin'} ne "__CLI__"
162 12 10 5 $info->{'fingers'} and @{$info->{'fingers'};}
165 16 11 0 $info->{'keys'} and @{$info->{'keys'};}
187 2 0 24 $s->{'chords'} and $variant ne "msp"
301 0 0 0 $rechorus->{'type'} and $rechorus->{'tag'}
353 0 0 0 $msp and not $uri =~ /^id=/

or 2 conditions

line l !l condition
60 0 26 $main::options->{'backend-option'}{'structure'} // ""
62 0 26 $main::options->{'backend-option'}{'variant'} || 'cho'
83 0 0 $s->{'meta'}{'source'} //= ["Lead Sheet"]
84 0 0 $s->{'meta'}{'custom2'} //= [$seq]

or 3 conditions

line l !l&&r !l&&!r condition
354 0 0 0 $imgs{$uri} //= keys %imgs
461 24 16 79 $lyrics_only or not exists $elt->{'chords'}