| line |
true |
false |
branch |
|
42
|
0 |
0 |
if (@_ == 1) { } |
|
48
|
0 |
0 |
if (/^-?(?:tftp)?server$/i or /^-?tftp$/) { } |
|
|
0 |
0 |
elsif (/^-?catos$/i) { } |
|
|
0 |
0 |
elsif (/^-?timeout$/i) { } |
|
|
0 |
0 |
elsif (/^-?family$/i) { } |
|
|
0 |
0 |
elsif (/^-?source$/i) { } |
|
|
0 |
0 |
elsif (/^-?dest(?:ination)?$/i) { } |
|
51
|
0 |
0 |
if ($args{$_} == 1) |
|
57
|
0 |
0 |
if ($args{$_} =~ /^(?:(?:(:?ip)?v?(?:4|6))|${\2;}|$AF_INET6)$/) { } |
|
58
|
0 |
0 |
if ($args{$_} =~ /^(?:(?:(:?ip)?v?4)|${\2;})$/) { } |
|
68
|
0 |
0 |
if ($args{$_} =~ /^run(?:ning)?(?:-config)?$/i) { } |
|
|
0 |
0 |
elsif ($args{$_} =~ /^start(?:up)?(?:-config)?$/i) { } |
|
78
|
0 |
0 |
if ($args{$_} =~ /^run(?:ning)?(?:-config)?$/i) { } |
|
|
0 |
0 |
elsif ($args{$_} =~ /^start(?:up)?(?:-config)?$/i) { } |
|
93
|
0 |
0 |
if ($params{'source'} == $params{'dest'}) |
|
99
|
0 |
0 |
if ($params{'op'} ne 'wr' and not defined $params{'tftpserver'}) |
|
104
|
0 |
0 |
unless (defined $params{'family'}) |
|
109
|
0 |
0 |
if (defined $params{'tftpserver'}) |
|
110
|
0 |
0 |
if (defined(my $ret = Cisco::SNMP::_resolv($params{'tftpserver'}, $params{'family'}))) { } |
|
116
|
0 |
0 |
if ($params{'catos'} and $params{'family'} == $AF_INET6) |
|
137
|
0 |
0 |
if ($params{'op'} eq 'wr') { } |
|
138
|
0 |
0 |
if ($params{'catos'}) |
|
145
|
0 |
0 |
unless (defined $response) |
|
148
|
0 |
0 |
if (defined $response) { } |
|
164
|
0 |
0 |
if ($response == 0) { } |
|
|
0 |
0 |
elsif ($response == -1) { } |
|
177
|
0 |
0 |
unless (defined $response) |
|
186
|
0 |
0 |
unless (defined $response) |
|
190
|
0 |
0 |
if ($loop++ == $params{'timeout'}) |
|
198
|
0 |
0 |
if ($$response{'1.3.6.1.4.1.9.9.96.1.1.1.1.10.' . $instance} == 3) { } |
|
|
0 |
0 |
elsif ($$response{'1.3.6.1.4.1.9.9.96.1.1.1.1.10.' . $instance} == 4) { } |
|
268
|
0 |
0 |
if ($params->{'catos'}) { } |
|
272
|
0 |
0 |
if ($params->{'op'} eq 'put') { } |
|
283
|
0 |
0 |
if ($loop++ == $params->{'timeout'}) |
|
290
|
0 |
0 |
if ($response->{'1.3.6.1.4.1.9.5.1.5.5.0'} == 2) { } |
|
306
|
0 |
0 |
unless (defined $response) |
|
308
|
0 |
0 |
if ($params->{'family'} == $AF_INET6) |
|
312
|
0 |
0 |
if ($params->{'op'} eq 'put') { } |
|
317
|
0 |
0 |
if (defined $response) { } |
|
326
|
0 |
0 |
if ($params->{'op'} eq 'put') { } |
|
335
|
0 |
0 |
$params->{'family'} == 2 ? : |
|
337
|
0 |
0 |
if (defined $response) { } |
|
343
|
0 |
0 |
if ($params->{'family'} == $AF_INET6) |