Condition Coverage

blib/lib/Math/MagicSquare/Generator.pm
Criterion Covered Total %
condition 5 15 33.3


and 3 conditions

line !l l&&!r l&&r condition
19 0 0 20 $opt{'size'} > 0 and $opt{'size'} % 2
0 0 20 $opt{'size'} > 0 and $opt{'size'} % 2 and $opt{'size'} == int $opt{'size'}
88 0 0 0 length $_ > $max and $max = length $_

or 2 conditions

line l !l condition
16 20 0 $opt{'size'} ||= 5
17 0 20 $opt{'start'} ||= 1
18 0 20 $opt{'step'} ||= 1