Branch Coverage

blib/lib/JSV/Util/Type.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
28 247 1514 if (not defined $instance) { }
626 888 elsif ($ref_type = ref $instance) { }
32 576 50 if (not &blessed($instance)) { }
50 0 elsif (&JSON::is_bool($instance)) { }
45 349 539 if (($flags & 4096) == 4096) { }
60 479 elsif (($flags & 8192) == 8192) { }
479 0 elsif (($flags & 16384) == 16384) { }
65 152 486 if ($type_strict eq 'integer') { }
20 466 elsif ($type_strict eq 'number') { }
226 240 elsif ($type_strict eq 'string') { }
72 40 186 if (&looks_like_number($instance))
73 21 19 if $instance =~ /^(?:[+-])?[1-9]?\d+$/
82 0 773 unless defined $property