| blib/lib/Apache/ParseLog.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 74 | 93 | 79.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 1083 | 32 | 0 | 4 | /^HOST/ and $hostswitch |
| 25 | 3 | 4 | /DATETIME/ || /BYTE/ and not $dtbyteswitch | |
| 25 | 0 | 3 | /DATETIME/ || /BYTE/ and $dtbyteswitch | |
| 17 | 0 | 1 | /SEC/ and $fileswitch | |
| 1086 | 3 | 0 | 1 | $dtswitch and not $visitordone |
| 1174 | 5 | 0 | 1 | scalar @elements == 1 and $elements[0] eq 'UAGENT' |
| 1231 | 29 | 21 | 68 | $BYTE and $BYTE =~ /^\d+$/ |
| 1297 | 152 | 21 | 68 | $BYTE and $BYTE =~ /^\d+$/ |
| 1330 | 0 | 120 | 0 | $UAGENT =~ /^Mozilla/ and $rest =~ /(Webtv.+?)[;)]/ || $rest =~ /(AOL.+?)[;)]/ || $rest =~ /(MSN.+?)[;)]/ || $rest =~ /(MSIE.+?)[;)]/ |
| 0 | 101 | 0 | $UAGENT =~ /Mozilla/ and $rest =~ /compatible\;\s+(.+?)[;)]/ |
| line | l | !l | condition |
|---|---|---|---|
| 471 | 8 | 0 | $serverroot || undef |
| 472 | 7 | 1 | $servername || undef |
| 473 | 7 | 1 | $httpport || undef |
| 474 | 7 | 1 | $serveradmin || undef |
| 533 | 7 | 0 | $$this{'serverroot'} || undef |
| 553 | 2 | 0 | $$this{'servername'} || undef |
| 573 | 1 | 0 | $$this{'httpport'} || undef |
| 593 | 2 | 0 | $$this{'serveradmin'} || undef |
| 613 | 1 | 0 | $$this{'transferlog'} || undef |
| 633 | 2 | 0 | $$this{'errorlog'} || undef |
| 653 | 1 | 0 | $$this{'agentlog'} || undef |
| 673 | 1 | 0 | $$this{'refererlog'} || undef |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 394 | 13 | 1 | 2 | $arg{'serverroot'} || $$this{'serverroot'} |
| 395 | 12 | 1 | 3 | $arg{'servername'} || $$this{'servername'} |
| 396 | 7 | 6 | 3 | $arg{'httpport'} || $$this{'httpport'} |
| 397 | 12 | 1 | 3 | $arg{'serveradmin'} || $$this{'serveradmin'} |
| 398 | 9 | 3 | 4 | $arg{'transferlog'} || $$this{'transferlog'} |
| 399 | 8 | 5 | 3 | $arg{'errorlog'} || $$this{'errorlog'} |
| 400 | 7 | 4 | 5 | $arg{'agentlog'} || $$this{'agentlog'} |
| 401 | 7 | 4 | 5 | $arg{'refererlog'} || $$this{'refererlog'} |
| 402 | 8 | 6 | 2 | $arg{'customlog'} || $$this{'customlog'} |
| 1083 | 4 | 3 | 25 | /DATETIME/ || /BYTE/ |
| 0 | 3 | 25 | /DATETIME/ || /BYTE/ | |
| 1 | 3 | 18 | /FILENAME/ or /URL/ | |
| 1330 | 8 | 11 | 101 | $rest =~ /(Webtv.+?)[;)]/ || $rest =~ /(AOL.+?)[;)]/ || $rest =~ /(MSN.+?)[;)]/ || $rest =~ /(MSIE.+?)[;)]/ |