Branch Coverage

blib/lib/Test/HTTP.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
83 2 2 if (@$syntax)
120 2 6 &$pred ? :
211 3 3 if @request_args
212 0 6 if ($self->request->method ne 'GET')
213 0 0 if (is_utf8 $self->request->content)
221 0 6 if $self->response->status_line =~ /500 Can't connect to /
238 0 6 if defined $self->username or defined $self->password
354 0 6 exists $ENV{'TEST_HTTP_UA_CLASS'} ? :
359 0 6 if $@
373 0 0 unless ($response->content_is_text or $response->content_is_xml)