Branch Coverage

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))
30 0 6 if exists $env->{'parsecontent.data'}
36 2 4 if (my $e = 'HTTP::Exception'->caught) { }
1 3 elsif ($@) { }
41 0 2 if ($code =~ /^3/ and my $loc = eval { do { $e->location } })
59 3 3 if not $p or $p eq '/'