| blib/lib/Webalizer/Hist.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 26 | 65.3 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 4 | 0 | $#_ % 2 ? : |
| 21 | 4 | 0 | $my->_parse ? : |
| 27 | 0 | 12 | if ($month) { } |
| 29 | 0 | 0 | if ($$self{'_data'}[$i]{'month'} == $month) |
| 37 | 0 | 12 | if $month > $#{$$self{'_data'};} |
| 41 | 0 | 12 | unless $days |
| 43 | 72 | 48 | if $key =~ /^total(.+)$/ |
| 54 | 24 | 16 | if $key =~ /^total(.+)$/ |
| 59 | 72 | 48 | if $key =~ /^total(.+)$/ |
| 71 | 2 | 2 | if (ref $$self{'source'} eq 'SCALAR') { } |
| 2 | 0 | elsif (not ref $$self{'source'} and $$self{'source'}) { } | |
| 74 | 0 | 2 | unless open my $FH, "<$$self{'source'}" |
| 90 | 2 | 2 | unless $$self{'desc'} |