Branch Coverage

blib/lib/Object/ForkAware.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
17 1 12 unless $self->{'_create'} = $opts{'create'}
18 5 7 if exists $opts{'on_fork'}
22 7 5 unless $opts{'lazy'}
31 4 11 defined $self->{'_obj'} ? :
33 0 14 if $INC{'threads.pm'}
41 5 49 unless &Scalar::Util::blessed($self)
42 4 41 if (not defined $self->{'_pid'} or $$ != $self->{'_pid'} or $INC{'threads.pm'} and ($self->{'_tid'} || 0) != 'threads'->tid)
55 9 4 unless ($self->SUPER::isa($class))
57 7 2 if $obj
64 7 1 unless ($self->SUPER::can($method))
66 6 1 if $obj
75 6 2 $obj ? :