Branch Coverage

blib/lib/Net/SNMP/Security.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
67 1 0 if (/^-?version$/i)
68 1 0 if ($argv{$_} == SNMP_VERSION_1() or $argv{$_} == SNMP_VERSION_2C() or $argv{$_} == SNMP_VERSION_3())
83 0 1 if ($version == SNMP_VERSION_3())
85 0 0 if (defined(my $error = load_module('Net::SNMP::Security::USM')))
87 0 0 wantarray ? :
103 0 0 if (@_ > 1)
137 0 0 $_[1] ? :
0 0 @_ == 2 ? :
149 0 0 if $AUTOLOAD =~ /::DESTROY$/
153 0 0 if (ref $this) { }
173 0 0 unless (defined $$this{'_error'})
174 0 0 @_ > 1 ? :
175 0 0 if ($this->debug)
206 0 0 if exists $modules{$module}
208 0 0 if (not eval "require $module") { }
209 0 0 if ($@ =~ /locate (\S+\.pm)/) { }
0 0 elsif ($@ =~ /(.*)\n/) { }
226 0 0 @_ > 1 ? :
228 0 0 if ($DEBUG)
237 12 0 unless $DEBUG
239 0 0 @_ > 1 ? :