Branch Coverage

blib/lib/Test/JSON/Entails.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
23 0 18 unless defined $input and defined $entailed
29 5 28 unless (ref $object)
31 2 3 if (my $error = $@)
37 4 27 if (reftype $object ne 'HASH')
48 7 5 if ($error) { }
60 2 15 unless (exists $$input{$k})
64 7 8 if $error
79 1 3 if ($e > $g)
85 1 3 if $error
97 2 17 if ($intype ne $type)
102 8 9 if ($type eq 'scalar') { }
4 5 elsif ($type eq 'array') { }
5 0 elsif ($type eq 'hash') { }
104 2 6 if ($got ne $expect)