blib/lib/Net/Daemon/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 35 | 17.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
185 | 0 | 0 | 0 | not $socket and $port++ < 30060 |
198 | 0 | 0 | 0 | open $fh, '>ndtest.prt' and print $fh $port |
0 | 0 | 0 | open $fh, '>ndtest.prt' and print $fh $port and close $fh | |
254 | 16 | 11 | 0 | $args =~ /\-\-mode=(?:ithread|thread|single)/ and $^O =~ /mswin32/i |
314 | 1 | 18 | 56 | $secs and not -s 'ndtest.prt' |
324 | 0 | 18 | 0 | open $fh, ' |
line | l | !l | condition |
---|---|---|---|
167 | 0 | 0 | $$self{'localpath'} || die('Missing option: localpath') |
169 | 0 | 0 | $$self{'listen'} || 10 |
173 | 0 | 0 | $$self{'proto'} || 'tcp' |
0 | 0 | $$self{'listen'} || 10 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
165 | 0 | 0 | 0 | $$self{'proto'} ||= $$self{'localpath'} ? 'unix' : 'tcp' |
192 | 0 | 0 | 0 | $@ || $! |
268 | 0 | 0 | 0 | $proc =~ /^\w\:\\/ || $proc =~ /^\\/ |