| line |
true |
false |
branch |
|
169
|
0 |
0 |
if (not defined $self->{'opts'}{'d'}) { } |
|
172
|
0 |
0 |
unless (-d $self->{'opts'}{'d'}) |
|
185
|
0 |
0 |
if ($@) |
|
191
|
0 |
0 |
if (ref $threading eq "HASH") |
|
195
|
0 |
0 |
if ($self->{'config'}{'suricata'}{'multi_instance'}) { } |
|
198
|
0 |
0 |
if (defined $self->{'opts'}{'i'}) { } |
|
208
|
0 |
0 |
unless (defined $self->{'config'}{'suricata'}{'instances'}{$instance}) |
|
223
|
0 |
0 |
if ($use_threading) |
|
231
|
0 |
0 |
if ($self->{'opts'}{'w'}) |
|
235
|
0 |
0 |
if ($@) { } |
|
253
|
0 |
0 |
if (defined $self->{'opts'}{'i'}) |
|
261
|
0 |
0 |
if ($use_threading) |
|
269
|
0 |
0 |
if ($self->{'opts'}{'w'}) |
|
273
|
0 |
0 |
if ($@) { } |
|
303
|
0 |
0 |
if (defined $self->{'opts'}{'t'}) |
|
307
|
0 |
0 |
unless ($enable) |
|
314
|
0 |
0 |
if ($^O eq "linux") |
|
319
|
0 |
0 |
if ($@) |
|
326
|
0 |
0 |
if (defined $line_test[0]) |
|
333
|
0 |
0 |
if (defined $line_test[0]) |
|
340
|
0 |
0 |
if (defined $line_test[0]) |
|
353
|
0 |
0 |
if ($line =~ /[\ \t]+NUMANode\ +L\#[0-9]+/) { } |
|
|
0 |
0 |
elsif ($line =~ /[\ \t]+PU\ +L\#[0-9]+/) { } |
|
357
|
0 |
0 |
if ($line =~ /[\ \t]+\(P\#[0-9]+\)/) { } |
|
359
|
0 |
0 |
unless (defined $cores[$node]) |
|
366
|
0 |
0 |
unless (defined $cores[$node]) |
|
376
|
0 |
0 |
if (defined $cores[1]) |
|
384
|
0 |
0 |
if (defined $cores[$node_int]) |
|
388
|
0 |
0 |
if (defined $cores[1]) |
|
394
|
0 |
0 |
if (not defined $self->{'opts'}{'E'}) { } |
|
395
|
0 |
0 |
if (not defined $self->{'config'}{'suricata'}{'auto_threading'}{'exclude'} and $proc_count > 16) { } |
|
|
0 |
0 |
elsif (defined $self->{'config'}{'suricata'}{'auto_threading'}{'exclude'}) { } |
|
399
|
0 |
0 |
if (ref $exclude ne "" and ref $exclude ne "SCALAR") |
|
402
|
0 |
0 |
if ($exclude < 1) |
|
408
|
0 |
0 |
if ($exclude < 1) |
|
415
|
0 |
0 |
if ($exclude > $exclude_test) |
|
433
|
0 |
0 |
if ($exclude_int <= $exclude) { } |
|
474
|
0 |
0 |
if (not $self->{'opts'}{'sno'}) { } |
|
475
|
0 |
0 |
if (defined $instance and defined $self->{'config'}{'suricata'}{'instances'} and defined $self->{'config'}{'suricata'}{'instances'}{$instance} and defined $self->{'config'}{'suricata'}{'instances'}{$instance}{'sensor-name'}) { } |
|
|
0 |
0 |
elsif (defined $self->{'config'}{'suricata'}{'config'}{'sensor-name'}) { } |
|
480
|
0 |
0 |
if (ref $self->{'config'}{'suricata'}{'instances'}{$instance}{'sensor-name'} ne "" and ref $self->{'config'}{'suricata'}{'instances'}{$instance}{'sensor-name'} ne "SCALAR") |
|
491
|
0 |
0 |
if (ref $self->{'config'}{'suricata'}{'config'}{'sensor-name'} ne "" and ref $self->{'config'}{'suricata'}{'config'}{'sensor-name'} ne "SCALAR") |
|
505
|
0 |
0 |
if (defined $self->{'opts'}{'sna'}) |
|
509
|
0 |
0 |
unless ($auto_sensor_name) |
|
512
|
0 |
0 |
if (defined $instance) |
|
522
|
0 |
0 |
if (defined $self->{'opts'}{'snl'}) |
|
525
|
0 |
0 |
unless ($snl) |
|
529
|
0 |
0 |
if (defined $instance) { } |