Condition Coverage

lib/ChordPro/Utils.pm
Criterion Covered Total %
condition 15 49 30.6


and 3 conditions

line !l l&&!r l&&r condition
29 90 0 0 is_msw() && $] < 5.016
130 39 0 30 $kdef and not $line =~ /^\w+=(?:['"]|[-+]?\d|\w)/u
472 0 46 0 defined $key and defined $value
499 0 0 0 $size and $size =~ /^([.\d]+)(%|e[mx]|p[tx])$/u
515 0 0 0 $ref = $sz{'fsize'} and $size =~ /^([.\d]+)(%|e[mx])$/u
521 0 0 0 $ref = $sz{'width'} and $size =~ /^([.\d]+)(%)$/u

or 2 conditions

line l !l condition
83 0 0 $_->{'flags'} // "g"
247 0 0 pop() // ""
299 0 142 $ENV{'CHORDPRO_JSON_RELAXED'} // 2
322 160 0 $cfg //= {}
491 0 0 $n || 'no'

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 not defined $expanded or $expanded eq $first
144 0 0 0 $esc{$1} // $1
200 8 0 632 not defined $arg or $arg eq ""
230 3 6 2 /[\\\s]/u or $force
331 2 50 1 ref $value || !($value =~ /[\[\{\]\}]/u)
476 46 0 0 defined $key || @rest
490 0 0 0 $plural //= $tag . 's'