Condition Coverage

blib/lib/Image/Math/Constrain.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
131 5 0 1 ref $value eq 'ARRAY' and @$value == 2
247 0 1 2 $$self{'width'} && $$self{'width'} < $width
249 0 1 2 $$self{'height'} && $$self{'height'} < $height
253 2 0 1 $w_scale == 1 and $h_scale == 1

or 3 conditions

line l !l&&r !l&&!r condition
242 3 0 0 $$self{'width'} or $$self{'height'}