lib/APISchema/Validator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
34 | 0 | 65 | @_ == 1 && ref $_[0] eq 'HASH' ? : |
56 | 33 | 13 | if (ref $encoding_spec) |
58 | 8 | 25 | unless $encoding_spec |
64 | 2 | 36 | unless 'APISchema::Validator::Decoder'->new->can($method) |
76 | 4 | 53 | if $@ |
82 | 26 | 27 | unless $valid |
98 | 2 | 65 | unless my $route = $schema->get_route_by_name($route_name) |
104 | 19 | 46 | $target->{'status_code'} ? : |
136 | 30 | 27 | $err ? : |