Condition Coverage

blib/lib/JSONSchema/Validator/Util.pm
Criterion Covered Total %
condition 19 36 52.7


and 3 conditions

line !l l&&!r l&&r condition
100 0 0 0 $x and $x eq 1
206 5 2 0 looks_like_number($_[0]) && ($_[0] == 1 || $_[0] == 0)
207 1 5 1 defined $_[0] && $_[0] eq ""
218 11 3 20 looks_like_number($_[0]) and int $_[0] == $_[0]
253 11 1 298 !(ref $_[0] || is_number(@_)) && defined $_[0]
254 0 0 157 !ref($_[0]) && defined $_[0]

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 0 not defined $x or $x eq 0
0 0 0 not defined $x or $x eq 0 or $x eq ""
209 0 1 6 $is_number or $is_string
1 1 5 $is_number or $is_string or $is_undef
235 10 0 0 $ref eq "JSON::PP::Boolean" or $ref eq "HASH"
10 0 0 $ref eq "JSON::PP::Boolean" or $ref eq "HASH" or $ref eq "ARRAY"