blib/lib/File/Rotate/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
132 | 17 | 3 | 0 | $max and $index >= $max |
137 | 14 | 5 | 1 | $age and $current->stat->mtime < $age |
176 | 9 | 1 | 1 | $max and $num <= $max |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
176 | 18 | 3 | 8 | $file->exists or $max and $num <= $max |
183 | 14 | 3 | 1 | !$max || $num <= $max |