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)$/) { }
70 0 0 if ($args{$_} =~ /^(?:(?:(:?ip)?v?4)|${\2;})$/) { }
80 0 0 if ($args{$_} =~ /^\d+$/) { }
87 0 0 if ($args{$_} =~ /^\d+$/) { }
102 0 0 unless (defined $params{'host'})
107 0 0 unless (defined $params{'family'})
112 0 0 if (defined(my $ret = Cisco::SNMP::_resolv($params{'host'}, $params{'family'}))) { }
127 0 0 unless (defined $response)
134 0 0 if ($params{'family'} == 2) { }
139 0 0 if ($HAVE_Net_IPv6Addr) { }
162 0 0 $params{'family'} == 2 ? :
163 0 0 unless (defined $response)
189 0 0 if (exists $params{'vrf'})
198 0 0 if (defined $$response{_ppOID() . '.16.' . $instance}) { }
199 0 0 if ($$response{_ppOID() . '.16.' . $instance} != 2)