Branch Coverage

blib/lib/Devel/PerlySense/Class.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
158 2 5 if ($package eq 'main')
159 0 2 unless $package = ($oDocument->aNamePackage)[0]
187 0 15 unless my $oDocument = $oPerlySense->oDocumentFindModule('nameModule', $name, 'dirOrigin', $dirOrigin)
228 0 18 unless my $classBase = $rhClassSeen->{$classNameBase} || ref($self)->newFromName('oPerlySense', $self->oPerlySense, 'rhClassSeen', $rhClassSeen, 'name', $classNameBase, 'dirOrigin', dirname($oDocument->file))
266 0 1 unless my $oDocument = $self->raDocument->[0]
276 0 1 unless my(@aDocumentCandidate) = $self->oPerlySense->aDocumentGrepInDir('dir', $dirClass, 'rsGrepFile', sub { shift() ne $fileClass; } , 'rsGrepDocument', sub { (shift())->hasBaseClass($nameClass); } )
358 50 0 $oDocument->parse('file', $_) ? :
423 0 3 unless my $oDocument = $self->raDocument->[0]
442 0 2 unless my $oDocument = $self->raDocument->[0]
465 0 0 unless my $oDocument = $self->raDocument->[0]
484 0 0 unless my $oDocument = $self->raDocument->[0]