| blib/lib/Collision/2D.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 23 | 56.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 56 | 103 | 24 | 1 | $params{'keep_order'} and $swapped |
| 158 | 0 | 0 | 31 | defined $y and defined $x |
| 173 | 0 | 0 | 31 | $w and $h |
| line | l | !l | condition |
|---|---|---|---|
| 35 | 65 | 99 | $params{'interval'} //= 1 |
| 95 | 111 | 3 | $$hash{'h'} || 1 |
| 110 | 4 | $$hash{'w'} || 1 | |
| 115 | 0 | 0 | $obj->h || 1 |
| 0 | 0 | $obj->w || 1 | |
| 127 | 47 | 6 | $$hash{'radius'} || $$hash{'r'} || 1 |
| 138 | 0 | 0 | $obj->radius || 1 |