| blib/lib/YAML/CacheLoader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 18 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 39 | 0 | 0 | if ($force_reload) { } |
| 53 | 0 | 0 | if $structure |
| 71 | 0 | 0 | if ($structure) |
| 90 | 0 | 0 | @cached_files ? : |
| 109 | 0 | 0 | unless @file_list |
| 122 | 0 | 0 | if (not $file->exists) { } |
| 0 | 0 | elsif ((my $mtime = $file->stat->mtime) > $cutoff and my $reloaded_ago = 3607 - 'Cache::RedisDB'->ttl('YAML-CACHELOADER', $file->canonpath)) { } | |
| 123 | 0 | 0 | if 'Cache::RedisDB'->del('YAML-CACHELOADER', $file->canonpath) |
| 127 | 0 | 0 | if time - $reloaded_ago < $mtime and LoadFile($file, 1) |