line |
true |
false |
branch |
90
|
0 |
0 |
unless defined $$InputHeaderRef{'TemplateResendSecs'} |
94
|
0 |
0 |
unless defined $$InputHeaderRef{'_header_len'} |
103
|
0 |
0 |
if ($$InputHeaderRef{'TemplateResendSecs'}) |
111
|
0 |
0 |
if ($$template_info{'hash'} ne $hash) |
126
|
0 |
0 |
if (keys %{$$InputHeaderRef{'_template_info'};} > 50) |
129
|
0 |
0 |
if (time - $sent > $$InputHeaderRef{'TemplateResendSecs'}) |
136
|
0 |
0 |
!defined($$template_info{'_template_sent'}) ? : |
148
|
0 |
0 |
if defined $ErrorRef |
151
|
0 |
0 |
if ($sendTemplates) |
153
|
0 |
0 |
if ref $template_info eq 'HASH' |
164
|
0 |
0 |
unless (defined $$FlowRef{'SetId'}) |
174
|
0 |
0 |
if ($$FlowRef{'SetId'} >= 256) { } |
182
|
0 |
0 |
if (defined $DecodeTemplateRef) { } |
203
|
0 |
0 |
if defined $PackRef |
206
|
0 |
0 |
if defined $ErrorRef |
210
|
0 |
0 |
unless (@FlowPacks) |
226
|
0 |
0 |
unless (defined $$FlowPackRef{'Pack'}) |
243
|
0 |
0 |
if (length($$FlowPackRef{'Pack'}) + $TotalLength > $MaxDatagram) |
258
|
0 |
0 |
if $$FlowPackRef{'SetId'} >= 256 |
264
|
0 |
0 |
if ($FlowCount > 0) |
282
|
0 |
0 |
if ($$InputHeaderRef{'VersionNum'} == 10) { } |
288
|
0 |
0 |
if ($$InputHeaderRef{'VersionNum'} != 9) |
289
|
0 |
0 |
if (not defined $$InputHeaderRef{'VersionNum'}) { } |
342
|
0 |
0 |
if ($$HeaderRef{'VersionNum'} == 9) { } |
|
0 |
0 |
elsif ($$HeaderRef{'VersionNum'} == 10) { } |
383
|
0 |
0 |
if (defined $$FlowRef{$$TemplateArrayRef{'Id'}}) { } |
389
|
0 |
0 |
if (ref $$FlowRef{$$TemplateArrayRef{'Id'}}) { } |
407
|
0 |
0 |
if ($$TemplateArrayRef{'Length'} == 65535) { } |
415
|
0 |
0 |
if ($Length < 255) { } |
445
|
0 |
0 |
if ($a =~ /^\d+$/ and $b =~ /^\d+$/) { } |
457
|
0 |
0 |
if ($$TemplateArrayRef{'Length'} == 65535) { } |
490
|
0 |
0 |
unless (defined $$TemplateRef{'TemplateId'}) |
495
|
0 |
0 |
unless (defined $$TemplateRef{'SetId'}) |
500
|
0 |
0 |
if ($$HeaderRef{'VersionNum'} == 9) { } |
|
0 |
0 |
elsif ($$HeaderRef{'VersionNum'} == 10) { } |
502
|
0 |
0 |
if ($$TemplateRef{'SetId'} != 0 and $$TemplateRef{'SetId'} != 1) |
512
|
0 |
0 |
if ($$TemplateRef{'SetId'} != 2 and $$TemplateRef{'SetId'} != 3) |
522
|
0 |
0 |
if $#Errors >= 0 |
526
|
0 |
0 |
if defined $$TemplateRef{'ScopeCount'} |
529
|
0 |
0 |
unless defined $$TemplateRef{'FieldCount'} |
536
|
0 |
0 |
if ($$TemplateRef{'SetId'} == 0) { } |
|
0 |
0 |
elsif ($$TemplateRef{'SetId'} == 1) { } |
|
0 |
0 |
elsif ($$TemplateRef{'SetId'} == 2) { } |
|
0 |
0 |
elsif ($$TemplateRef{'SetId'} == 3) { } |
558
|
0 |
0 |
if ($$TemplateRef{'FieldCount'} == 0) { } |
578
|
0 |
0 |
if ($$TemplateRef{'FieldCount'} == 0) { } |
598
|
0 |
0 |
if ($$TemplateRef{'FieldCount'} > 0) |
606
|
0 |
0 |
if ($$Ref{'Id'} =~ /([\d]+)\.([\d]+)/) { } |
645
|
0 |
1 |
if (ref $NetFlowPktRef ne 'SCALAR') |
658
|
0 |
1 |
if (defined $InputTemplateRef or ref $InputTemplateRef eq 'ARRAY') { } |
|
0 |
1 |
elsif (defined $InputTemplateRef) { } |
679
|
1 |
0 |
if ($$NetFlowHeaderRef{'VersionNum'} == 10) { } |
|
0 |
0 |
elsif ($$NetFlowHeaderRef{'VersionNum'} == 9) { } |
|
0 |
0 |
elsif ($$NetFlowHeaderRef{'VersionNum'} == 5) { } |
|
0 |
0 |
elsif ($$NetFlowHeaderRef{'VersionNum'} == 8) { } |
687
|
0 |
4 |
if (length($$NetFlowPktRef) - $OffSet < 4) |
689
|
0 |
0 |
if ($FlowCount ne $$NetFlowHeaderRef{'Count'}) |
709
|
2 |
2 |
if ($$FlowSetHeaderRef{'SetId'} >= 256) |
713
|
0 |
2 |
unless (defined $DecodeTemplateRef) |
716
|
0 |
0 |
if defined $$FlowSetHeaderRef{'Length'} |
731
|
3 |
4 |
if ($$FlowSetHeaderRef{'Length'} - ($OffSet - $FlowSetOffSet) < 4) |
742
|
2 |
2 |
if ($$FlowSetHeaderRef{'SetId'} < 256) { } |
746
|
0 |
2 |
if (defined $Error) |
755
|
1 |
0 |
if $$_{'TemplateId'} ne $$TemplateRef{'TemplateId'} |
767
|
0 |
2 |
if (defined $Error) |
792
|
0 |
0 |
if (length($$NetFlowPktRef) - $OffSet < 4) |
794
|
0 |
0 |
if ($FlowCount ne $$NetFlowHeaderRef{'Count'}) |
814
|
0 |
0 |
if ($$FlowSetHeaderRef{'SetId'} >= 256) |
818
|
0 |
0 |
unless (defined $DecodeTemplateRef) |
821
|
0 |
0 |
if defined $$FlowSetHeaderRef{'Length'} |
836
|
0 |
0 |
if ($$FlowSetHeaderRef{'Length'} - ($OffSet - $FlowSetOffSet) < 4) |
847
|
0 |
0 |
if ($$FlowSetHeaderRef{'SetId'} < 256) { } |
851
|
0 |
0 |
if (defined $Error) |
860
|
0 |
0 |
if $$_{'TemplateId'} ne $$TemplateRef{'TemplateId'} |
872
|
0 |
0 |
if (defined $Error) |
900
|
0 |
0 |
if (defined $Error) |
939
|
2 |
2 |
if $$_{'TemplateId'} eq $TemplateId |
945
|
0 |
2 |
unless (defined $DecodeTemplateRef) |
967
|
1 |
0 |
if ($NetFlowHeader{'VersionNum'} == 10) { } |
|
0 |
0 |
elsif ($NetFlowHeader{'VersionNum'} == 9) { } |
|
0 |
0 |
elsif ($NetFlowHeader{'VersionNum'} == 8) { } |
|
0 |
0 |
elsif ($NetFlowHeader{'VersionNum'} == 5) { } |
1035
|
1 |
1 |
if ($$FlowSetHeaderRef{'SetId'} == 0 or $$FlowSetHeaderRef{'SetId'} == 2) { } |
|
1 |
0 |
elsif ($$FlowSetHeaderRef{'SetId'} == 3) { } |
|
0 |
0 |
elsif ($$FlowSetHeaderRef{'SetId'} == 1) { } |
1056
|
1 |
0 |
if ($Template{'FieldCount'} != 0) |
1079
|
0 |
2 |
unless defined $Template{'FieldCount'} |
1083
|
11 |
0 |
if ($$FlowSetHeaderRef{'SetId'} <= 3) |
1092
|
11 |
0 |
if ($$VerNumRef >= 10) |
1094
|
10 |
1 |
if ($Template{'Template'}[$n]{'Id'} & 32768) |
1126
|
2 |
0 |
if (defined $$TemplateRef{'TemplateId'}) { } |
1142
|
7 |
4 |
if ($$ref{'Length'} == 65535) { } |
1148
|
0 |
7 |
if ($Length == 255) |
1170
|
0 |
11 |
if (defined $Flow{$$ref{'Id'}}) { } |
1174
|
0 |
0 |
unless ref $Flow{$$ref{'Id'}} |