Branch Coverage

blib/lib/ThreatDetector/Parser.pm
Criterion Covered Total %
branch 3 4 75.0


line true false branch
19 0 2 if $VERBOSE
24 1 1 if ($line =~ m(^ (\d{1,3}(?:\.\d{1,3}){3}) # IP \s+ \S+ \s+ \S+ # - - (unused) \s+ \[([^\]]+)\] # [timestamp] \s+ "(GET|POST|PUT|DELETE|HEAD|OPTIONS|PATCH) \s+ ([^"]+?) # URI \s+ HTTP/[0-9.]+" # Protocol \s+ (\d{3}) # Status \s+ (\d+|-) # Size \s+ "([^"]*)" # Referer \s+ "([^"]*)" # User-Agent )x)