| blib/lib/Router/Boom.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 26 | 96.1 |
| line | true | false | branch |
|---|---|---|---|
| 55 | 10 | 23 | if (defined $1) { } |
| 5 | 18 | elsif (defined $2) { } | |
| 1 | 17 | elsif (defined $3) { } | |
| 57 | 1 | 9 | if (defined $pattern and _is_normal_capture($pattern)) |
| 61 | 5 | 4 | $pattern ? : |
| 97 | 1 | 22 | if $path eq '' |
| 99 | 21 | 2 | if ($path =~ $self->regexp) { } |
| 111 | 4 | 20 | unless (exists $$self{'regexp'}) |
| 125 | 11 | 19 | if ($key =~ /\(/) |
| 130 | 18 | 12 | if (@{$node->children;} > 0) |
| 133 | 17 | 13 | if ($node->leaf) |
| 138 | 0 | 30 | if (@re == 0) { } |
| 23 | 7 | elsif (@re == 1) { } |