Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
74 39 2 280 $validator->using_id_with_ref and ref $schema eq "HASH"
168 2433 0 47 exists $$schema{$self->validator->ID_FIELD} and not ref $$schema{$self->validator->ID_FIELD}
172 0 0 47 $scope && $scope->as_string
179 3730 178 405 $SEARCH_ID->{'value'}{$k} and ref $schema->{$k} eq "HASH"
183 3862 162 289 $SEARCH_ID->{'arr_value'}{$k} and ref $schema->{$k} eq "ARRAY"
190 3800 0 513 $SEARCH_ID->{'kv_value'}{$k} and ref $schema->{$k} eq "HASH"
199 2433 0 47 exists $$schema{$self->validator->ID_FIELD} and not ref $$schema{$self->validator->ID_FIELD}

or 2 conditions

line l !l condition
53 321 0 $params{'base_uri'} // ""
55 321 0 $params{'scheme_handlers'} // {}