Branch Coverage

blib/lib/POOF/Properties.pm
Criterion Covered Total %
branch 59 122 48.3


line true false branch
45 8 0 $self ? :
50 8 0 if $exceptionHandlerRef
62 0 0 ref $args eq 'HASH' ? :
8 0 ref $args eq 'ARRAY' ? :
102 30 0 exists {Private => 0, Protected => 1, Public => 2}->{$access} ? :
0 0 $name eq '@@__POOF::Properties::DUMMY__@@' ? :
30 0 $access ? :
112 0 30 unless $obj->_relationship($data, 'POOF::DataType') =~ /^(?:self|child)$/
116 0 0 if exists $$dispatch{$name} and $$dispatch{$name}{'virtual'} != 1 and $$dispatch{$name}{'access'} != 0
140 1 2 unless exists $$$GROUPS{$class}{$group}
144 3 0 unless (grep {$name eq $_;} @{$$$GROUPS{$class}{$group};})
156 0 4 exists $$dispatch{$definer}{$name} ? :
0 26 exists $$dispatch{$name} ? :
4 26 $access == 0 ? :
161 0 30 if ($i0) { }
178 26 4 if ($access > 0)
180 0 26 if ($i1) { }
198 26 4 if ($access > 1)
200 0 26 if ($i2) { }
218 4 26 if ($access == 0) { }
262 65 0 if defined $caller
264 0 0 $$obj{'dispatch'}{$self}{$k}{'access'} > 0 ? :
0 0 exists $$obj{'dispatch'}{$self}{$k} ? :
0 0 exists $$obj{'dispatch'}{$caller}{$k} ? :
0 65 $callerContext < 0 ? :
288 0 65 unless exists $$dispatch{$k}
292 0 65 unless $$dispatch{$k}{'access'} >= $callerContext
307 0 0 $$p{'data'}->type eq 'enum' ? :
331 0 0 $$p{'data'}->type eq 'enum' ? :
357 22 0 if defined $caller
359 0 0 exists $$obj{'dispatch'}{$caller}{$k} ? :
0 22 $callerContext < 0 ? :
367 22 0 exists $$dispatch{$k} && $$dispatch{$k}{'access'} >= $callerContext ? :
383 0 43 if (defined $d->ofilter and ref $d->ofilter eq 'CODE')
389 0 0 if ($@)
392 0 0 if defined $$obj{'exceptionHandler'}
419 5 22 if ($k eq '___refobj___')
429 0 22 if (defined $d->ifilter and ref $d->ifilter eq 'CODE')
435 0 0 if ($@)
438 0 0 if defined $$obj{'exceptionHandler'}
455 2 20 if ($d->pErrors) { }
457 2 0 if defined $$obj{'exceptionHandler'}
464 20 0 if defined $$obj{'exceptionHandler'}
478 9 0 if defined $caller
493 9 36 unless defined $k
500 36 18 $callerContext > 0 ? :
503 54 0 if defined $caller
510 0 0 exists $$obj{'dispatch'}{$caller}{$pk} ? :
0 45 $callerContext < 0 ? :
517 45 0 if (exists $$dispatch{$pk} and $$dispatch{$pk}{'access'} >= $callerContext)
572 0 0 unless defined $caller{'0-package'}
583 0 0 defined $$caller{$_} ? :
599 139 2 if defined $caller
604 0 81 $relationship eq 'parent' ? :
0 81 $relationship eq 'child' ? :
60 81 $relationship eq 'self' ? :
617 30 310 ref $_ ? :
340 2 $_ ? :
619 90 81 if $class1 eq $class2
625 0 81 exists $family2{$class1} ? :
0 81 exists $family1{$class2} ? :