Branch Coverage

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


line true false branch
18 1 12 unless $$self{'_create'} = $opts{'create'}
19 5 7 if exists $opts{'on_fork'}
23 7 5 unless $opts{'lazy'}
32 4 11 defined $$self{'_obj'} ? :
34 0 14 if $INC{'threads.pm'}
42 25 49 unless &blessed($self)
43 4 41 if (not defined $$self{'_pid'} or $$ != $$self{'_pid'} or $INC{'threads.pm'} and ($$self{'_tid'} || 0) != 'threads'->tid)
56 19 4 unless ($self->SUPER::isa($class))
58 7 12 if $obj
65 17 11 unless ($self->SUPER::can($method))
67 6 11 if $obj
76 6 2 $obj ? :