Branch Coverage

blib/lib/Devel/PartialDump.pm
Criterion Covered Total %
branch 54 68 79.4


line true false branch
51 0 0 unless defined $call_info{'pack'}
55 0 0 if ($call_info{'has_args'})
61 0 0 wantarray ? :
69 1 2 if (&blessed($args[0]) and $args[0]->isa('Devel::PartialDump')) { }
76 0 3 !ref($_) && defined $_ ? :
99 0 1 if (&blessed($args[0]) and $args[0]->isa('Devel::PartialDump')) { }
107 1 0 @args == 1 ? :
117 3 0 if (@strings)
125 0 0 unless $string =~ /$re/
138 37 1 if (&blessed($args[0]) and $args[0]->isa('Devel::PartialDump')) { }
144 6 32 $self->should_dump_as_pairs(@args) ? :
148 2 36 if (defined $self->max_length and length $dump > $self->max_length)
150 1 1 if $max_length < 0
154 0 38 if (not defined wantarray) { }
164 9 29 unless $self->pairs
166 22 7 if @what % 2 != 0
169 1 22 if ref $what[$i]
179 2 9 if (defined $self->max_elements and @what / 2 > $self->max_elements)
184 2 9 $truncated ? :
190 11 22 unless @what
204 2 38 if (defined $self->max_elements and @what > $self->max_elements)
209 2 38 $truncated ? :
215 9 17 &blessed($value) ? :
79 21 &looks_like_number($value) ? :
26 100 ref $value ? :
126 1 defined $value ? :
234 2 18 if ($depth > $self->max_depth) { }
238 2 16 if $reftype eq 'REF' or $reftype eq 'LVALUE'
242 18 0 if ($self->can($method)) { }
254 1 7 if $class
263 1 4 if $class
272 1 4 if $class
280 3 6 if ($self->objects) { }
283 3 3 $self->stringify ? :