| blib/lib/Router/Generic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 29 | 62.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 43 | 0 | 0 | 1046 | defined $args{'path'} and length $args{'path'} |
| 46 | 0 | 0 | 1046 | defined $args{'target'} and length $args{'target'} |
| 49 | 0 | 0 | 1046 | defined $args{'name'} and length $args{'name'} |
| 308 | 3 | 2 | 1034 | defined $$args{$_} and length $$args{$_} |
| 320 | 2 | 2 | 1036 | defined $$args{$_} and length $$args{$_} |
| line | l | !l | condition |
|---|---|---|---|
| 36 | 10 | 1036 | $args{'method'} ||= '*' |
| 62 | 20 | 1021 | $args{'defaults'} ||= {} |
| 205 | 1 | 2041 | $method ||= '*' |
| 336 | 0 | 0 | $method ||= '*' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 223 | 1000150 | 2 | 3 | $method eq '*' or $$_{'method'} eq $method |
| 342 | 0 | 0 | 0 | $method eq '*' or $$_{'method'} eq $method |