Condition Coverage

blib/lib/YAML/PP/Schema.pm
Criterion Covered Total %
condition 27 44 61.3


and 3 conditions

line !l l&&!r l&&r condition
115 180 35 9 $i < @schemas and $schemas[$i] =~ /^[^A-Za-z]/ || $schemas[$i] =~ /^[a-zA-Z0-9]+=/
207 0 143 136 $tag and ref $tag eq "Regexp"
242 31 0 0 $] >= "5.036" and $class_equals eq "perl_experimental"
312 474 85 18 not $res and my $matches = $resolvers->{'tags'}

or 2 conditions

line l !l condition
33 0 31 $true ||= \&YAML::PP::Schema::_bool_jsonpp_true
34 0 31 $false ||= \&YAML::PP::Schema::_bool_jsonpp_false
39 0 0 $true ||= \&YAML::PP::Schema::_bool_booleanpm_true
40 0 0 $false ||= \&YAML::PP::Schema::_bool_booleanpm_false
44 0 159 $true ||= \&YAML::PP::Schema::_bool_perl_true
45 0 159 $false ||= \&YAML::PP::Schema::_bool_perl_false
48 0 0 $true ||= \&YAML::PP::Schema::_bool_perl_true
49 0 0 $false ||= \&YAML::PP::Schema::_bool_perl_false
160 32 24 $resolvers->{'tags'} ||= []
165 3909 987 $resolvers->{'tag'}{$tag} ||= {}
170 4645 185 $resolvers->{'value'} ||= {}
208 88 48 $resolvers->{$type}{'tags'} ||= []
218 0 143 $resolvers->{$type}{'tag'}{$tag} ||= {"on_create", $args{'on_create'}, "on_data", $args{'on_data'}}

or 3 conditions

line l !l&&r !l&&!r condition
115 5 9 30 $schemas[$i] =~ /^[^A-Za-z]/ || $schemas[$i] =~ /^[a-zA-Z0-9]+=/
139 22 0 187 $LOADED_SCHEMA{$item} ||= &Module::Load::load($class)