blib/lib/Test2/Tools/HTTP/UA/LWP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 8 | 62.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 3 | 30 | 5 | $self->apps->uri_to_app($req->uri) and $req->uri =~ m[^/] |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 5 | $self->{'request_send_cb'} ||= sub { my($req, $ua, $h) = @_; if (my $tester = $self->apps->uri_to_tester($req->uri)) { return $tester->request($req); } else { return; }; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 1 | 0 | 0 | $res->decoded_content || $warning |