Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1abLldp.pm
Criterion Covered Total %
branch 27 56 48.2


line true false branch
146 1 0 unless $session->init_ok($prefix)
155 0 0 if defined $result->{'lldpLocChassisIdSubtype'} and $result->{'lldpLocChassisIdSubtype'} == 4
193 1 0 unless $session->init_ok($prefix)
239 1 0 unless $session->init_ok($prefix)
279 1 0 unless $session->init_ok($prefix)
313 0 0 if (defined $chassisIdSubtype and $chassisIdSubtype == 4)
343 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
353 2 2 if $session->error
356 0 2 if $session->error
359 0 2 if $session->error
383 2 2 $session->nonblocking ? :
392 2 2 unless (defined $result)
393 2 0 if (my $err_msg = $session->error)
400 2 0 if $session->nonblocking
417 2 0 unless (defined $vbl)
418 2 0 if (my $err_msg = $session->error)
459 2 0 $session->nonblocking ? :
466 0 2 unless (defined $result)
467 0 0 if (my $err_msg = $session->error)
474 2 0 if $session->nonblocking
493 2 0 unless (defined $vbl)
494 2 0 if (my $err_msg = $session->error)
528 2 0 $session->nonblocking ? :
535 0 2 unless (defined $result)
536 0 0 if (my $err_msg = $session->error)
543 2 0 if $session->nonblocking
561 2 0 unless (defined $vbl)
562 2 0 if (my $err_msg = $session->error)