Branch Coverage

blib/lib/Net/SNMP/Mixin/NXOSDot1dStp.pm
Criterion Covered Total %
branch 22 46 47.8


line true false branch
164 1 0 unless $session->init_ok($prefix)
233 1 0 unless $session->init_ok($prefix)
317 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
333 3 1 if $session->error
336 0 1 if $session->error
353 2 2 $ctx_session->nonblocking ? :
362 2 2 unless (defined $result)
364 2 0 if $err_msg
369 2 0 if $ctx_session->nonblocking
388 2 0 unless (defined $vbl)
389 2 0 if (my $err_msg = $session->{'_error'} = $ctx_session->error)
395 0 0 unless (defined $vbl->{'1.3.6.1.2.1.17.2.1.0'})
436 1 0 $ctx_session->nonblocking ? :
449 0 1 unless (defined $result)
454 0 0 if $err_msg
459 1 0 if $ctx_session->nonblocking
479 1 0 unless (defined $vbl)
480 1 0 if (my $err_msg = $session->{'_error'} = $ctx_session->error)
512 0 0 unless $bridgeId
538 0 0 unless $portId
572 0 4 if $version eq 3
583 0 4 if $error
593 0 4 unless (defined $ctx_session->transport)