Branch Coverage

blib/lib/Data/Dump/SkipObjects.pm
Criterion Covered Total %
branch 0 210 0.0


line true false branch
44 0 0 if @Data::Dump::SkipObjects::FILTERS
57 0 0 if (%Data::Dump::SkipObjects::require)
62 0 0 if (%Data::Dump::SkipObjects::refcnt)
66 0 0 if ($Data::Dump::SkipObjects::refcnt{$name})
71 0 0 if ($Data::Dump::SkipObjects::SHOW_FIXUPS)
79 0 0 if $paren
81 0 0 defined $_->[1] ? :
84 0 0 if $paren
86 0 0 if (%Data::Dump::SkipObjects::refcnt or %Data::Dump::SkipObjects::require)
92 0 0 unless defined wantarray
118 0 0 $ref ? :
126 0 0 if ((my $i = rindex($strval, "=")) >= 0)
130 0 0 if ((my $i = index($strval, '(0x')) >= 0) { }
137 0 0 if ($] < "5.008" and $type eq "SCALAR")
138 0 0 if $ref eq "REF"
140 0 0 if $Data::Dump::SkipObjects::DEBUG
145 0 0 if (@Data::Dump::SkipObjects::FILTERS)
147 0 0 if $pclass
151 0 0 if (my $f = &$filter($ctx, $rval))
152 0 0 if (my $v = $f->{'object'})
157 0 0 if (defined(my $c = $f->{'bless'}))
160 0 0 if (my $c = $f->{'comment'})
163 0 0 if (defined(my $c = $f->{'dump'}))
167 0 0 if (my $h = $f->{'hide_keys'})
168 0 0 if (ref $h eq "ARRAY")
171 0 0 if $k eq $_[0]
179 0 0 if defined $out and not @bless
180 0 0 if (@bless)
182 0 0 if @bless
186 0 0 unless ($dont_remember)
187 0 0 if (my $s = $Data::Dump::SkipObjects::seen{$id})
192 0 0 if $Data::Dump::SkipObjects::DEBUG
193 0 0 unless $sname eq $name
196 0 0 if @$idx and $idx->[-1] eq "\$"
202 0 0 if ($class)
207 0 0 if (defined $out) { }
0 0 elsif ($type eq 'SCALAR' or $type eq 'REF' or $type eq 'REGEXP') { }
0 0 elsif ($type eq 'GLOB') { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'HASH') { }
0 0 elsif ($type eq 'CODE') { }
0 0 elsif ($type eq 'VSTRING') { }
211 0 0 if ($ref) { }
212 0 0 if ($class and $class eq 'Regexp') { }
216 0 0 if ($v =~ /^\(\?\^?([msix-]*):([\x00-\xFF]*)\)\z/)
224 0 0 if ($sep_count)
229 0 0 if ($c < $sep_count)
232 0 0 if $sep_count == 0
242 0 0 if $type eq "SCALAR"
244 0 0 $class ? :
247 0 0 if (not defined $$rval) { }
0 0 elsif (do { BEGIN {${^WARNING_BITS} = "\x10\x01\x00\x00\x00\x50\x04\x00\x00\x00\x00\x00\x05\x00\x15\x14\x55\x55\x54\x55\x00\x00"} $$rval + 0 eq $$rval }) { }
256 0 0 if ($class and not @$idx)
266 0 0 if ($ref) { }
270 0 0 if ($out =~ /^\\\*Symbol::/)
280 0 0 unless defined $gval
281 0 0 if $k eq "SCALAR" and not defined $$gval
311 0 0 if ($hide_keys)
314 0 0 if (defined $Data::Dump::SkipObjects::SORT_KEYS) { }
320 0 0 unless /^[-+]?(?:0|[1-9]\d*)(?:\.\d+)?\z/
323 0 0 if ($text_keys) { }
333 0 0 if $key =~ /^-?[a-zA-Z_]\w*\z/
334 0 0 if $key =~ /^-?[1-9]\d{0,8}\z/
341 0 0 if $quote
342 0 0 if length $key > $kstat_max
352 0 0 if (length $tmp > 60 or $tmp =~ /\n/ or $tied)
356 0 0 if ($kstat_max < 4) { }
0 0 elsif (@keys >= 2) { }
365 0 0 if ($stddev / $kstat_max < "0.25")
368 0 0 if ($Data::Dump::SkipObjects::DEBUG)
377 0 0 if $tied
381 0 0 $klen_pad ? :
383 0 0 $nl ? :
384 0 0 if $nl and $klen_pad > length $key
387 0 0 unless $nl
394 0 0 $ref ? :
401 0 0 if ($class and $ref)
402 0 0 if ($class =~ /$CLASS_PATTERN/) { }
408 0 0 if ($comment)
410 0 0 unless $comment =~ /\n\z/
419 0 0 if ($tied)
420 0 0 if (my $tied_ref = ref $tied) { }
436 0 0 if ($ref and @i and $i[0] eq "\$")
447 0 0 if ($i eq '*' or $i eq '$') { }
0 0 elsif ($i =~ s/^\*//) { }
454 0 0 unless $last_was_index++
458 0 0 if $ref
466 0 0 $paren ? :
467 0 0 if (@_ > 3)
475 0 0 if ($v eq '0' or $v =~ /^-?[1-9]\d{0,9}\z/) { }
0 0 elsif ($v =~ /^"([A-Za-z]{1,3}\d*)"\z/) { }
486 0 0 if $_[$j] ne $v
489 0 0 if ($j - $i > 3)
496 0 0 if ($comment or @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/) { }
499 0 0 $comment ? :
509 0 0 unless ($deparse)
519 0 0 if ($Data::Dump::SkipObjects::REMOVE_PRAGMAS)
530 0 0 if (length $res <= 60) { }
542 0 0 if (length $_[0] > 20)
545 0 0 if (/^(.)\1\1\1/s)
548 0 0 unless (/[^\Q$1\E]/)
555 0 0 if (length $_ < 16384 and /^(.{2,5}?)\1*\z/s)
565 0 0 if (length $_ > 40 and not /\\x\{/ and length $_ > length($_[0]) * 2)
571 0 0 if ($Data::Dump::SkipObjects::TRY_BASE64 and length $_[0] > $Data::Dump::SkipObjects::TRY_BASE64 and (defined &utf8::is_utf8 and not utf8::is_utf8($_[0])) and eval { do { require MIME::Base64 } })
601 0 0 unless /[^\040-\176]/