Branch Coverage

blib/lib/Data/Printer/Filter/GenericClass.pm
Criterion Covered Total %
branch 50 56 89.2


line true false branch
193 3 3 if (overload::Overloaded($object) and overload::Method($object, '""') || overload::Method($object, '0+'))
200 0 3 if ($error) { }
211 2 145 if ($object->can($method))
214 0 2 if ($error) { }
232 38 2 unless overload::Overloaded($object)
249 4 257 if exists $attributes->{$method_string}
250 31 226 if $seen_method_name{$method_string}++
251 1 225 if $method_string eq "__ANON__"
252 40 185 substr($method_string, 0, 1) eq '_' ? :
253 111 114 if ($package_string eq $class_name) { }
254 13 98 unless $show_methods eq "all" or $show_methods eq $type
258 46 68 unless $show_inherited eq "all" or $show_inherited eq $type
264 3 1 unless $show_methods eq "all" or $show_methods eq $type or $show_inherited eq "all" or $show_inherited eq $type
267 4 73 if ($ddp->class->format_inheritance eq 'string') { }
269 3 1 if @method_list and $ddp->class->sort_methods
273 3 1 if (@method_list)
277 8 6 defined $methods{$type}{$_} ? :
291 60 92 if (defined $pkg_name) { }
301 42 31 if @base_methods and $ddp->class->sort_methods
304 44 29 $total_methods ? :
307 42 31 if (@base_methods)
313 18 24 keys %lined_methods ? :
319 26 0 if $ddp->class->sort_methods
340 0 261 unless $subref
342 0 261 unless $m and $m->isa("B::CV")
344 0 261 unless $gv and not $gv->isa("B::Special") and $gv->NAME
356 9 580 if substr($key, 0, 1) eq "("
357 261 319 if (ref \$namespace->{$key} ne "GLOB" or defined *{$namespace->{$key};}{"CODE"})