| blib/lib/REST/Cot/Generators.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 20 | 45.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 147 | 59 | unless $self->{'parent'} |
| 25 | 0 | 146 | unless ref $self->{'progenitor'}->() |
| 26 | 124 | 22 | if $path |
| 30 | 7 | 15 | @{$self->{'args'};} ? : |
| 40 | 51 | 133 | if ($self->{'parent'}{'merged_query'}) { } |
| 70 | 0 | 0 | if (my $content_type = $response->responseHeader('Content-Type')) { } |
| 77 | 0 | 0 | if ($type eq 'application') { } |
| 80 | 0 | 0 | if $subtype eq 'json' |
| 83 | 0 | 0 | if $subtype eq 'xml' |
| 86 | 0 | 0 | !wantarray ? : |