| blib/lib/Imager/Filter/Autocrop.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 56 | 51.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 119 | 0 | 0 | 2 | $detect and ref $detect eq 'HASH' |
| 150 | 0 | 0 | 2 | defined $left and defined $right |
| 0 | 2 | 0 | defined $left and defined $right and $left == 0 | |
| 2 | 0 | 0 | defined $left and defined $right and $left == 0 and $right == $rpoint | |
| 156 | 0 | 0 | 4 | defined $left and defined $right |
| 0 | 4 | 0 | defined $left and defined $right and $left == 0 | |
| 4 | 0 | 0 | defined $left and defined $right and $left == 0 and $right == $rpoint | |
| 173 | 5414 | 990 | 28 | defined $left and $pos >= $left |
| 179 | 132 | 990 | 26 | defined $right and $rpos <= $right |
| line | l | !l | condition |
|---|---|---|---|
| 197 | 1 | 1 | $type || 'autocrop' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 90 | 0 | 0 | 2 | $color ||= $params{'colour'} |
| 147 | 0 | 0 | 2 | not defined $left or $pos < $left |
| 148 | 0 | 0 | 2 | not defined $right or $rpos > $right |
| 154 | 0 | 0 | 4 | not defined $left or $pos < $left |
| 155 | 0 | 0 | 4 | not defined $right or $rpos > $right |
| 173 | 6 | 0 | 6432 | $outline or defined $left and $pos >= $left |
| 179 | 8 | 0 | 1148 | $routline or defined $right and $rpos <= $right |
| 182 | 6 | 2 | 92 | $outline || $routline |
| 188 | 14 | 0 | 22740 | $scanned->[$_] < $range->[$_][0] or $scanned->[$_] > $range->[$_][1] |