Branch Coverage

blib/lib/YAML/CacheLoader.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
39 0 0 if ($force_reload) { }
52 0 0 if $structure
70 0 0 if ($structure)
89 0 0 @cached_files ? :
108 0 0 unless @file_list
121 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)) { }
122 0 0 if 'Cache::RedisDB'->del('YAML-CACHELOADER', $file->canonpath)
126 0 0 if time - $reloaded_ago < $mtime and LoadFile($file, 1)