Branch Coverage

blib/lib/MRP/BaseClass.pm
Criterion Covered Total %
branch 14 162 8.6


line true false branch
19 0 0 if $name eq 'DESTROY'
23 0 0 $ref eq $self ? :
26 0 0 if ($^W)
27 0 0 if (ref $self)
29 0 0 if ($member =~ /$name/i or $name =~ /$member/i)
37 0 0 if ($funcn =~ /$name/i or $name =~ /$funcn/i)
74 0 0 $depth =~ /'shallow'/ ? :
0 0 defined $depth ? :
79 0 0 if ($depth) { }
80 0 0 if ($ref = ref $value) { }
82 0 0 if (/^HASH$/)
83 0 0 if (/^ARRAY$/)
84 0 0 if (/^SCALAR$/)
85 0 0 $value->can('clone') ? :
110 0 0 if (ref $_[0]) { }
117 0 0 ref $_ ? :
129 0 0 if (/^ARRAY$/)
133 0 0 if (/^HASH$/)
143 0 0 if defined $initialize
156 0 0 if (ref $self)
165 0 0 if $func =~ /:_/
166 0 0 if $func =~ /:memberAccess::.*?_/
167 0 0 if $func =~ /(croak)|(confess)|(carp)/
189 4 0 unless defined $fields
191 0 0 wantarray ? :
206 0 2 if (exists $debug{'variables'}) { }
207 0 0 if (not defined(my $fh = $debug{'variables'})) { }
0 0 elsif (ref $fh eq 'GLOB') { }
213 0 0 unless open VARIABLES, ">>$fh"
218 0 2 if (exists $debug{'delegates'}) { }
219 0 0 if (not defined(my $fh = $debug{'delegates'})) { }
0 0 elsif (ref $fh eq 'GLOB') { }
225 0 0 unless open DELEGATES, ">>$fh"
237 0 0 $1 eq '%' ? :
0 0 $1 eq '@' ? :
246 0 0 $1 eq '%' ? :
0 0 $1 eq '@' ? :
261 1 1 if (@lISA)
264 1 0 unless ($isaCache)
272 1 1 unless scalar $$isaCache{'functions'}
273 1 1 unless scalar $$isaCache{'fields'}
283 0 0 unless scalar $$isaCache{'functions'}
284 0 0 unless scalar $$isaCache{'fields'}
287 0 0 if (my $clash = $allfunctions{$function})
288 0 0 if ($$clash[1] ne $ref)
289 0 0 unless ($classFunctions{$function})
297 0 0 if (my $clash = $allfields{$field})
306 0 0 unless ref $list
309 0 0 unless ref $func and push @list, $func->functions
314 0 0 if (my $clash = $allfunctions{$func})
315 0 0 unless ($classFunctions{$func})
328 0 0 $field eq $_ && !&MRP::Introspection::function($class, $field) ? :
339 0 0 if (exists $$fields{$default}) { }
0 0 elsif (exists $allfields{$default}) { }
0 0 elsif (exists $variables{$default}) { }
349 0 2 if (@clashes)
360 0 0 if &MRP::Introspection::function($memberPackage, $item)
363 0 0 if (exists $default{$item}) { }
0 0 elsif (exists $$fields{$item}) { }
366 0 0 if (/^ARRAY$/) { }
0 0 elsif (/^HASH$/) { }
380 0 0 if (exists $variables{$item}) { }
384 0 0 if (/^ARRAY$/) { }
0 0 elsif (/^HASH$/) { }
393 0 0 if (/^ARRAY$/) { }
0 0 elsif (/^HASH$/) { }
407 0 0 if (/^ARRAY$/) { }
0 0 elsif (/^HASH$/) { }
420 0 0 if (/^ARRAY$/) { }
0 0 elsif (/^HASH$/) { }
429 0 0 if $VARIABLES
431 0 0 if $@
436 0 0 if exists $$fields{$delegate}
442 0 0 if (ref $item) { }
448 0 0 if $DELEGATES
452 0 0 if $@
456 0 2 if (%all || %$delegates and not exists $ISA{$class . '::memberAccess'})
467 0 2 if $debug{'variables'}
468 0 2 if $debug{'delegates'}
511 0 0 if (ref $interface)
683 0 0 if exists $MRP::BaseClass::builtInRefs{$ref}