| lib/Tie/FileLRUCache.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 33 | 60.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 379 | 0 | 2 | 0 | -e $cache_dir and not -d _ |
| 561 | 4 | 0 | 4 | $n_files > $keep_last and $n_files > 0 |
| 642 | 0 | 4 | 0 | -e $cache_file and not unlink($cache_file) |
| 779 | 0 | 67 | 0 | -e $cache_dir and not -d _ |
| 794 | 0 | 0 | 67 | -e $cache_dir and -d _ |
| 893 | 1 | 0 | 3 | defined $cache_dir and $cache_dir ne '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 173 | 11 | 2 | 0 | ref $proto || $proto || $package |
| 248 | 5 | 39 | 1 | defined $key or defined $cache_key |
| 473 | 2 | 17 | 1 | defined $key or defined $cache_key |
| 608 | 2 | 3 | 1 | defined $key or defined $cache_key |
| 887 | 4 | 0 | 0 | ref $proto || $proto || $package |