Condition Coverage

blib/lib/JSONSchema/Validator/Constraints/Draft4.pm
Criterion Covered Total %
condition 19 33 57.5


and 3 conditions

line !l l&&!r l&&r condition
299 71 28 136 $schema->{'properties'} and exists $schema->{'properties'}{$p}
300 79 8 12 $patterns and $p =~ /$patterns/u
432 0 0 593 defined $e and defined $instance

or 2 conditions

line l !l condition
60 321 0 $params{'strict'} // 1
251 10 0 $schema->{'items'} // {}
295 79 58 $schema->{'patternProperties'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
80 1768 1458 1059 $_[3] // $_[0]->strict
432 0 0 597 $self->check_type($e, "object", 1) or $self->check_type($e, "array", 1)
0 0 0 defined $e || defined $instance
437 0 0 0 $self->check_type($instance, 'object') || $self->check_type($instance, 'array')
543 0 2 3 $div == "Inf" or int $div != $div
653 4 0 40 $type eq "object" or $type eq "array"