Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Garbage_Collection0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache_Setup0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Clear_Page_Cache0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Deactivate_WPSC0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Run_Setup0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync\Page_Cache_Entry0%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Logger4%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache5%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Request9%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Settings21%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Storage\File_Storage37%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Error37%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache67%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Utils80%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils81%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Path_Actions\Filter_Older88%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Cache_Preload89%

Project Risks

Class Coverage Complexity CRAP
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache5.5%1018712
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache_Setup0.0%674556
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Request9.7%582532
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Logger4.6%24523
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Settings21.1%28413
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Storage\File_Storage37.3%23153
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync\Page_Cache_Entry0.0%872
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils81.7%4557
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Garbage_Collection0.0%756
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Cache_Preload89.5%2525
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Clear_Page_Cache0.0%420
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Error37.5%718
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache67.6%1216
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Utils80.0%1213
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Deactivate_WPSC0.0%26
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Run_Setup0.0%26
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Path_Actions\Filter_Older88.9%55

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
deactivate0%
preload_cornerstone0%
setup0%
schedule_single_garbage_collection0%
garbage_collect0%
activate0%
deactivate0%
run_setup0%
get_notices0%
add_notice0%
run_step0%
enable_caching0%
verify_wp_content_writable0%
verify_permalink_setting0%
create_settings_file0%
get_advanced_cache_path0%
create_advanced_cache0%
add_wp_cache_define0%
can_run_cache0%
deactivate0%
uninstall0%
delete_advanced_cache0%
delete_wp_cache_constant0%
cleanup_wp_cache_constant0%
find_wp_config0%
clear_opcache0%
write_to_file_direct0%
get_wp_filesystem0%
setup0%
handle_page_output_change0%
deactivate0%
is_ready0%
handle0%
handle0%
handle0%
get0%
set0%
sanitize_value0%
sanitize_wildcards0%
get_error_message0%
to_wp_error0%
create_settings_file0%
log_init_error0%
get_enabled0%
get_bypass_patterns0%
set0%
is_visible_post_type0%
init_actions0%
load_extra0%
serve0%
is_loaded0%
get_storage0%
serve_cached0%
send_header0%
ob_start0%
ob_callback0%
rebuild_front_page0%
invalidate_on_comment_transition0%
rebuild_on_comment_edit0%
rebuild_on_comment_post0%
is_published0%
invalidate_on_post_transition0%
delete_on_post_trash0%
get_post_path_for_invalidation0%
rebuild_post_terms_cache0%
rebuild_author_page0%
rebuild_all0%
delete_post_cache0%
rebuild_post_cache0%
delete_page0%
rebuild_recursive0%
delete_recursive0%
ignore_get_parameters0%
ignore_cookies0%
disable_caching_on_error0%
restore_file0%
get_instance0%
__construct0%
prepare_file0%
log0%
read0%
get_log_file0%
delete_old_logs0%
get_uri0%
get_parameters0%
is_fatal_error0%
is_url_excluded0%
is_cacheable0%
is_bypassed_extension0%
is_backend0%
is_4040%
is_feed0%
is_module_disabled0%
write0%
reset_rebuild_file0%
read0%
get_uri_directory0%
init_settings18%
iterate_files36%
is_available42%
debug42%
get66%
normalize_request_uri66%
write_to_file66%
garbage_collect66%
delete_file75%
is_dir_empty75%
clear76%
request_page78%
delete_empty_dir80%
create_directory83%
rebuild_file83%
sanitize_path83%
apply_to_path85%
validate_path87%

Project Risks

Method Coverage Complexity CRAP
is_cacheable0.0%21462
is_backend0.0%11132
ignore_cookies0.0%10110
read0.0%10110
create_advanced_cache0.0%872
ob_callback0.0%872
invalidate_on_post_transition0.0%872
run_setup0.0%756
serve_cached0.0%756
get_post_path_for_invalidation0.0%756
is_url_excluded0.0%756
add_wp_cache_define0.0%642
delete_wp_cache_constant0.0%642
cleanup_wp_cache_constant0.0%642
ignore_get_parameters0.0%642
init_settings18.8%733
create_settings_file0.0%530
set0.0%530
rebuild_post_terms_cache0.0%530
reset_rebuild_file0.0%530
find_wp_config0.0%420
handle0.0%420
to_wp_error0.0%420
is_visible_post_type0.0%420
serve0.0%420
invalidate_on_comment_transition0.0%420
rebuild_on_comment_post0.0%420
is_module_disabled0.0%420
read0.0%420
run_step0.0%312
enable_caching0.0%312
verify_permalink_setting0.0%312
delete_advanced_cache0.0%312
clear_opcache0.0%312
sanitize_value0.0%312
sanitize_wildcards0.0%312
log_init_error0.0%312
rebuild_front_page0.0%312
delete_on_post_trash0.0%312
delete_post_cache0.0%312
rebuild_post_cache0.0%312
get_instance0.0%312
prepare_file0.0%312
is_4040.0%312
is_feed0.0%312
is_available42.9%59
garbage_collect0.0%26
activate0.0%26
verify_wp_content_writable0.0%26
can_run_cache0.0%26
deactivate0.0%26
uninstall0.0%26
write_to_file_direct0.0%26
handle0.0%26
handle0.0%26
load_extra0.0%26
send_header0.0%26
ob_start0.0%26
rebuild_on_comment_edit0.0%26
is_published0.0%26
rebuild_author_page0.0%26
disable_caching_on_error0.0%26
restore_file0.0%26
__construct0.0%26
is_fatal_error0.0%26
write0.0%26
iterate_files36.4%35
clear76.5%55
normalize_request_uri66.7%44
validate_path87.5%44
debug42.9%34
apply_to_path85.7%44
request_page78.6%33
create_directory83.3%33
rebuild_file83.3%33
write_to_file66.7%33
garbage_collect66.7%33
get66.7%22
delete_file75.0%22
delete_empty_dir80.0%22
is_dir_empty75.0%22
sanitize_path83.3%22