Condition Coverage

blib/lib/JSON/Schema/Draft201909.pm
Criterion Covered Total %
condition 26 30 86.6


and 3 conditions

line !l l&&!r l&&r condition
100 1 0 1 defined $schema and defined wantarray
397 9726 2405 1420 not $valid and $state->{'short_circuit'}
547 31 58 260 length $document_path and path($_->[1]{'path'})->subsumes($document_path)

or 2 conditions

line l !l condition
177 4736 1 $config_override->{'initial_schema_uri'} // ''
196 1 4736 $config_override->{'callbacks'} // {}
543 606 490 $fragment // ''

or 3 conditions

line l !l&&r !l&&!r condition
118 1 4639 0 $document->_serialized_schema // $document->_serialized_schema($self->_json_decoder->encode($document->schema))
122 39982 14 0 $_->_serialized_schema // $_->_serialized_schema($self->_json_decoder->encode($_->schema))
294 2 11 2492 $config_override->{'collect_annotations'} // $self->collect_annotations
368 133 0 138 $schema || E($state, 'subschema is false')
540 708 391 40 not length $fragment or $fragment =~ m[^/]u