blib/lib/Net/Daemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 60 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
401 | 0 | 0 | 0 | $found and $found->{'accept'} |
581 | 0 | 0 | 0 | open OUT, ">$pidfile" and print OUT "$$\n" |
0 | 0 | 0 | open OUT, ">$pidfile" and print OUT "$$\n" and close OUT | |
677 | 0 | 0 | 0 | not $child_pid and $! != 4 || !$self->{'catchint'} |
688 | 0 | 0 | 0 | not $child_pid and $! != 4 || !$self->{'catchint'} |
line | l | !l | condition |
---|---|---|---|
245 | 0 | 0 | $self->{'options'} ||= {} |
246 | 0 | 0 | $self->{'args'} ||= [] |
562 | 0 | 0 | $self->{'listen'} || 10 |
571 | 0 | 0 | $self->{'proto'} || 'tcp' |
0 | 0 | $self->{'listen'} || 10 | |
578 | 0 | 0 | $self->{'pidfile'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
216 | 0 | 0 | 0 | not $copts or ref $copts ne 'HASH' |
243 | 0 | 0 | 0 | ref $class || $class |
265 | 0 | 0 | 0 | $options->{'configfile'} || $self->{'configfile'} |
538 | 0 | 0 | 0 | $self->{'mode'} eq 'fork' or $self->{'childs'} |
551 | 0 | 0 | 0 | $self->{'proto'} ||= $self->{'localpath'} ? 'unix' : 'tcp' |
646 | 0 | 0 | 0 | $childpid <= 0 or $exit |
0 | 0 | 0 | $childpid <= 0 or $exit or keys %$childpids == 0 | |
677 | 0 | 0 | 0 | $! != 4 || !$self->{'catchint'} |
681 | 0 | 0 | 0 | $self->{'socket'}->error || $! |
688 | 0 | 0 | 0 | $! != 4 || !$self->{'catchint'} |
692 | 0 | 0 | 0 | $self->{'socket'}->error || $! |