| blib/lib/AnyEvent/Connector.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 28 | 89.2 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 14 | 5 | if (defined $proxy) |
| 25 | 8 | 11 | if (defined $no_proxy) |
| 33 | 1 | 19 | if ($proxy eq "") |
| 39 | 0 | 19 | if (not defined $scheme or $scheme ne "http") |
| 48 | 8 | 6 | if ($ref eq 'ARRAY') { } |
| 6 | 0 | elsif (not $ref) { } | |
| 60 | 12 | 7 | unless defined $protocol |
| 65 | 6 | 2 | if (defined $p) |
| 76 | 6 | 2 | if (defined $no_proxy) |
| 86 | 12 | 21 | if ($host =~ /\Q$no_domain\E$/) |
| 96 | 37 | 14 | defined $p ? : |
| 102 | 0 | 4 | unless (defined $proxy) |
| 107 | 1 | 3 | unless (defined $fh) |
| 113 | 1 | 2 | $success ? : |