Condition Coverage

blib/lib/Imager/Filter/Autocrop.pm
Criterion Covered Total %
condition 23 38 60.5


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 2 $detect and ref $detect eq 'HASH'
169 5414 990 28 defined $left and $pos >= $left
175 132 990 26 defined $right and $rpos <= $right

or 2 conditions

line l !l condition
193 1 1 $type || 'autocrop'

or 3 conditions

line l !l&&r !l&&!r condition
90 0 0 2 $color ||= $params{'colour'}
146 0 0 2 not defined $left or $pos < $left
147 0 0 2 not defined $right or $rpos > $right
152 0 0 4 not defined $left or $pos < $left
153 0 0 4 not defined $right or $rpos > $right
169 6 0 6432 $outline or defined $left and $pos >= $left
175 8 0 1148 $routline or defined $right and $rpos <= $right
178 6 2 92 $outline || $routline
184 14 0 22740 $scanned->[$_] < $range->[$_][0] or $scanned->[$_] > $range->[$_][1]