blib/lib/Net/SCP/Expect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 81 | 32.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 0 | 0 | 0 | @_ > 2 and not defined $password |
101 | 0 | 0 | 0 | $host and $host =~ /^\[/ |
0 | 0 | 0 | $host and $host =~ /^\[/ and $host =~ /\]$/ | |
283 | 0 | 0 | 0 | $eof && $error =~ /^(2|3)/o |
0 | 0 | 0 | $error and not $eof && $error =~ /^(2|3)/o | |
343 | 7 | 22 | 0 | $host and $host =~ /^\[/ |
29 | 0 | 0 | $host and $host =~ /^\[/ and $host =~ /\]$/ | |
353 | 0 | 0 | 0 | $host =~ /^\[/ and $host =~ /\]$/ |
line | l | !l | condition |
---|---|---|---|
25 | 0 | 5 | $arg{'preserve'} || 0 |
0 | 5 | $arg{'recursive'} || 0 | |
0 | 5 | $arg{'verbose'} || 0 | |
0 | 5 | $arg{'auto_yes'} || 0 | |
0 | 5 | $arg{'terminator'} || "\n" | |
0 | 5 | $arg{'timeout'} || 10 | |
0 | 5 | $arg{'timeout_auto'} || 1 | |
0 | 5 | $arg{'timeout_err'} || undef | |
0 | 5 | $arg{'no_check'} || 0 | |
0 | 5 | $arg{'protocol'} || undef | |
0 | 5 | $arg{'identity_file'} || undef | |
0 | 5 | $arg{'option'} || undef | |
0 | 5 | $arg{'subsystem'} || undef | |
0 | 5 | $arg{'scp_path'} || undef | |
0 | 5 | $arg{'auto_quote'} || 1 | |
0 | 5 | $arg{'compress'} || 0 | |
0 | 5 | $arg{'force_ipv4'} || 0 | |
0 | 5 | $arg{'force_ipv6'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 3 | 0 | 2 | $arg{'user'} || $ENV{'USER'} |
167 | 0 | 0 | 0 | $password or $identity_file |
221 | 0 | 0 | 0 | $scp->before || $scp->match |
248 | 0 | 0 | 0 | $no_check || $verbose |
252 | 0 | 0 | 0 | $scp->before || $scp->match |
263 | 0 | 0 | 0 | $scp->match || $scp->before |
340 | 20 | 2 | 7 | $host ||= $self->_get('host') |