Condition Coverage

blib/lib/ChordPro/Testing.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
37 13 0 65 ref $got eq "HASH" and ref $expect eq "HASH"
102 0 0 0 $len1 == $len2 and $len1 == 0
103 0 0 0 $len1 and $buf1 ne $buf2

or 2 conditions

line l !l condition
127 0 0 $lines1[$linesm] // "***missing***"
128 0 0 $lines2[$linesm] // "***missing***"
136 37 0 $s->{'body'} // []
137 41 117 $_->{'chords'} // []
140 14 144 $_->{'chorus'} // []
141 14 14 $_->{'chords'} // []
145 8 150 $_->{'tokens'} // []

or 3 conditions

line l !l&&r !l&&!r condition
44 29 5 29 %{$got->{'chordsinfo'};} || $expect->{'chordsinfo'}
103 0 0 0 $len1 != $len2 or $len1 and $buf1 ne $buf2