| blib/lib/Kelp/Routes/Controller.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 8 | 0 | 6 | unless my $app = shift() |
| 9 | 0 | 6 | unless my $match = shift() |
| 11 | 0 | 6 | unless my $to = $match->to |
| 13 | 1 | 5 | if ref $to |
| 15 | 0 | 5 | unless my($controller_class, $action) = $to =~ /^(.+)::(\w+)$/ |