Branch Coverage

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


line true false branch
28 247 1474 if (not defined $instance) { }
624 850 elsif ($ref_type = ref $instance) { }
32 574 50 if (not &blessed($instance)) { }
50 0 elsif (&JSON::is_bool($instance)) { }
45 349 501 if (($flags & 4096) == 4096) { }
60 441 elsif (($flags & 8192) == 8192) { }
441 0 elsif (($flags & 16384) == 16384) { }
65 152 467 if ($type_strict eq 'integer') { }
20 447 elsif ($type_strict eq 'number') { }
207 240 elsif ($type_strict eq 'string') { }
72 38 169 if (&looks_like_number($instance))
73 20 18 if $instance =~ /^(?:[+-])?[1-9]?\d+$/
82 0 773 unless defined $property