Condition Coverage

blib/lib/File/Cache.pm
Criterion Covered Total %
condition 37 72 51.3


and 3 conditions

line !l l&&!r l&&r condition
273 0 0 315 defined $serialized_cache_description_ref and defined $$serialized_cache_description_ref
397 0 0 945 $key and $value
834 0 13 33 defined $directory and not -e $directory
841 0 0 13 -d $directory and -w $directory
961 0 313 1869 defined $directory and not -e $file
1053 297 3 90 -f $file and $file ne $sCACHE_DESCRIPTION_FILENAME
1705 0 0 6 $success and $username

or 3 conditions

line l !l&&r !l&&!r condition
135 0 13 0 ref $proto || $proto
616 0 0 0 $errors or $@
1101 0 124 0 $time || time
1157 0 0 0 $cache_key || _BUILD_DEFAULT_CACHE_KEY()
1234 552 552 720 $dirent eq '.' or $dirent eq '..'
1274 24 0 0 not defined $best_nearest_expiration_time or $best_nearest_expiration_time > $nearest_expiration_time_candidate
1345 261 261 345 $dirent eq '.' or $dirent eq '..'
1377 255 3 81 not defined $best_latest_accessed_time or $best_latest_accessed_time > $latest_accessed_time_candidate
1595 12 0 0 $cache_key || _BUILD_DEFAULT_CACHE_KEY()
1621 3 0 0 $cache_key || _BUILD_DEFAULT_CACHE_KEY()
1671 3383 3383 4382 $dirent eq '.' or $dirent eq '..'
1740 0 0 5853 not defined $untainted_string or $untainted_string ne $string
1785 195 195 243 $dirent eq '.' or $dirent eq '..'
1954 0 13 0 $global_expires_in > 0 or $global_expires_in == $File::Cache::sEXPIRES_NEVER
13 0 0 $global_expires_in > 0 or $global_expires_in == $File::Cache::sEXPIRES_NEVER or $global_expires_in == $File::Cache::sEXPIRES_NOW
2099 5 8 0 $max_size > 0 or $max_size == $File::Cache::sNO_MAX_SIZE
2165 13 0 0 $persistence_mechanism eq 'Storable' or $persistence_mechanism eq 'Data::Dumper'