Branch Coverage

blib/lib/Any/Daemon/FCGI/ClientConn.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
75 0 0 unless $self->{'ADFC_max_conns'} = $args->{'max_childs'}
79 0 0 unless $self->{'ADFC_socket'} = my $socket = $args->{'socket'}
96 0 0 unless length $leader == 8
101 0 0 if $plen
102 0 0 unless length $body == $clen
109 0 0 unless my $type_id = $frame_name2id{$type}
121 0 0 if (defined $wrote)
126 0 0 unless $! == 11 or $! == 4 or $! == 11
130 0 0 if $empty
144 0 0 unless my($type, $req_id, $body) = $self->_next_record
147 0 0 if ($req_id == 0)
152 0 0 if ($type eq 'BEGIN_REQUEST')
154 0 0 unless my $role = $server_role_id2name{$role_id}
168 0 0 unless ($flags & 1)
178 0 0 unless defined $req_id
180 0 0 unless ($reqdata)
186 0 0 if ($type eq 'ABORT_REQUEST') { }
0 0 elsif ($type eq 'PARAMS') { }
0 0 elsif ($type eq 'STDIN') { }
0 0 elsif ($type eq 'DATA') { }
190 0 0 if (length $$body) { }
194 0 0 if (length $$body) { }
198 0 0 if (length $$body) { }
204 0 0 if $reqdata->{'params_complete'} and $reqdata->{'stdin_complete'} and $reqdata->{'data_complete'}
213 0 0 if ($@)
224 0 0 unless $expected_stdin == length $reqdata->{'stdin'}
231 0 0 unless $expected_data == length $reqdata->{'data'}
241 0 0 unless $self->keep_connection
262 0 0 if ($stderr and length $$stderr)
269 0 0 unless $self->keep_connection
277 0 0 unless $self->{'ADFC_keep_conn'}
285 0 0 $type eq 'GET_VALUES' ? :
299 0 0 if exists $need{'FCGI_MAX_CONNS'}
303 0 0 if exists $need{'FCGI_MAX_REQS'}
308 0 0 if exists $need{'FCGI_MPXS_CONNS'}
364 0 0 unless $short & 128
374 0 0 if length $$stdin > $need
380 0 0 unless $select->can_read
383 0 0 if (defined $bytes_read)
384 0 0 unless $bytes_read
389 0 0 unless $! == 11 or $! == 4 or $! == 11