Condition Coverage

blib/lib/JSON/Schema/Fit.pm
Criterion Covered Total %
condition 26 33 78.7


and 3 conditions

line !l l&&!r l&&r condition
116 11 2 3 exists $schema->{'maximum'} and $result > $schema->{'maximum'}
117 13 2 1 exists $schema->{'minimum'} and $result < $schema->{'minimum'}
158 2 1 8 $self->hash_keys and exists $schema->{'additionalProperties'}
1 0 8 $self->hash_keys and exists $schema->{'additionalProperties'} and not $schema->{'additionalProperties'}
167 12 29 8 $keys_re and not $key =~ /$keys_re/x
170 38 3 0 !$subschema && &first(sub { $key =~ /$_/x; } , keys %$p_properties)

or 2 conditions

line l !l condition
155 11 0 $schema->{'properties'} || {}
156 0 11 $schema->{'patternProperties'} || {}
183 0 44 $path //= '$'

or 3 conditions

line l !l&&r !l&&!r condition
61 85 39 5 $self->{$attr} //= $valid_option{$attr}
69 3 0 63 not ref $schema or &reftype($schema) ne 'HASH'
111 15 0 9 $schema->{'multipleOf'} || $schema->{'divisibleBy'}