| blib/lib/Modern/OpenAPI/Generator/CodeGen/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 22 | 54.5 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 3 | 0 | if $sync |
| 30 | 3 | 0 | if $async |
| 48 | 0 | 3 | unless my $ref = $op->{'response_schema_ref'} |
| 49 | 0 | 3 | unless my($name) = $ref =~ m[\#/components/schemas/([^/]+)\z]u |
| 51 | 0 | 3 | unless ref $sch eq "HASH" |
| 52 | 0 | 3 | if $sch->{'allOf'} or $sch->{'oneOf'} or $sch->{'anyOf'} |
| 53 | 0 | 3 | unless ($sch->{'type'} // "") eq "object" and ref $sch->{'properties'} eq "HASH" |
| 74 | 0 | 3 | $op->{'has_body'} ? : |
| 0 | 3 | $op->{'response_is_array'} ? : | |
| 89 | 1 | 2 | if ($hmac_use) { } |
| 0 | 2 | elsif ($bearer_use) { } |