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
41 31 0 107 ref $got eq "HASH" and ref $expect eq "HASH"
108 0 0 0 $len1 == $len2 and $len1 == 0
109 0 0 0 $len1 and $buf1 ne $buf2

or 2 conditions

line l !l condition
131 0 0 $lines1[$linesm] // "***missing***"
132 0 0 $lines2[$linesm] // "***missing***"
140 42 0 $s->{'body'} // []
141 53 160 $_->{'chords'} // []
144 14 199 $_->{'chorus'} // []
145 14 14 $_->{'chords'} // []
149 8 205 $_->{'tokens'} // []

or 3 conditions

line l !l&&r !l&&!r condition
48 32 6 51 %{$got->{'chordsinfo'};} || $expect->{'chordsinfo'}
109 0 0 0 $len1 != $len2 or $len1 and $buf1 ne $buf2