Subroutine Coverage

blib/lib/File/Cache.pm
Criterion Covered Total %
subroutine 80 83 96.3
pod 30 32 93.7


line count pod subroutine
5 3 n/a BEGIN
6 3 n/a BEGIN
7 3 n/a BEGIN
8 3 n/a BEGIN
9 3 n/a BEGIN
10 3 n/a BEGIN
11 3 n/a BEGIN
12 3 n/a BEGIN
16 3 n/a BEGIN
134 13 Yes new
255 326 n/a _READ_CACHE_DESCRIPTION
310 11 n/a _SUBDIRECTORIES_PRESENT
341 13 n/a _WRITE_CACHE_DESCRIPTION
373 13 n/a _SERIALIZE_HASH
389 315 n/a _UNSERIALIZE_HASH
412 13 n/a _check_cache_compatibility
456 13 n/a _get_cache_description
474 73 Yes set
537 13 n/a _load_persistence_mechanism
566 73 n/a _SERIALIZE
592 313 n/a _UNSERIALIZE
611 0 n/a __ANON__
634 28 n/a _CLONE
673 38 Yes get
690 3 Yes get_stale
707 41 n/a _get
785 3 Yes remove
806 126 n/a _BUILD_UNIQUE_KEY
827 13 n/a _VERIFY_DIRECTORY
853 1975 n/a _GET_PARENT_DIRECTORY
873 86 n/a _CREATE_DIRECTORY
906 320 n/a _READ_OBJECT_DATA
952 313 n/a _SEARCH_FOR_CACHE_KEY
977 18 n/a _REMOVE_CACHED_FILE
1008 3 Yes clear
1030 3 Yes purge
1046 390 n/a _PURGE_FILE_WRAPPER
1067 90 n/a _PURGE_FILE
1094 124 n/a _S_SHOULD_EXPIRE
1122 75 Yes reduce_size
1152 0 Yes REDUCE_SIZE
1185 12 n/a _CHOOSE_VICTIM_FILE
1216 552 n/a _RECURSIVE_FIND_NEAREST_EXPIRATION
1299 180 n/a _READ_OBJECT_DATA_WITHOUT_MODIFICATION
1327 261 n/a _RECURSIVE_FIND_LATEST_ACCESSED
1403 141 Yes size
1419 126 n/a _get_cached_file_path
1450 73 n/a _build_cached_file_path
1471 126 n/a _EXTRACT_PATH_PREFIX
1494 9302 n/a _BUILD_PATH
1511 628 n/a _READ_FILE
1541 86 n/a _WRITE_FILE
1593 12 n/a CLEAR
1616 3 Yes PURGE
1640 3 Yes SIZE
1655 3383 n/a _RECURSIVE_DIRECTORY_SIZE
1696 6 n/a _FIND_USERNAME
1719 5853 n/a _UNTAINT_FILE_PATH
1730 5853 n/a _UNTAINT_STRING
1754 0 n/a _BUILD_DEFAULT_CACHE_KEY
1770 195 n/a _RECURSIVELY_REMOVE_DIRECTORY
1812 6 Yes get_auto_remove_stale
1824 13 Yes set_auto_remove_stale
1839 374 No get_cache_key
1852 13 No set_cache_key
1875 361 n/a _get_user_path
1891 361 n/a _get_namespace_path
1907 361 Yes get_namespace
1918 13 Yes set_namespace
1941 73 Yes get_global_expires_in
1952 13 Yes set_global_expires_in
1970 6 Yes get_creation_time
1999 3 Yes get_expiration_time
2027 361 Yes get_username
2038 13 Yes set_username
2061 73 Yes get_filemode
2072 13 Yes set_filemode
2086 73 Yes get_max_size
2097 13 Yes set_max_size
2117 126 Yes get_cache_depth
2128 13 Yes set_cache_depth
2142 129 Yes get_persistence_mechanism
2153 13 Yes set_persistence_mechanism