Condition Coverage

blib/lib/Net/Daemon/Test.pm
Criterion Covered Total %
condition 5 35 14.2


and 3 conditions

line !l l&&!r l&&r condition
183 0 0 0 not $socket and $port++ < 30060
200 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
256 16 26 0 $args =~ /\-\-mode=(?:ithread|thread|single)/ and $^O =~ /mswin32/i
324 0 31 31 $secs and not -s 'ndtest.prt'
335 0 0 31 open $fh, '

or 2 conditions

line l !l condition
161 0 0 $self->{'localpath'} || die('Missing option: localpath')
165 0 0 $self->{'listen'} || 10
174 0 0 $self->{'proto'} || 'tcp'
0 0 $self->{'listen'} || 10

or 3 conditions

line l !l&&r !l&&!r condition
159 0 0 0 $self->{'proto'} ||= $self->{'localpath'} ? 'unix' : 'tcp'
194 0 0 0 $@ || $!
270 0 0 0 $proc =~ /^\w\:\\/ || $proc =~ /^\\/