Branch Coverage

blib/lib/Net/Daemon/Test.pm
Criterion Covered Total %
branch 8 34 23.5


line true false branch
159 0 0 $self->{'localpath'} ? :
160 0 0 if ($self->{'proto'} eq 'unix') { }
178 0 0 if ($socket) { }
193 0 0 unless ($socket)
200 0 0 unless (open $fh, '>ndtest.prt' and print $fh $port and close $fh)
208 0 0 if (my $timeout = $self->{'timeout'})
256 0 42 if ($args =~ /\-\-mode=(?:ithread|thread|single)/ and $^O =~ /mswin32/i) { }
267 0 0 unless (File::Basename::basename($proc) =~ /\./)
270 0 0 if (not $proc =~ /^\w\:\\/ || $proc =~ /^\\/) { }
274 0 0 if (-x "$dir/$proc")
279 0 0 unless ($path)
293 0 0 unless (Win32::Process::Create($pid, $path, join(' ', @_), 0, Win32::Process::DETACHED_PROCESS(), '.'))
307 42 0 if (defined $pid) { }
310 11 31 unless ($pid)
323 21 10 if defined $numTests
326 0 31 unless (-s 'ndtest.prt')
335 0 31 unless (open $fh, '