Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1dStp.pm
Criterion Covered Total %
branch 19 42 45.2


line true false branch
173 1 0 unless $session->init_ok($prefix)
242 1 0 unless $session->init_ok($prefix)
342 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
352 2 2 if $session->error
355 0 2 if $session->error
372 2 2 $session->nonblocking ? :
381 2 2 unless (defined $result)
383 2 0 if $err_msg
388 2 0 if $session->nonblocking
406 2 0 unless (defined $vbl)
407 2 0 if (my $err_msg = $session->error)
413 0 0 unless (defined $vbl->{'1.3.6.1.2.1.17.2.1.0'})
415 0 0 if $err_msg
470 2 0 $session->nonblocking ? :
484 0 2 unless (defined $result)
488 0 0 if $err_msg
493 2 0 if $session->nonblocking
511 2 0 unless (defined $vbl)
512 2 0 if (my $err_msg = $session->error)
558 0 0 unless $bridgeId
584 0 0 unless $portId