blib/lib/Proc/Terminator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 14 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
156 | 0 | 15 | 0 | $self->max_wait and $now - $self->begin_time > $self->max_wait |
160 | 0 | 0 | 0 | kill(0, $pid) == 0 and $! == 3 |
line | l | !l | condition |
---|---|---|---|
98 | 2 | 1 | delete $options{'siglist'} || [@Proc::Terminator::DefaultSignalOrder] |
109 | 3 | 0 | delete $options{'max_wait'} || 10 |
0 | 3 | delete $options{'interval'} || 0.25 | |
2 | 1 | delete $options{'grace_period'} || 0.75 |