| lib/Dancer/Plugin/Swagger/Path.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 26 | 38.4 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 8 | unless eval { |
| 52 | 0 | 0 | unless $self->parameters |
| 0 | 0 | unless $p | |
| 71 | 0 | 8 | if $doc->{'paths'}{$path}{$method} |
| 75 | 2 | 6 | if $self->has_description |
| 76 | 4 | 4 | if $self->has_parameters |
| 77 | 0 | 8 | if $self->has_tags |
| 79 | 1 | 7 | if ($self->has_responses) |
| 85 | 0 | 1 | if (my $example = delete $r->{'example'}) |
| 88 | 0 | 0 | if &none(sub { |
| 102 | 0 | 0 | unless $schema or not $strict |
| 105 | 0 | 0 | unless $schema |
| 116 | 0 | 0 | unless $result |