line |
true |
false |
branch |
140
|
1 |
0 |
unless $session->{$prefix}{'__initialized'} |
163
|
1 |
0 |
unless $session->{$prefix}{'__initialized'} |
186
|
1 |
0 |
unless $session->{$prefix}{'__initialized'} |
212
|
0 |
2 |
if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload |
220
|
2 |
2 |
if $session->error |
224
|
0 |
2 |
if $session->error |
228
|
0 |
2 |
if $session->error |
248
|
2 |
2 |
$session->nonblocking ? : |
|
0 |
4 |
$session->version ? : |
262
|
2 |
2 |
unless (defined $result) |
263
|
2 |
0 |
if (my $err_msg = $session->error) |
270
|
2 |
0 |
if $session->nonblocking |
287
|
2 |
0 |
unless (defined $vbl) |
288
|
2 |
0 |
if (my $err_msg = $session->error) |
307
|
0 |
0 |
unless $session->{$prefix}{'_VlanState'}{$vlan_id} == 1 |
327
|
2 |
0 |
$session->nonblocking ? : |
|
0 |
2 |
$session->version ? : |
347
|
0 |
2 |
unless (defined $result) |
348
|
0 |
0 |
if (my $err_msg = $session->error) |
355
|
2 |
0 |
if $session->nonblocking |
372
|
2 |
0 |
unless (defined $vbl) |
373
|
2 |
0 |
if (my $err_msg = $session->error) |
420
|
0 |
0 |
if ($session->{$prefix}{'_VlansEncapsOperType'}{$if_idx} != 4) |
467
|
2 |
0 |
$session->nonblocking ? : |
|
0 |
2 |
$session->version ? : |
479
|
0 |
2 |
unless (defined $result) |
480
|
0 |
0 |
if (my $err_msg = $session->error) |
487
|
2 |
0 |
if $session->nonblocking |
504
|
2 |
0 |
unless (defined $vbl) |
507
|
2 |
0 |
if (not $err_msg =~ /The requested entries are empty or do not exist/i) { } |
508
|
2 |
0 |
if defined $err_msg |
533
|
0 |
0 |
if $session->{$prefix}{'_VlanType'}{$if_idx} != 1 |
557
|
0 |
0 |
if (my $access_vlan = $session->{$prefix}{'AccessVlan'}{$if_idx}) |
558
|
0 |
0 |
if $access_vlan == $vlan_id |
565
|
0 |
0 |
unless defined $session->{$prefix}{'TaggedVlans'}{$if_idx} |
567
|
0 |
0 |
if (substr($session->{$prefix}{'TaggedVlans'}{$if_idx}, $vlan_id, 1) eq 1) |
568
|
0 |
0 |
if ($session->{$prefix}{'NativeVlan'}{$if_idx} != $vlan_id) { } |