Condition Coverage

blib/lib/JSON/Schema/Modern/Result.pm
Criterion Covered Total %
condition 27 45 60.0


and 3 conditions

line !l l&&!r l&&r condition
153 204 17200 10 exists $$args{"data"} and exists $$args{"defaults"}
166 1 14297 25 $formatted_annotations && $self->annotation_count
11446 14313 10 $self->valid && $self->defaults
176 0 0 0 $formatted_annotations && $self->annotation_count
212 0 0 0 $formatted_annotations && $self->annotation_count
237 2 2 2 $self->valid && $other->valid

or 2 conditions

line l !l condition
82 0 3 $_[0]{"_errors"} // []
6 0 $_[0]{"errors"} // []
84 24 14297 $_[0]{"_annotations"} // []
6 14316 $_[0]{"annotations"} // []
237 3 0 $self->defaults // {}
3 0 $other->defaults // {}

or 3 conditions

line l !l&&r !l&&!r condition
159 0 25775 0 $formatted_annotations //= $self->formatted_annotations
188 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')
209 0 2 0 $self->valid or @errors
237 6 0 0 $self->formatted_annotations || $other->formatted_annotations
3 0 3 $self->defaults || $other->defaults