| blib/lib/OpenTelemetry/Instrumentation/HTTP/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 26 | 96.1 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 21 | 3 | unless @$want |
| 31 | 2 | 3 | is_arrayref($v) ? : |
| 41 | 1 | 7 | unless $original |
| 51 | 0 | 8 | if $loaded |
| 52 | 1 | 7 | unless "Class::Inspector"->loaded("HTTP::Tiny") |
| 69 | 7 | 1 | if (isa_URI_http($uri)) |
| 70 | 1 | 6 | if $uri->userinfo |
| 114 | 2 | 6 | defined $options->{'content'} && !is_coderef($options->{'content'}) ? : |
| 122 | 1 | 7 | if %carrier |
| 132 | 1 | 7 | if $res->{'redirects'} |
| 135 | 2 | 6 | if defined $length |
| 138 | 3 | 5 | unless ($res->{'success'}) |
| 140 | 2 | 1 | if ($res->{'status'} == 599) { } |