Branch Coverage

blib/lib/POE/Filter/Snort.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
116 0 0 unless @$line
120 0 0 if ($$self[1] & 2)
121 0 0 unless $line =~ /^\[\*\*\]\s*\[(\d+):(\d+):(\d+)\]\s*(.*?)\s*\[\*\*\]/
136 0 0 if ($line =~ /^\s*$/)
141 0 0 if ($line =~ /\[Classification:\s*(.+?)\s*\]/)
145 0 0 if ($line =~ /\[Priority:\s*(.+?)\s*\]/)
149 0 0 if ($line =~ m[ ^\d+\/\d+-\d+:\d+:\d+\.\d+\s* (\d+\.\d+\.\d+\.\d+):(\d+) # src ipv4 : port \s*->\s* (\d+\.\d+\.\d+\.\d+):(\d+) # dst ipv4 : port ]x) { }
0 0 elsif ($line =~ m[ ^\d+\/\d+-\d+:\d+:\d+\.\d+\s* (\d+\.\d+\.\d+\.\d+) # src ipv4 \s*->\s* (\d+\.\d+\.\d+\.\d+) # dst ipv4 ]x) { }
178 0 0 if $line =~ /<-/
199 0 0 unless @$next