Condition Coverage

lib/ChordPro/Output/Text.pm
Criterion Covered Total %
condition 9 14 64.2


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 0 $rechorus->{'type'} and $rechorus->{'tag'}
232 8 0 27 $elt->{'chords'} && join('', map({$_ ? $_->key : '';} @{$$elt{'chords'};})) =~ /\S/
35 27 8 $single_space and not $elt->{'chords'} && join('', map({$_ ? $_->key : '';} @{$$elt{'chords'};})) =~ /\S/

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
232 35 8 62 $lyrics_only or $single_space and not $elt->{'chords'} && join('', map({$_ ? $_->key : '';} @{$$elt{'chords'};})) =~ /\S/