blib/lib/LWP/UserAgent/Tor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 14 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
66 | 0 | 0 | 0 | $file_format =~ /sh script text$/ and defined $tor_real |
line | l | !l | condition |
---|---|---|---|
28 | 0 | 0 | delete $args{'tor_ip'} // 'localhost' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 0 | 0 | 0 | delete $args{'tor_control_port'} // empty_port() |
23 | 0 | 0 | 0 | delete $args{'tor_port'} // do { my $port; while (($port = empty_port()) == $tor_control_port) { (); }; $port } |
33 | 0 | 0 | 0 | 'IO::Socket::INET'->new('PeerAddr', $tor_ip, 'PeerPort', $tor_control_port) // croak('could not connect to tor') |