| blib/lib/Router/Pygmy/Route.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 16 | 17 | if ($is_arg) { } |
| 59 | 1 | 12 | !ref($_[0]) ? : |
| 0 | 13 | !(@_ && defined $_[0]) ? : | |
| 66 | 7 | 6 | if (ref $args eq 'ARRAY') { } |
| 6 | 0 | elsif (ref $args eq 'HASH') { } | |
| 69 | 4 | 3 | unless @$args == @$arg_names |
| 84 | 4 | 2 | unless keys %$args == @$arg_names and not grep({not exists $args->{$_};} @$arg_names) |