| blib/lib/JSON/Schema/Modern/Result.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 42 | 57.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 158 | 1 | 14303 | 25 | $formatted_annotations && $self->annotation_count |
| 11419 | 14320 | 9 | $self->valid && $self->defaults | |
| 168 | 0 | 0 | 0 | $formatted_annotations && $self->annotation_count |
| 204 | 0 | 0 | 0 | $formatted_annotations && $self->annotation_count |
| 229 | 2 | 2 | 2 | $self->valid && $other->valid |
| line | l | !l | condition |
|---|---|---|---|
| 82 | 0 | 3 | $_[0]{"_errors"} // [] |
| 6 | 0 | $_[0]{"errors"} // [] | |
| 84 | 24 | 14303 | $_[0]{"_annotations"} // [] |
| 6 | 14322 | $_[0]{"annotations"} // [] | |
| 229 | 3 | 0 | $self->defaults // {} |
| 3 | 0 | $other->defaults // {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 151 | 0 | 25754 | 0 | $formatted_annotations //= $self->formatted_annotations |
| 180 | 0 | 17 | 12 | !$keyword || !grep(($keyword eq $_), ('allOf', 'anyOf', 'if', 'then', 'else', 'dependentSchemas', 'contains', 'propertyNames')) && ($keyword ne 'oneOf' || $error ne 'no subschemas are valid') && ($keyword ne 'prefixItems' || $error eq 'item not permitted') && ($keyword ne 'items' || $error eq 'item not permitted' || $error eq 'additional item not permitted') && ($keyword ne 'additionalItems' || $error eq 'additional item not permitted') && (!grep(($keyword eq $_), ('properties', 'patternProperties')) || $error eq 'property not permitted') && ($keyword ne 'additionalProperties' || $error eq 'additional property not permitted') && ($keyword ne 'dependentRequired' || $error ne 'not all dependencies are satisfied') |
| 201 | 0 | 2 | 0 | $self->valid or @errors |
| 229 | 6 | 0 | 0 | $self->formatted_annotations || $other->formatted_annotations |
| 3 | 0 | 3 | $self->defaults || $other->defaults |