| lib/Tie/FileLRUCache.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 33 | 60.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 368 | 0 | 2 | 0 | -e $cache_dir and not -d _ |
| 550 | 4 | 0 | 4 | $n_files > $keep_last and $n_files > 0 |
| 631 | 0 | 4 | 0 | -e $cache_file and not unlink($cache_file) |
| 768 | 0 | 67 | 0 | -e $cache_dir and not -d _ |
| 783 | 0 | 0 | 67 | -e $cache_dir and -d _ |
| 882 | 1 | 0 | 3 | defined $cache_dir and $cache_dir ne '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 162 | 11 | 2 | 0 | ref $proto || $proto || $package |
| 237 | 5 | 39 | 1 | defined $key or defined $cache_key |
| 462 | 2 | 17 | 1 | defined $key or defined $cache_key |
| 597 | 2 | 3 | 1 | defined $key or defined $cache_key |
| 876 | 4 | 0 | 0 | ref $proto || $proto || $package |