Branch Coverage

blib/lib/Cisco/SNMP/ProxyPing.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
53 0 0 if (@_ == 1) { }
58 0 0 if (/^-?host(?:name)?$/i or /^-?dest(?:ination)?$/i) { }
0 0 elsif (/^-?size$/i) { }
0 0 elsif (/^-?family$/i) { }
0 0 elsif (/^-?count$/i) { }
0 0 elsif (/^-?wait$/i or /^-?timeout$/i) { }
0 0 elsif (/^-?vrf(?:name)?$/i) { }
61 0 0 if ($args{$_} =~ /^\d+$/) { }
68 0 0 if ($args{$_} =~ /^(?:(?:(:?ip)?v?(?:4|6))|${\2;}|$AF_INET6)$/) { }
69 0 0 if ($args{$_} =~ /^(?:(?:(:?ip)?v?4)|${\2;})$/) { }
79 0 0 if ($args{$_} =~ /^\d+$/) { }
86 0 0 if ($args{$_} =~ /^\d+$/) { }
101 0 0 unless (defined $params{'host'})
106 0 0 unless (defined $params{'family'})
111 0 0 if (defined(my $ret = Cisco::SNMP::_resolv($params{'host'}, $params{'family'}))) { }
121 0 0 unless (defined $response)
128 0 0 if ($params{'family'} == 2) { }
133 0 0 if ($HAVE_Net_IPv6Addr) { }
149 0 0 $params{'family'} == 2 ? :
150 0 0 unless (defined $response)
165 0 0 if (exists $params{'vrf'})
171 0 0 if (defined $$response{_ppOID() . '.16.' . $instance}) { }
172 0 0 if ($$response{_ppOID() . '.16.' . $instance} != 2)