Condition Coverage

blib/lib/Net/Daemon.pm
Criterion Covered Total %
condition 0 60 0.0


and 3 conditions

line !l l&&!r l&&r condition
387 0 0 0 $found and $$found{'accept'}
575 0 0 0 open OUT, ">$pidfile" and print OUT "$$\n"
0 0 0 open OUT, ">$pidfile" and print OUT "$$\n" and close OUT
668 0 0 0 not $child_pid and $! != 4 || !$$self{'catchint'}
676 0 0 0 not $child_pid and $! != 4 || !$$self{'catchint'}

or 2 conditions

line l !l condition
237 0 0 $$self{'options'} ||= {}
238 0 0 $$self{'args'} ||= []
555 0 0 $$self{'listen'} || 10
561 0 0 $$self{'proto'} || 'tcp'
0 0 $$self{'listen'} || 10
572 0 0 $$self{'pidfile'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
208 0 0 0 not $copts or ref $copts ne 'HASH'
235 0 0 0 ref $class || $class
257 0 0 0 $$options{'configfile'} || $$self{'configfile'}
533 0 0 0 $$self{'mode'} eq 'fork' or $$self{'childs'}
546 0 0 0 $$self{'proto'} ||= $$self{'localpath'} ? 'unix' : 'tcp'
636 0 0 0 $childpid <= 0 or $Net::Daemon::exit
0 0 0 $childpid <= 0 or $Net::Daemon::exit or keys %$childpids == 0
668 0 0 0 $! != 4 || !$$self{'catchint'}
670 0 0 0 $$self{'socket'}->error || $!
676 0 0 0 $! != 4 || !$$self{'catchint'}
678 0 0 0 $$self{'socket'}->error || $!