Branch Coverage

blib/lib/Paranoid/Data.pm
Criterion Covered Total %
branch 53 60 88.3


line true false branch
69 9 0 defined $source ? :
70 9 0 defined $target ? :
73 0 9 unless ref $sref eq ref $tref
88 1 24 if (grep {$_ eq $s;} @refs)
100 12 12 if ($type eq 'ARRAY') { }
12 0 elsif ($type eq 'HASH') { }
107 7 35 if ($type eq 'ARRAY' or $type eq 'HASH') { }
110 5 2 $type eq 'ARRAY' ? :
111 3 4 unless &$recurseSub($element, $t->[-1])
124 10 24 if ($type eq 'ARRAY' or $type eq 'HASH') { }
127 4 6 $type eq 'ARRAY' ? :
128 1 9 unless &$recurseSub($value, $t->{$key})
145 8 1 if ($sref eq 'ARRAY' or $sref eq 'HASH') { }
148 4 4 if ($sref eq 'ARRAY') { }
162 8 1 if $rv
189 39 2 if ($rv and $n)
195 130 42 $d1 ? :
196 130 42 $d2 ? :
198 170 2 if ($d1 == $d2) { }
201 41 129 unless ($d1)
209 127 2 if ($rv)
212 6 121 if ($t1 eq 'ARRAY') { }
9 112 elsif ($t1 eq 'HASH') { }
230 11 120 unless $rv
238 12 29 unless $rv
266 12 1 if ($rv)
296 0 29 unless (ref $ref1 eq ref $ref1)
302 0 29 if ($rv and ref $ref1 eq 'SCALAR') { }
16 13 elsif ($rv and ref $ref1 eq 'ARRAY') { }
13 0 elsif ($rv and ref $ref1 eq 'HASH') { }