Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1qVlanStatic.pm
Criterion Covered Total %
branch 20 62 32.2


line true false branch
126 2 0 unless $session->init_ok($prefix)
159 1 0 unless $session->init_ok($prefix)
178 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
181 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
209 1 0 unless $session->init_ok($prefix)
226 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
229 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
266 1 0 unless $session->init_ok($prefix)
283 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
286 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
310 1 0 unless $session->init_ok($prefix)
326 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
329 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
358 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
367 2 2 if $session->error
371 0 2 if $session->error
387 2 2 $session->nonblocking ? :
394 2 2 unless defined $result
395 2 0 if $session->nonblocking
412 2 0 unless defined $vbl
435 2 0 $session->nonblocking ? :
0 2 $session->version ? :
452 0 2 unless defined $result
453 2 0 if $session->nonblocking
470 2 0 unless defined $vbl
542 0 0 unless defined $bridge_port
543 0 0 unless defined $vlan_id
550 0 0 if $is_tagged
558 0 0 unless defined $bridge_port
559 0 0 unless defined $vlan_id
565 0 0 if $is_untagged