blib/lib/Test2/Tools/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 24 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 1 | 3 | 31 | $ok and defined $check |
line | l | !l | condition |
---|---|---|---|
176 | 0 | 17 | $context ||= 'scalar' |
496 | 2 | 1 | $apps->uri_to_app($url) || 1 |
545 | 0 | 40 | $self->{'HTTP_CHECK'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 0 | 35 | 0 | $message ||= "@{[$req->method];} @{[$url];}" |
210 | 17 | 0 | 0 | $res->decoded_content || $res->content |
298 | 2 | 2 | 6 | ref $expect eq 'ARRAY' or eval { do { $expect->isa('Test2::Compare::Array') } } |
451 | 33 | 0 | 4 | defined $ua_wrapper or $new |
479 | 5 | 3 | 0 | $url ||= http_base_url() |