| blib/lib/JSON/Schema/Modern/Result.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 35 | 57.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 96 | 1 | 7403 | 15 | $formatted_annotations && $self->annotation_count |
| 105 | 0 | 0 | 0 | $formatted_annotations && $self->annotation_count |
| 141 | 0 | 0 | 0 | $formatted_annotations && $self->annotation_count |
| 165 | 2 | 0 | 1 | $self->valid && $other->valid |
| line | l | !l | condition |
|---|---|---|---|
| 64 | 11707 | 7261 | $_[0]{'errors'} // [] |
| 65 | 5964 | 0 | $_[0]{'errors'} // [] |
| 66 | 21 | 3 | $_[0]{'annotations'} // [] |
| 67 | 17 | 7401 | $_[0]{'annotations'} // [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 85 | 7380 | 5961 | 0 | $self->valid || $self->error_count |
| 89 | 0 | 13389 | 1 | $formatted_annotations //= $self->formatted_annotations |
| 117 | 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') |
| 138 | 0 | 2 | 0 | $self->valid or @errors |
| 165 | 3 | 0 | 0 | $self->formatted_annotations || $other->formatted_annotations |