Branch Coverage

blib/lib/Net/Daemon/Test.pm
Criterion Covered Total %
branch 9 34 26.4


line true false branch
165 0 0 $$self{'localpath'} ? :
166 0 0 if ($$self{'proto'} eq 'unix') { }
181 0 0 if ($socket) { }
191 0 0 unless ($socket)
198 0 0 unless (open $fh, '>ndtest.prt' and print $fh $port and close $fh)
206 0 0 if (my $timeout = $$self{'timeout'})
254 0 27 if ($args =~ /\-\-mode=(?:ithread|thread|single)/ and $^O =~ /mswin32/i) { }
265 0 0 unless (File::Basename::basename($proc) =~ /\./)
268 0 0 if (not $proc =~ /^\w\:\\/ || $proc =~ /^\\/) { }
271 0 0 if (-x "$dir/$proc")
276 0 0 unless ($path)
290 0 0 unless (&Win32::Process::Create($pid, $path, join(' ', @_), 0, Win32::Process::DETACHED_PROCESS(), '.'))
300 27 0 if (defined $pid) { }
302 8 19 unless ($pid)
313 18 1 if defined $numTests
316 1 18 unless (-s 'ndtest.prt')
324 0 18 unless (open $fh, '))