Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1abLldp.pm
Criterion Covered Total %
branch 30 62 48.3


line true false branch
146 1 0 unless $session->init_ok($prefix)
155 0 0 if defined $result->{'lldpLocChassisIdSubtype'} and $result->{'lldpLocChassisIdSubtype'} == 4
192 1 0 unless $session->init_ok($prefix)
238 1 0 unless $session->init_ok($prefix)
278 1 0 unless $session->init_ok($prefix)
312 0 0 if (defined $chassisIdSubtype and $chassisIdSubtype == 4)
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
358 0 2 if $session->error
382 0 4 $session->version != 0 ? :
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 0 2 $session->version != 0 ? :
2 0 $session->nonblocking ? :
467 0 2 unless (defined $result)
468 0 0 if (my $err_msg = $session->error)
475 2 0 if $session->nonblocking
493 2 0 unless (defined $vbl)
494 2 0 if (my $err_msg = $session->error)
528 0 2 $session->version != 0 ? :
2 0 $session->nonblocking ? :
536 0 2 unless (defined $result)
537 0 0 if (my $err_msg = $session->error)
544 2 0 if $session->nonblocking
562 2 0 unless (defined $vbl)
563 2 0 if (my $err_msg = $session->error)