Condition Coverage

blib/lib/QRCode/Encoder/Matrix.pm
Criterion Covered Total %
condition 23 23 100.0


and 3 conditions

line !l l&&!r l&&r condition
207 1636 1687 27 $d < 0 and $y < 0
1687 1613 23 $d > 0 and $y >= $side_size
317 25896 10064 8680 $matrix->[$i][$j] >= 54 and &$mask($i - 4, $j - 4)

or 2 conditions

line l !l condition
382 1 3 qrspec_version_pattern($data->{'version'}) // (return)

or 3 conditions

line l !l&&r !l&&!r condition
148 4 1 8 $matrix->[$y][$x] < 52 or $matrix->[$y][$x + 4] < 52
5 1 7 $matrix->[$y][$x] < 52 or $matrix->[$y][$x + 4] < 52 or $$matrix[$y + 4][$x] < 52
284 1354 1741 23401 $count == 0 or $count == 4
336 4 4 24 not $best_matrix or $penalty < $best_penalty