Branch Coverage

blib/lib/Testcontainers/Wait/HTTP.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
116 0 0 unless ($mapped_port)
121 0 0 $self->tls ? :
129 0 0 unless (defined $status)
135 0 0 if ($status != $self->status_code)
139 0 0 if ($self->response_matcher)
140 0 0 $self->response_matcher->($response_body) ? :
156 0 0 if (eval { do { require HTTP::Tiny; 1 } })
160 0 0 $host eq 'localhost' ? :
162 0 0 $try_host =~ /:/ ? :
163 0 0 $self->tls ? :
167 0 0 if %{$self->headers;}
168 0 0 if defined $self->body
171 0 0 if $@ or not $response
172 0 0 if $response->{'status'} == 599
186 0 0 unless $sock
196 0 0 if (defined $self->body) { }
211 0 0 if ($response =~ m[^HTTP/\d\.\d (\d+)])
223 0 0 if ($self->port)
225 0 0 unless $port =~ m[/]
231 0 0 unless @$ports
240 0 0 unless $port =~ m[/]