Condition Coverage

blib/lib/ChordPro/A2Crd.pm
Criterion Covered Total %
condition 24 62 38.7


and 3 conditions

line !l l&&!r l&&r condition
563 0 1 18 $infer_titles and $map =~ s/^l//u
586 315 11 5 $1 eq "c" and $2 eq "l"
589 254 62 6 $1 eq 'c' || $1 eq 'l' and $3 eq "t"
840 0 0 0 $ENV{'HOME'} and -d $ENV{'HOME'}
852 0 0 0 -s $e and -r _

or 2 conditions

line l !l condition
851 0 0 $e ||= "/chordrc"

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)
479 6 2 322 $n_dash == $n_nonblank_chars or $n_equal == $n_nonblank_chars
544 18 1 0 $infer_titles //= $main::config->{'a2crd'}{'infer-titles'}
589 7 61 254 $1 eq 'c' || $1 eq 'l'
596 55 4 257 $1 eq "l" or $1 eq "C"
839 0 0 0 $ENV{'CHORDIIRC'} || $ENV{'CHORDRC'}
849 0 0 0 $e ||= "File::Spec"->catfile($ENV{'HOME'}, ".chordrc")
926 0 0 0 $ident or $help
0 0 0 $ident or $help or $manual
927 0 0 0 $manual or $help
953 0 0 0 -r $c or $c =~ m[[/.]]u
981 0 0 0 $defcfg or $fincfg