blib/lib/Amon2/Web/Dispatcher/RouterSimple/Extended.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
45 | 1 | 1 | if ($submap) { } |
57 | 0 | 5 | if ($submap) { } |
58 | 0 | 0 | if (@_ >= 2 and not ref $_[1]) { } |
66 | 3 | 2 | if (@_ >= 2 and not ref $_[1]) { } |
70 | 2 | 1 | if defined $action |
81 | 1 | 1 | if ($_[2] and ref $_[2] eq 'CODE') { } |
95 | 7 | 0 | if (my $p = $class->match($req->env)) { } |