| blib/lib/Test/Mojo/Role/OpenAPI/Modern.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 29 | 51.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 62 | 4 | 0 | 0 | not $self->success and $self->test_openapi_verbose |
| 68 | 5 | 0 | 0 | not $self->success and $self->test_openapi_verbose |
| 75 | 1 | 0 | 5 | $expected_error and not $result->valid |
| 88 | 6 | 0 | 0 | not $self->success and $self->test_openapi_verbose |
| 95 | 1 | 0 | 2 | $expected_error and not $result->valid |
| 103 | 3 | 0 | 0 | not $self->success and $self->test_openapi_verbose |
| line | l | !l | condition |
|---|---|---|---|
| 76 | 0 | 5 | $desc //= "request validation error matches" |
| 85 | 0 | 1 | $desc // "request is not valid" |
| 96 | 1 | 1 | $desc // "response validation error matches" |
| 100 | 0 | 1 | $desc // "response is not valid" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 138 | 1 | 2 | 0 | $desc // 'operation_id is ' . $operation_id |