blib/lib/Proc/PersistentControl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 55 | 45.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
281 | 0 | 0 | 0 | $size and $size > 102400 |
294 | 0 | 7 | 0 | -e $rdir and not -d $rdir |
430 | 60 | 0 | 0 | $_debugfh and $fd == fileno $_debugfh |
481 | 2 | 0 | 4 | $_unix_grandch_pid and kill 0, $_unix_grandch_pid |
2 | 1 | 3 | $_unix_grandch_pid and kill 0, $_unix_grandch_pid and time < $maxtime | |
494 | 2 | 0 | 1 | $_unix_grandch_pid and kill 0, $_unix_grandch_pid |
560 | 0 | 1 | 1 | kill -15, $p and select(undef, undef, undef, 0.2), kill(-3, $p) |
564 | 2 | 0 | 0 | kill 15, $p and select(undef, undef, undef, 0.2), kill(3, $p) |
752 | 0 | 0 | 15 | $psd and -d $psd |
line | l | !l | condition |
---|---|---|---|
256 | 0 | 7 | $opthash{'nannyname'} ||= 'ppc-nanny' |
257 | 0 | 7 | $opthash{'closefdmax'} ||= 12 |
451 | 1 | 2 | $$opt{'psynctime'} || 10 |
659 | 1 | 1 | $ret{'psynctime'} || 10 |
770 | 5 | 4 | $$opt{'psynctime'} || 10 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
309 | 0 | 0 | 0 | $clf ||= (caller())[1] |
326 | 0 | 0 | 3 | not $pid or $pid <= 0 |
758 | 0 | 15 | 0 | $$opt{'nannyname'} ||= $$self{'_opts'}{'nannyname'} |
923 | 2 | 0 | 0 | rename $source, $target or move($source, $target) |
2 | 0 | 0 | rename $source, $target or move($source, $target) or Proc::PersistentControl::debug("rename/1st move($source, $target) failed, trying again"), select(undef, undef, undef, 0.2), move($source, $target) | |
0 | 0 | 0 | rename $source, $target or move($source, $target) or Proc::PersistentControl::debug("rename/1st move($source, $target) failed, trying again"), select(undef, undef, undef, 0.2), move($source, $target) or Proc::PersistentControl::debug("2nd move($source, $target) failed, trying again"), select(undef, undef, undef, 0.8), move($source, $target) |