blib/lib/Plack/App/Catmandu/Bag.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 12 | 50.0 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 0 | if ($self->bag->does('Catmandu::Plugin::Versioning')) |
58 | 1 | 1 | if (my $data = $self->bag->get($params->{'id'})) { } |
68 | 2 | 0 | if (my $data = $self->bag->get_history($params->{'id'})) { } |
78 | 2 | 0 | if (my $data = $self->bag->get_version($params->{'id'}, $params->{'version'})) { } |
108 | 7 | 0 | if (my $params = $router->match($env)) { } |
0 | 0 | elsif ($router->method_not_allowed) { } |