Condition Coverage

blib/lib/YAML/PP/Schema.pm
Criterion Covered Total %
condition 30 43 69.7


and 3 conditions

line !l l&&!r l&&r condition
125 760 624 9 $i < @schemas and $schemas[$i] =~ /^[^A-Za-z]/ || $schemas[$i] =~ /^[a-zA-Z0-9]+=/
219 0 149 1394 $tag and ref $tag eq "Regexp"
253 18739 0 165 my $bool = $args{'bool'} and $] >= "5.036"
327 634 0 56 not $res and my $matches = $resolvers->{'tags'}

or 2 conditions

line l !l condition
32 0 595 $true ||= \&YAML::PP::Schema::_bool_jsonpp_true
33 0 595 $false ||= \&YAML::PP::Schema::_bool_jsonpp_false
38 0 0 $true ||= \&YAML::PP::Schema::_bool_booleanpm_true
39 0 0 $false ||= \&YAML::PP::Schema::_bool_booleanpm_false
50 595 175 $true ||= \&YAML::PP::Schema::_bool_perl_true
51 595 175 $false ||= \&YAML::PP::Schema::_bool_perl_false
172 68 613 $resolvers->{'tags'} ||= []
177 17249 3890 $resolvers->{'tag'}{$tag} ||= {}
182 20305 768 $resolvers->{'value'} ||= {}
220 168 1226 $resolvers->{$type}{'tags'} ||= []
230 0 149 $resolvers->{$type}{'tag'}{$tag} ||= {"on_create", $args{'on_create'}, "on_data", $args{'on_data'}}

or 3 conditions

line l !l&&r !l&&!r condition
26 166 2 0 $b eq "perl" or $b eq "perl_experimental"
125 5 9 619 $schemas[$i] =~ /^[^A-Za-z]/ || $schemas[$i] =~ /^[a-zA-Z0-9]+=/
150 0 0 591 $LOADED_SCHEMA{$item} ||= $class->Module::Load::load