Condition Coverage

blib/lib/ChordPro/Output/HTML.pm
Criterion Covered Total %
condition 18 25 72.0


and 3 conditions

line !l l&&!r l&&r condition
133 0 3 0 $e->{'type'} eq "set" and $e->{'name'} eq "label"
192 0 8 8 $elt->{'chords'} && join('', @c) =~ /\S/
16 8 8 $single_space and not $elt->{'chords'} && join('', @c) =~ /\S/

or 2 conditions

line l !l condition
19 3 0 $main::config->{'html'} // {}
20 3 0 $cfg->{'styles'}{'display'} //= "chordpro.css"
21 3 0 $cfg->{'styles'}{'print'} //= "chordpro_print.css"
60 3 0 $s->{'title'} // "Untitled"
187 24 24 $elt->{'chords'} //= [""]

or 3 conditions

line l !l&&r !l&&!r condition
146 9 3 3 $elt->{'type'} eq "comment" or $elt->{'type'} eq "comment_italic"
192 16 8 24 $lyrics_only or $single_space and not $elt->{'chords'} && join('', @c) =~ /\S/