Branch Coverage

blib/lib/Net/SNMP/Mixin.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
138 2 6 if grep /^$mixin$/, @class_mixins
142 3 3 if (ref $self) { }
149 1 2 if grep /^$mixin$/, @{$$self{$prefix}{'mixins'};}
174 1 2 if $@
189 1 1 if ($pkg_reaper)
201 1 1 if $@
216 1 1 if 'Package::Generator'->package_exists($pkg_name)
254 0 1 unless ref $session
257 0 1 if defined $$session{$prefix}{'mixins'}
263 1 0 unless (scalar @all_mixins)
277 0 0 if $@
305 0 2 if (my $net_snmp_error = $session->error)
306 0 0 unless grep /\Q$net_snmp_error\E$/, @errors
310 1 1 if ($clear)
319 0 2 wantarray ? :