Condition Coverage

blib/lib/JSONSchema/Validator.pm
Criterion Covered Total %
condition 18 25 72.0


and 3 conditions

line !l l&&!r l&&r condition
39 11 0 14 not $schema and $resource
130 15 6 3 not $specification and $schema->{'openapi'}

or 2 conditions

line l !l condition
34 0 25 delete $params{'validate_schema'} // 1
119 200 24 $specification // ""

or 3 conditions

line l !l&&r !l&&!r condition
42 7 12 6 $specification // schema_specification($schema)
52 2 0 6 $resource || $schema->{'$id'} || $schema->{'id'}
0 9 6 $base_uri //= $resource || $schema->{'$id'} || $schema->{'id'}
91 25 0 0 $SPECIFICATIONS->{$meta_schema} // $$SPECIFICATIONS{$meta_schema . "#"}
128 9 6 0 $SPECIFICATIONS->{$meta_schema} // $$SPECIFICATIONS{$meta_schema . "#"}