Condition Coverage

blib/lib/JSON/Schema/Modern/Result.pm
Criterion Covered Total %
condition 13 27 48.1


and 3 conditions

line !l l&&!r l&&r condition
97 1 7327 15 $formatted_annotations && $self->annotation_count
106 0 0 0 $formatted_annotations && $self->annotation_count
142 0 0 0 $formatted_annotations && $self->annotation_count
166 2 0 1 $self->valid && $other->valid

or 3 conditions

line l !l&&r !l&&!r condition
86 7303 5909 0 $self->valid || $self->error_count
90 0 13261 1 $formatted_annotations //= $self->formatted_annotations
118 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')
139 0 2 0 $self->valid or @errors
166 3 0 0 $self->formatted_annotations || $other->formatted_annotations