Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1abLldp.pm
Criterion Covered Total %
branch 25 54 46.3


line true false branch
145 1 0 unless $session->init_ok($prefix)
154 0 0 if defined $result->{'lldpLocChassisIdSubtype'} and $result->{'lldpLocChassisIdSubtype'} == 4
192 0 0 unless $session->init_ok($prefix)
248 1 0 unless $session->init_ok($prefix)
282 0 0 if (defined $chassisIdSubtype and $chassisIdSubtype == 4)
312 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
322 2 2 if $session->error
325 0 2 if $session->error
328 0 2 if $session->error
352 2 2 $session->nonblocking ? :
361 2 2 unless (defined $result)
362 2 0 if (my $err_msg = $session->error)
369 2 0 if $session->nonblocking
386 2 0 unless (defined $vbl)
387 2 0 if (my $err_msg = $session->error)
428 2 0 $session->nonblocking ? :
435 0 2 unless (defined $result)
436 0 0 if (my $err_msg = $session->error)
443 2 0 if $session->nonblocking
462 2 0 unless (defined $vbl)
463 2 0 if (my $err_msg = $session->error)
497 2 0 $session->nonblocking ? :
504 0 2 unless (defined $result)
505 0 0 if (my $err_msg = $session->error)
512 2 0 if $session->nonblocking
530 2 0 unless (defined $vbl)
531 2 0 if (my $err_msg = $session->error)