Branch Coverage

blib/lib/Coerce/Types/Standard.pm
Criterion Covered Total %
branch 42 54 77.7


line true false branch
44 0 0 if (${$_[0];} =~ /^[0-9.]+$/g) { }
50 3 5 unless compare($recurse, map({$_->[$i];} @_))
56 0 0 unless compare($recurse, map({$_->{$k};} @_))
70 6 26 ref $hide ? :
96 5 0 if (defined $_[0]) { }
109 3 0 if (defined $_[0]) { }
132 0 3 ref $sr[1] eq 'CODE' ? :
220 3 0 if recurse($_[0], $_)
247 1 1 $str =~ /($encode{'regex'})(?![a-z#]+;)/ ? :
257 1 1 (shift()) =~ /&([a-z#]+;)/ ? :
288 7 1 if $hide =~ /^escape|unescape|schema|host|path|query_string|fragment$/
300 1 1 $4 || $5 || $6 || $7 ? :
305 1 1 $2 || $5 || $6 || $7 ? :
310 1 1 $2 || $4 || $6 || $7 ? :
315 1 1 $2 || $4 || $5 || $7 ? :
320 1 1 $2 || $4 || $5 || $6 ? :
324 1 0 ref $_[0] eq 'HASH' ? :
328 1 1 $_[0] =~ /($esc)(?!$unesc)/ ? :
332 1 1 $_[0] =~ /%$unesc/ ? :
413 0 3 unless not $ref or $ref eq "ARRAY"
414 2 1 $ref eq 'ARRAY' ? :
416 2 0 if $key eq "encode"
1 2 if ($type) { }
424 2 1 $ref ? :
425 2 1 if $ref and ref $_[0][1] eq "ARRAY"
432 6 13 if scalar keys %same != 1
439 14 0 if exists $recurse->{$ref}