Condition Coverage

lib/ChordPro/A2Crd.pm
Criterion Covered Total %
condition 23 45 51.1


and 3 conditions

line !l l&&!r l&&r condition
543 0 0 19 $main::config->{'a2crd'}{'infer-titles'} && !$main::options->{'fragment'}
562 0 1 18 $infer_titles and $map =~ s/^l//u
585 316 11 5 $1 eq "c" and $2 eq "l"
588 255 62 6 $1 eq 'c' || $1 eq 'l' and $3 eq "t"

or 3 conditions

line l !l&&r !l&&!r condition
119 30 1 0 $tabstop //= $main::config->{'a2crd'}{'tabstop'}
295 38 0 0 $any_chord_ok or generic_parse_chord($cname)
312 32 0 0 $any_chord_ok or generic_parse_chord($1)
328 384 0 0 $any_chord_ok or generic_parse_chord($1)
478 6 2 322 $n_dash == $n_nonblank_chars or $n_equal == $n_nonblank_chars
588 7 61 255 $1 eq 'c' || $1 eq 'l'
595 55 4 258 $1 eq "l" or $1 eq "C"
900 0 0 0 $ident or $help
0 0 0 $ident or $help or $manual
901 0 0 0 $manual or $help
951 0 0 0 $defcfg or $fincfg