| blib/lib/OpenTelemetry/Instrumentation/LWP/UserAgent.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 20 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 8 | 3 | unless @$want |
| 30 | 6 | 7 | if &none(sub { $key =~ /$_/; } , @$want) |
| 40 | 1 | 3 | unless $loaded |
| 50 | 0 | 5 | if $loaded |
| 51 | 1 | 4 | unless "Class::Inspector"->loaded("LWP::UserAgent") |
| 67 | 1 | 3 | if $uri->userinfo |
| 69 | 1 | 3 | $length ? : |
| 116 | 0 | 3 | if (my $count = $response->redirects) |
| 121 | 1 | 2 | if defined $length |
| 124 | 1 | 2 | unless $response->is_success |