blib/lib/Test2/Tools/HTTP/UA/LWPClass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 12 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 0 | 3 | 0 | $self->apps->uri_to_app($req->uri) and $req->uri =~ m[^/] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
24 | 0 | 1 | 1 | $orig{$proto} ||= do { my $orig = LWP::Protocol::implementor($proto); LWP::Protocol::implementor($proto, 'Test2::Tools::HTTP::UA::LWPClass::Proto'); $orig } |
31 | 0 | 1 | 0 | $ua ||= 'LWP::UserAgent'->new |
51 | 0 | 0 | 0 | $res->decoded_content || $warning |