Branch Coverage

blib/lib/Apache/TS/AdminClient.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
88 0 0 unless $$self{'_socket_path'}
91 0 0 unless (-r $$self{'_socket_path'} and -w $$self{'_socket_path'} and -S $$self{'_socket_path'})
114 0 0 if -S $socket
134 0 0 if (defined $$self{'_socket'})
135 0 0 if ($args{'force'} or $args{'reopen'}) { }
143 0 0 unless $$self{'_socket'} = 'IO::Socket::UNIX'->new('Type', 1, 'Peer', $$self{'_socket_path'})
148 0 0 unless defined $$self{'_socket'}
158 0 0 unless defined $$self{'_socket'}
177 0 0 unless defined $$self{'_socket'}
178 0 0 unless $$self{'_select'}->can_write(10)
185 0 0 if $max_read_attempts-- < 0
186 0 0 unless $$self{'_select'}->can_read(10)
189 0 0 unless defined $status or $status == 0
193 0 0 unless scalar @resp == 3
195 0 0 if ($resp[0] == 0)
196 0 0 if ($resp[2] < 2) { }
0 0 elsif ($resp[2] == 2) { }
0 0 elsif ($resp[2] == 3) { }
198 0 0 unless scalar @resp == 4
203 0 0 unless scalar @resp == 4
208 0 0 unless scalar @resp == 4