blib/lib/Object/ForkAware.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 14 | 57.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
42 | 41 | 0 | 0 | $INC{'threads.pm'} and ($self->{'_tid'} || 0) != 'threads'->tid |
line | l | !l | condition |
---|---|---|---|
42 | 0 | 0 | $self->{'_tid'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
42 | 4 | 4 | 41 | not defined $self->{'_pid'} or $$ != $self->{'_pid'} |
8 | 0 | 41 | not defined $self->{'_pid'} or $$ != $self->{'_pid'} or $INC{'threads.pm'} and ($self->{'_tid'} || 0) != 'threads'->tid | |
46 | 2 | 0 | 6 | $self->{'_on_fork'} || $self->{'_create'} |