Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1qVlanStatic.pm
Criterion Covered Total %
branch 23 70 32.8


line true false branch
122 2 0 unless $session->init_ok($prefix)
155 1 0 unless $session->init_ok($prefix)
174 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
177 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
205 1 0 unless $session->init_ok($prefix)
222 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
225 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
262 1 0 unless $session->init_ok($prefix)
279 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
282 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
306 1 0 unless $session->init_ok($prefix)
322 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
325 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
354 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
363 2 2 if $session->error
367 0 2 if $session->error
383 2 2 $session->nonblocking ? :
390 2 2 unless (defined $result)
391 2 0 if (my $err_msg = $session->error)
398 2 0 if $session->nonblocking
415 2 0 unless (defined $vbl)
416 2 0 if (my $err_msg = $session->error)
443 2 0 $session->nonblocking ? :
0 2 $session->version ? :
460 0 2 unless (defined $result)
461 0 0 if (my $err_msg = $session->error)
468 2 0 if $session->nonblocking
485 2 0 unless (defined $vbl)
486 2 0 if (my $err_msg = $session->error)
562 0 0 unless defined $bridge_port
563 0 0 unless defined $vlan_id
570 0 0 if $is_tagged
578 0 0 unless defined $bridge_port
579 0 0 unless defined $vlan_id
585 0 0 if $is_untagged