| blib/lib/Mojolicious/Plugin/Localize/Quantify.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 21 | 76.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 23 | 0 | 9 | 35 | $_[-1] and ref $_[-1] |
| 9 | 0 | 35 | $_[-1] and ref $_[-1] and ref $_[-1] eq "HASH" | |
| 27 | 35 | 9 | 0 | not $param and @_ == 0 |
| 57 | 4 | 9 | 8 | $num >= $2 and $num <= $3 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 33 | 9 | 34 | 1 | shift() // $default |
| 73 | 9 | 0 | 7 | $num > 1 or $num < -1 |
| 74 | 3 | 6 | 0 | $default_pl // $default |