blib/lib/Math/FitRect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
91 | 4 | 4 | if ($type eq 'crop') |
93 | 2 | 6 | if ($$from{'r'} < $$to{'r'}) { } |
111 | 8 | 8 | if (not ref $rect) { } |
0 | 8 | elsif (ref $rect eq 'HASH') { } | |
8 | 0 | elsif (@$rect == 2) { } | |
0 | 0 | elsif (@$rect == 4) { } | |
120 | 0 | 0 | if ($$rect[0] < $$rect[2]) { } |
122 | 0 | 0 | if ($$rect[1] < $$rect[3]) { } |