blib/lib/Dancer/Route/Registry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 8 | 87.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 1 | 791 | 651 | $package and "Dancer::App"->app_exists($package) |
127 | 17 | 0 | 2 | grep {$_ eq "get";} @methods and not grep({$_ eq "head";} @methods) |
line | l | !l | condition |
---|---|---|---|
63 | 1178 | 264 | $self->{'routes'}{$route->method} ||= [] |