blib/lib/Plack/App/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
18 | 1 | 6 | unless ($self->can($method)) |
29 | 0 | 6 | if exists $$env{'parsecontent.data'} |
35 | 2 | 4 | if (my $e = 'HTTP::Exception'->caught) { } |
1 | 3 | elsif ($@) { } | |
40 | 0 | 2 | if ($code =~ /^3/ and my $loc = eval { do { $e->location } }) |
58 | 3 | 3 | if not $p or $p eq '/' |