Branch Coverage

blib/lib/Net/Server/Mail/SMTP/Prefork.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
28 0 0 unless $$self{'listen_sock'} ||= 'IO::Socket::INET'->new('Listen', 128, 'LocalPort', $$self{'port'}, 'LocalAddr', $$self{'host'}, 'Proto', 'tcp', 'ReuseAddr', 1)
36 0 0 if ($^O eq 'linux')
37 0 0 if setsockopt $$self{'listen_sock'}, 6, 9, 1
48 0 0 if (my $conn = $$self{'listen_sock'}->accept)
50 0 0 unless $conn->blocking(0)
52 0 0 unless $conn->setsockopt(6, 1, 1)
64 0 0 unless defined $code and ref $code eq 'CODE'
72 0 0 if ($$self{'max_workers'} != 0) { }
83 0 0 if $pm->start
100 0 0 if ($$self{'callback'} and ref $$self{'callback'})