Branch Coverage

blib/lib/Data/Inspect.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
87 3 1 UNIVERSAL::isa($_[0], 'Data::Inspect') ? :
101 0 0 UNIVERSAL::isa($_[0], 'Data::Inspect') ? :
120 0 0 UNIVERSAL::isa($_[0], 'Data::Inspect') ? :
138 1 67 if (@_ < 2 or ref $val and &Scalar::Util::refaddr($val) == &Scalar::Util::refaddr($self))
144 18 49 if (ref $val) { }
185 0 2 unless (grep {$_ eq $option;} 'truncate_strings', 'sort_keys')
209 1 16 if ($$self{'options'}{'truncate_strings'} and length $dump > $$self{'options'}{'truncate_strings'} + 2 and $dump =~ /^"/)
230 1 20 if (not $reftype and exists $$self{'tracker'}{$refaddr})
236 17 3 unless ($reftype)
237 5 12 if (&Scalar::Util::blessed($val)) { }
247 19 1 if ($self->can($method)) { }
262 2 3 if ($val->can('inspect')) { }
290 7 0 if ($$self{'options'}{'sort_keys'} and $$self{'options'}{'sort_keys'} eq 'cmp') { }
0 0 elsif ($$self{'options'}{'sort_keys'} and $$self{'options'}{'sort_keys'} eq '<=>') { }
320 6 3 if (defined *{$val;}{$_})