Branch Coverage

blib/lib/Mail/Milter/Authentication/Net/ServerPatches.pm
Criterion Covered Total %
branch 3 54 5.5


line true false branch
18 23 0 unless $config->{'patch_net_server'}
29 0 0 unless ($prop->{'connected'})
37 0 0 if ($prop->{'serialize'} eq "flock")
38 0 0 unless open $prop->{'lock_fh'}, ">", $prop->{'lock_file'}
43 0 0 if not $prop->{'SigHUPWriten'}++
58 0 0 unless ($ok)
63 0 0 if $self->done
80 103 0 unless $config->{'patch_net_server'}
84 0 0 if ($prop->{'serialize'} eq 'flock') { }
0 0 elsif ($prop->{'serialize'} eq 'semaphore') { }
0 0 elsif ($prop->{'serialize'} eq 'pipe') { }
86 0 0 if $prop->{'SigHUPed'}
87 0 0 if $! == 4
94 0 0 unless $prop->{'sem'}->op(0, -1, IPC::SysV::SEM_UNDO())
96 0 0 unless $prop->{'sem'}->op(0, 1, IPC::SysV::SEM_UNDO())
118 0 0 if ($prop->{'multi_port'}) { }
119 0 0 if $prop->{'_HUP'}
121 0 0 if $hup or $prop->{'_HUP'}
122 0 0 if ($self->can_read_hook($sock))
129 0 0 unless defined $sock
131 0 0 if (2 == $sock->getsockopt(1, 3)) { }
141 0 0 if $prop->{'_HUP'}
142 0 0 if $prop->{'client'}
157 92 0 unless $config->{'patch_net_server'}
162 0 0 if not @waiting and $! == 4
163 0 0 if grep {fileno $_ == fileno $prop->{'SigHUPReadPipe'};} @waiting
164 0 0 unless @waiting