| blib/lib/LWP/UserAgent/Tor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 11 | 0.0 |
| line | l | !l | condition |
|---|---|---|---|
| 26 | 0 | 0 | delete $args{'tor_ip'} // 'localhost' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 20 | 0 | 0 | 0 | delete $args{'tor_control_port'} // empty_port() |
| 21 | 0 | 0 | 0 | delete $args{'tor_port'} // do { my $port; while (($port = empty_port()) == $tor_control_port) { (); }; $port } |
| 31 | 0 | 0 | 0 | 'IO::Socket::INET'->new('PeerAddr', $tor_ip, 'PeerPort', $tor_control_port) // croak('could not connect to tor') |