Branch Coverage

blib/lib/Net/SNMP/Mixin/ArubaCX/VlanStatic.pm
Criterion Covered Total %
branch 27 72 37.5


line true false branch
134 1 0 unless $session->init_ok($prefix)
167 1 0 unless $session->init_ok($prefix)
186 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
189 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
217 1 0 unless $session->init_ok($prefix)
234 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
237 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
267 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
275 2 2 if $session->error
279 0 2 if $session->error
283 0 2 if $session->error
305 2 2 $session->nonblocking ? :
312 2 2 unless (defined $result)
313 2 0 if (my $err_msg = $session->error)
320 2 0 if $session->nonblocking
337 2 0 unless (defined $vbl)
338 2 0 if (my $err_msg = $session->error)
365 2 0 $session->nonblocking ? :
0 2 $session->version ? :
381 0 2 unless (defined $result)
382 0 0 if (my $err_msg = $session->error)
389 2 0 if $session->nonblocking
406 2 0 unless (defined $vbl)
407 2 0 if (my $err_msg = $session->error)
467 2 0 $session->nonblocking ? :
473 0 2 unless (defined $result)
474 0 0 if (my $err_msg = $session->error)
481 2 0 if $session->nonblocking
498 2 0 unless (defined $vbl)
499 2 0 if (my $err_msg = $session->error)
550 0 0 unless defined $bridge_port
551 0 0 unless defined $vlan_id
558 0 0 unless $egressed
561 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
570 0 0 unless defined $bridge_port
571 0 0 unless defined $vlan_id