blib/lib/Parse/AccessLog.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
86 | 0 | 4532 | unless defined wantarray |
94 | 2 | 4530 | if (0 < $#_) |
101 | 2 | 4528 | if (-f $line) |
112 | 4528 | 0 | if ($line =~ /^ (\S+) # remote_addr \ \-\ (\S+) # remote_user \ \[([^\]]+)\] # time_local \ "(.*?)" # request \ (\d+) # status \ (\-|(?:\d+)) # bytes_sent \ "(.*?)" # referer \ "(.*?)" # user_agent $ /x) |