Branch Coverage

blib/lib/Net/SNMP/Mixin/Dot1qVlanStatic.pm
Criterion Covered Total %
branch 18 50 36.0


line true false branch
124 1 0 unless $session->init_ok($prefix)
162 1 0 unless $session->init_ok($prefix)
180 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
183 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
218 1 0 unless $session->init_ok($prefix)
235 0 0 if _is_tagged($session, $bridge_port, $vlan_id)
238 0 0 if _is_untagged($session, $bridge_port, $vlan_id)
268 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
276 2 2 if $session->error
280 0 2 if $session->error
300 2 2 $session->nonblocking ? :
307 2 2 unless defined $result
308 2 0 if $session->nonblocking
325 2 0 unless defined $vbl
346 2 0 $session->nonblocking ? :
0 2 $session->version ? :
363 0 2 unless defined $result
364 2 0 if $session->nonblocking
381 2 0 unless defined $vbl
453 0 0 unless defined $bridge_port
454 0 0 unless defined $vlan_id
461 0 0 if $is_tagged
469 0 0 unless defined $bridge_port
470 0 0 unless defined $vlan_id
477 0 0 if $is_untagged