Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Automattic\Jetpack_Boost\Admin\Regenerate_Admin_Notice0%
Automattic\Jetpack_Boost\Data_Sync\Critical_CSS_Meta_Entry0%
Automattic\Jetpack_Boost\Data_Sync\Getting_Started_Entry0%
Automattic\Jetpack_Boost\Lib\Assets0%
Automattic\Jetpack_Boost\Lib\Boost_Health0%
Automattic\Jetpack_Boost\Lib\CLI0%
Automattic\Jetpack_Boost\Lib\Collection0%
Automattic\Jetpack_Boost\Lib\Nonce0%
Automattic\Jetpack_Boost\Lib\Premium_Pricing0%
Automattic\Jetpack_Boost\Lib\Site_Urls0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Invalidator0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Regenerate0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Regenerate_CSS0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_Error_Dismissed0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_Errors0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Source_Providers0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Archive_Provider0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Post_ID_Provider0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Provider0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Singular_Post_Provider0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Taxonomy_Provider0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\WP_Core_Provider0%
Automattic\Jetpack_Boost\Lib\Minify\Cleanup_Stored_Paths0%
Automattic\Jetpack_Boost\Lib\Minify\Utils0%
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide_Proxy0%
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS_Followup0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Analyzer0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Invalidator0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Utils0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\Optimize_LCP_Endpoint0%
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\REST_API\Permissions\Current_User_Admin0%
Automattic\Jetpack_Boost\REST_API\Permissions\Nonce0%
Automattic\Jetpack_Boost\REST_API\Permissions\Signed_With_Blog_Token0%
Automattic\Jetpack_Boost\Lib\Minify\Config3%
Automattic\Jetpack_Boost\Lib\Site_Health4%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Logger4%
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide4%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache5%
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_LCP7%
Automattic\Jetpack_Boost\Lib\Connection7%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Request9%
Automattic\Jetpack_Boost\Lib\Analytics10%
Automattic\Jetpack_Boost\REST_API\Route13%
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS17%
Automattic\Jetpack_Boost\Lib\Super_Cache_Config_Compatibility17%
Automattic\Jetpack_Boost\Data_Sync\Modules_State_Entry17%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Settings21%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Cornerstone_Provider26%
Automattic\Jetpack_Boost\Lib\Setup28%
Automattic\Jetpack_Boost\Data_Sync\Minify_Excludes_State_Entry30%
Automattic\Jetpack_Boost\Lib\Status31%
Automattic\Jetpack_Boost\Lib\Environment_Change_Detector35%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Storage\File_Storage37%
Automattic\Jetpack_Boost\Lib\Debug37%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Error37%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_State39%
Automattic\Jetpack_Boost\REST_API\Endpoints\List_Source_Providers42%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimization_Util43%
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_Common47%
Automattic\Jetpack_Boost\Data_Sync\Mergeable_Array_Entry50%
Automattic\Jetpack_Boost\Lib\Super_Cache_Tracking50%
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Liar50%
Automattic\Jetpack_Boost\REST_API\Endpoints\List_Cornerstone_Pages50%
Automattic\Jetpack_Boost\REST_API\Endpoints\List_LCP_Analysis50%
Automattic\Jetpack_Boost\REST_API\Endpoints\List_Site_Urls50%
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_Cloud_CSS50%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_State52%
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\CSS_Proxy53%
Automattic\Jetpack_Boost\Modules\Modules_Setup55%
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_CSS55%
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_JS55%
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\Critical_CSS56%
Automattic\Jetpack_Boost\Modules\Module58%
Automattic\Jetpack_Boost\Jetpack_Boost62%
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_JS63%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Bg_Image63%
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Quality_Settings64%
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Pages64%
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Image_CDN66%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\Lcp66%
Automattic\Jetpack_Boost\REST_API\REST_API66%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache67%
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_CSS69%
Automattic\Jetpack_Boost\Lib\Storage_Post_Type70%
Automattic\Jetpack_Boost\Lib\Minify\File_Paths73%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Storage73%
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils74%
Automattic\Jetpack_Boost\Lib\Position_Aware_Tag_Processor75%
Automattic\Jetpack_Boost\Modules\Optimizations\Render_Blocking_JS\Render_Blocking_JS76%
Automattic\Jetpack_Boost\Lib\Minify\Dependency_Path_Mapping76%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Utils80%
Automattic\Jetpack_Boost\Data_Sync\Performance_History_Entry80%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_CSS80%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils81%
Automattic\Jetpack_Boost\Lib\Minify83%
Automattic\Jetpack_Boost\Lib\Premium_Features84%
Automattic\Jetpack_Boost\Lib\Cache_Compatibility85%
Automattic\Jetpack_Boost\Lib\My_Jetpack85%
Automattic\Jetpack_Boost\Data_Sync\Cornerstone_Pages_Entry86%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Admin_Bar_Compatibility88%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Img_Tag88%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Path_Actions\Filter_Older88%
Automattic\Jetpack_Boost\Lib\Body_Close_Locator89%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Cache_Preload89%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Generator89%

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\Lib\Super_Cache_Config_Compatibility17.3%37811
Automattic\Jetpack_Boost\Lib\Connection7.7%30737
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS17.3%34688
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Source_Providers0.0%25650
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\WP_Core_Provider0.0%25650
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Logger4.6%24523
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_JS63.7%93507
Automattic\Jetpack_Boost\Lib\CLI0.0%22506
Automattic\Jetpack_Boost\Lib\Minify\Config3.7%23495
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Post_ID_Provider0.0%20420
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Taxonomy_Provider0.0%20420
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Settings21.1%28413
Automattic\Jetpack_Boost\Admin\Regenerate_Admin_Notice0.0%19380
Automattic\Jetpack_Boost\Lib\Minify\Cleanup_Stored_Paths0.0%19380
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimization_Util43.6%42357
Automattic\Jetpack_Boost\Modules\Modules_Setup55.5%58355
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Singular_Post_Provider0.0%18342
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_State39.5%33274
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_LCP7.5%18274
Automattic\Jetpack_Boost\Lib\Boost_Health0.0%15240
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Archive_Provider0.0%15240
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_State52.2%42234
Automattic\Jetpack_Boost\Modules\Module58.8%47201
Automattic\Jetpack_Boost\Modules\Optimizations\Render_Blocking_JS\Render_Blocking_JS76.1%90200
Automattic\Jetpack_Boost\Lib\Site_Urls0.0%13182
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Storage\File_Storage37.3%23153
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Bg_Image63.9%45140
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_CSS69.7%55139
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide4.9%11115
Automattic\Jetpack_Boost\Jetpack_Boost62.5%36104
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Cornerstone_Provider26.7%1491
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Invalidator0.0%990
Automattic\Jetpack_Boost\Lib\Critical_CSS\Generator89.5%8289
Automattic\Jetpack_Boost\Lib\Environment_Change_Detector35.9%1683
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\CSS_Proxy53.3%2376
Automattic\Jetpack_Boost\Data_Sync\Getting_Started_Entry0.0%872
Automattic\Jetpack_Boost\Lib\Minify\Utils0.0%872
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide_Proxy0.0%872
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Analyzer0.0%872
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync\Page_Cache_Entry0.0%872
Automattic\Jetpack_Boost\Lib\Storage_Post_Type70.6%3771
Automattic\Jetpack_Boost\Lib\Analytics10.0%968
Automattic\Jetpack_Boost\Data_Sync\Modules_State_Entry17.6%1065
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_Cloud_CSS50.0%1964
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils81.2%4761
Automattic\Jetpack_Boost\Lib\Collection0.0%756
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Invalidator0.0%756
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Garbage_Collection0.0%756
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Pages64.7%2655
Automattic\Jetpack_Boost\Lib\Status31.0%1150
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Img_Tag88.9%4648
Automattic\Jetpack_Boost\REST_API\Permissions\Nonce0.0%642
Automattic\Jetpack_Boost\Lib\Site_Health4.4%637
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_Common47.8%1337
Automattic\Jetpack_Boost\Data_Sync\Performance_History_Entry80.3%2935
Automattic\Jetpack_Boost\Lib\Minify\Dependency_Path_Mapping76.2%2533
Automattic\Jetpack_Boost\Lib\Critical_CSS\Regenerate0.0%530
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS_Followup0.0%530
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\Critical_CSS56.2%1430
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\Lcp66.7%1727
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Cache_Preload89.5%2525
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils74.3%1823
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Quality_Settings64.2%1423
Automattic\Jetpack_Boost\Lib\Body_Close_Locator89.2%2121
Automattic\Jetpack_Boost\REST_API\Route13.3%521
Automattic\Jetpack_Boost\Lib\Nonce0.0%420
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Data_Sync_Actions\Clear_Page_Cache0.0%420
Automattic\Jetpack_Boost\Data_Sync\Minify_Excludes_State_Entry30.0%618
Automattic\Jetpack_Boost\Lib\Debug37.5%718
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Error37.5%718
Automattic\Jetpack_Boost\Lib\Minify83.9%1617
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache67.6%1216
Automattic\Jetpack_Boost\Lib\Setup28.6%514
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_CSS55.6%813
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_JS55.6%813
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Utils80.0%1213
Automattic\Jetpack_Boost\Data_Sync\Cornerstone_Pages_Entry86.4%1212
Automattic\Jetpack_Boost\Lib\Premium_Pricing0.0%312
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_Error_Dismissed0.0%312
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_Errors0.0%312
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Utils0.0%312
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\Optimize_LCP_Endpoint0.0%312
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Liar50.0%610
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Storage73.9%910
Automattic\Jetpack_Boost\Lib\Premium_Features84.0%99
Automattic\Jetpack_Boost\Data_Sync\Mergeable_Array_Entry50.0%58
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_CSS80.8%77
Automattic\Jetpack_Boost\Lib\Position_Aware_Tag_Processor75.0%66
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\Lib\Critical_CSS\Admin_Bar_Compatibility88.9%55
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Path_Actions\Filter_Older88.9%55
Automattic\Jetpack_Boost\REST_API\REST_API66.7%55
Automattic\Jetpack_Boost\Lib\Cache_Compatibility85.7%44
Automattic\Jetpack_Boost\Lib\My_Jetpack85.7%22

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
admin_init0%
plugin_page_settings_link0%
enable0%
dismiss0%
is_enabled0%
get_dismiss_url0%
maybe_handle_dismissal0%
init0%
maybe_render0%
render0%
schedule_version_change0%
whitelist_query_args0%
activate0%
deactivate0%
cleanup_image_size_analysis_data0%
get_plugin_name0%
get_version0%
uninstall0%
get0%
get0%
set0%
set0%
merge0%
set0%
sanitize_value0%
get0%
set0%
merge0%
record_user_event0%
init_tracks_scripts0%
get_tracking_data0%
get_file_url_for_environment0%
__construct0%
get_total_issues0%
get_all_issues0%
is_critical_css_enabled0%
critical_css_needs_regeneration0%
critical_css_has_errors0%
cache_engine_not_loading0%
__construct0%
module0%
getting_started0%
set_module_status0%
connection0%
reset0%
__construct0%
autoload0%
get0%
append0%
delete0%
deactivate_disconnect0%
deactivate_disconnect_network0%
wpcom_blog_id0%
is_connected0%
register0%
disconnect0%
register_rest_routes0%
create_connection_endpoint0%
get_connection_endpoint0%
get_connection_api_response0%
can_manage_connection0%
rest_authorization_required_code0%
is_debug_mode0%
handle_post_change0%
handle_theme_change0%
handle_plugin_change0%
get_available_env_change_statuses0%
is_post_type_invalidating0%
get_post_change_type0%
create0%
verify0%
has_any0%
clear_cache0%
get_yearly_pricing0%
get_instances0%
get_instance_of0%
add_check0%
do_checks0%
get0%
get_wp_core_urls0%
get_post_urls0%
cleanup_post_urls0%
get_public_post_types0%
get_post_group0%
set0%
on_update0%
update_mapped_modules0%
track_module_status0%
clear0%
clear_bulk0%
clear_manually0%
is_compatible0%
include_supercache_config0%
is_cache_restrictions_configured0%
is_save_headers_enabled0%
is_make_known_anon_enabled0%
is_dynamic_cache_enabled0%
is_clear_on_post_edit_enabled0%
is_front_page_checks_enabled0%
is_extra_rejected_uris_enabled0%
is_extra_rejected_user_agents_enabled0%
track_move_to_wpsc0%
make_relative_url0%
is_cornerstone_page_by_url0%
is_current_page_cornerstone0%
is_cornerstone_page0%
force_admin_bar_stylesheet0%
init0%
reset_data0%
handle_environment_change0%
update_boost_problem_count0%
is_cloud_css0%
set_provider_error_dismissed0%
set_provider_errors0%
has_errors0%
get_error_message0%
is_requesting0%
prepare_for_generation0%
has_pending_provider0%
clear0%
get_generation_metadata0%
display_generate_meta0%
is_cloud_css0%
start0%
get_state0%
handle0%
handle0%
handle0%
get_providers0%
get_provider_for_key0%
get_current_request_css_keys0%
get_current_request_css0%
get_current_critical_css_key0%
get_provider_sources0%
make_absolute_urls0%
get_critical_source_urls0%
get_current_storage_keys0%
get_keys0%
get_edit_url0%
describe_key0%
get_post_types0%
get_success_ratio0%
get_critical_source_urls0%
get_current_storage_keys0%
get_request_url0%
get_keys0%
describe_key0%
get_edit_url0%
get_success_ratio0%
get_critical_source_urls0%
get_current_storage_keys0%
describe_key0%
get_edit_url0%
get_current_page_key0%
get_post_ids0%
add_post_id0%
get_keys0%
get_posts0%
get_success_ratio0%
owns_key0%
get_provider_name0%
get_critical_source_urls0%
get_current_storage_keys0%
get_keys0%
get_edit_url0%
describe_key0%
get_post_types0%
post_type_query0%
get_success_ratio0%
get_critical_source_urls0%
get_current_storage_keys0%
get_keys0%
describe_key0%
get_edit_url0%
get_available_taxonomies0%
get_terms0%
get_success_ratio0%
get_critical_source_urls0%
get_keys0%
get_current_storage_keys0%
get_edit_url0%
describe_key0%
get_success_ratio0%
setup_schedule0%
add_cleanup_actions0%
clear_schedules0%
run_cleanup0%
cleanup_stored_paths_batch0%
delete_static_file_by_hash0%
get_stored_paths0%
__unset0%
__unset0%
get_legacy_cache_dir_path0%
can_use_static_cache0%
can_use_cache0%
ensure_dir_exists0%
is_dir_writable0%
log_error0%
get_paths0%
jsonUnserialize0%
__construct0%
json_encode0%
unslash0%
parse_url0%
on_activate0%
on_deactivate0%
indicate_page_output_changed0%
get_submodules0%
get_available_submodules0%
update0%
register_endpoints0%
load_modules0%
init_modules0%
on_module_status_update0%
can_module_run0%
init0%
handle_proxy0%
setup0%
enqueue_assets0%
add_to_adminbar0%
init0%
run0%
schedule0%
unschedule0%
setup0%
activate0%
is_ready0%
get_change_output_action_names0%
generate_cloud_css0%
handle_save_post0%
regenerate_cloud_css0%
is_post_in_latest_providers_list0%
handle_critical_css_invalidated0%
get_all_providers0%
get_existing_sources0%
update_total_problem_count0%
is_ready0%
get_change_output_action_names0%
setup0%
update_total_problem_count0%
init0%
handle_css_proxy0%
setup0%
setup0%
inject_image_cdn_liar_script0%
setup0%
get_change_output_action_names0%
add_quality_args0%
get_quality_for_image0%
get_quality_for_type0%
__construct0%
start0%
start_partial_analysis0%
get_cornerstone_pages0%
analyze_pages0%
get_state0%
get_storage0%
init0%
reset_data0%
reset_and_analyze0%
handle_environment_change0%
handle_post_update0%
should_skip_optimization0%
init0%
clear0%
set_error0%
update_page_state0%
set_page_success0%
set_page_errors0%
maybe_set_analyzed0%
is_pending0%
clear0%
get_current_request_lcp0%
get_analysis_data0%
setup0%
on_wp_load0%
add_output_filter0%
optimize_lcp_img_tag0%
activate0%
is_ready0%
get_change_output_action_names0%
handle_lcp_invalidated0%
handle0%
setup0%
show_legacy_notice0%
activate0%
deactivate0%
setup0%
get_change_output_action_names0%
init_minify0%
deactivate0%
setup0%
get_change_output_action_names0%
init_minify0%
deactivate0%
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%
setup0%
register_rest_routes0%
register_rest_route0%
verify_permissions0%
request_methods0%
response0%
name0%
request_methods0%
response0%
name0%
request_methods0%
response0%
name0%
request_methods0%
response0%
name0%
name0%
request_methods0%
flatten_url_errors0%
permissions0%
name0%
request_methods0%
response0%
verify0%
__construct0%
verify0%
generate_nonce0%
save_generated_nonce0%
get_generated_nonces0%
verify0%
print_preload_links9%
get_yoast_cornerstone_pages16%
is_current_request_excluded16%
init_settings18%
block_login_redirect_header33%
is_url_excluded33%
normalize_url_path33%
is_available42%
debug42%
display_critical_css43%
add_bg_style_override45%
set_error50%
notice_page_output_change_of_module50%
strip_home_path50%
get_cornerstone_urls50%
get52%
clear_page_cache53%
get_woocommerce_pages54%
uri_path_to_fs_path54%
get_exclusion_regex56%
fallback_js58%
dependency_src_to_fs_path58%
do_items58%
get60%
iterate_files60%
display_critical_css63%
do_items64%
response65%
get_modules65%
is_my_jetpack_available66%
handle_environment_change66%
get66%
get66%
log66%
is_disabled_dev_feature66%
get_lcp_image_url66%
get_state66%
set_pages66%
set_pending_pages66%
get66%
normalize_request_uri66%
write_to_file66%
garbage_collect66%
start_output_filtering66%
split_at_kept_scripts68%
has_inline_content70%
is_optimizing72%
sanitize_value75%
initialize_deactivate_disconnect75%
get_token_byte_offset75%
has_feature75%
get_custom_list75%
save75%
delete_file75%
is_dir_empty75%
has_dependents75%
clear76%
request_page78%
alias_screen_id_for_wp_build80%
restore_screen_id_after_wp_build80%
handle80%
get_ready_active_optimization_modules80%
can_optimize80%
delete_empty_dir80%
update_provider_state81%
iterate_directory82%
get_development_features83%
handle_version_change83%
maybe_set_generated83%
preload_background_images83%
create_directory83%
rebuild_file83%
sanitize_path83%
find_element84%
has_cache85%
get_product85%
prime_status_option_caches85%
apply_to_path85%
get86%
is_rest_request86%
optimize_image86%
asynchronize_stylesheets87%
print_style_tag87%
is_available87%
validate_path87%
append_script_tags87%
get_responsive_image_rules87%
get_image_set88%
is_broken_at_eof88%
get_active_parent_modules88%
add_responsive_image_attributes88%
reduce_widths88%
get_sizes88%
register_data_sync88%
register_data_sync88%
find89%
get_srcset89%

Project Risks

Method Coverage Complexity CRAP
do_items59.0%78498
should_skip_optimization0.0%21462
is_cacheable0.0%21462
is_compatible0.0%17306
response0.0%15240
on_module_status_update0.0%12156
get_critical_source_urls0.0%11132
is_backend0.0%11132
do_items64.9%43122
ignore_cookies0.0%10110
read0.0%10110
handle_css_proxy0.0%990
get_provider_sources0.0%872
create_advanced_cache0.0%872
ob_callback0.0%872
invalidate_on_post_transition0.0%872
activate0.0%756
connection0.0%756
set_provider_error_dismissed0.0%756
has_pending_provider0.0%756
get_critical_source_urls0.0%756
handle_proxy0.0%756
run_setup0.0%756
serve_cached0.0%756
get_post_path_for_invalidation0.0%756
is_url_excluded0.0%756
maybe_handle_dismissal0.0%642
maybe_render0.0%642
get0.0%642
set_module_status0.0%642
get_critical_source_urls0.0%642
setup0.0%642
handle_save_post0.0%642
show_legacy_notice0.0%642
add_wp_cache_define0.0%642
delete_wp_cache_constant0.0%642
cleanup_wp_cache_constant0.0%642
ignore_get_parameters0.0%642
get_modules66.0%2241
start_output_filtering66.7%2239
init_settings18.8%733
module0.0%530
update_mapped_modules0.0%530
make_absolute_urls0.0%530
get_critical_source_urls0.0%530
describe_key0.0%530
cleanup_stored_paths_batch0.0%530
get_available_submodules0.0%530
init_modules0.0%530
optimize_lcp_img_tag0.0%530
create_settings_file0.0%530
set0.0%530
rebuild_post_terms_cache0.0%530
reset_rebuild_file0.0%530
add_bg_style_override45.5%922
response65.5%1422
find89.2%2121
set0.0%420
__construct0.0%420
deactivate_disconnect_network0.0%420
get_connection_api_response0.0%420
clear0.0%420
get_current_request_css_keys0.0%420
get_critical_source_urls0.0%420
describe_key0.0%420
get_current_storage_keys0.0%420
get_current_storage_keys0.0%420
describe_key0.0%420
run_cleanup0.0%420
can_use_cache0.0%420
is_dir_writable0.0%420
on_deactivate0.0%420
get_responsive_image_rules87.8%2020
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
is_current_request_excluded16.7%519
uri_path_to_fs_path54.5%916
get52.0%815
display_critical_css43.8%715
get_srcset89.7%1515
get_exclusion_regex56.2%915
get_yoast_cornerstone_pages16.7%413
schedule_version_change0.0%312
get0.0%312
record_user_event0.0%312
get_tracking_data0.0%312
critical_css_needs_regeneration0.0%312
cache_engine_not_loading0.0%312
wpcom_blog_id0.0%312
register0.0%312
is_debug_mode0.0%312
handle_post_change0.0%312
is_post_type_invalidating0.0%312
get_post_change_type0.0%312
verify0.0%312
get_yearly_pricing0.0%312
get_instance_of0.0%312
do_checks0.0%312
get_wp_core_urls0.0%312
cleanup_post_urls0.0%312
get_post_group0.0%312
get86.2%1212
make_relative_url0.0%312
handle0.0%312
handle0.0%312
get_provider_for_key0.0%312
get_current_request_css0.0%312
get_edit_url0.0%312
describe_key0.0%312
get_edit_url0.0%312
delete_static_file_by_hash0.0%312
get_stored_paths0.0%312
get_legacy_cache_dir_path0.0%312
can_use_static_cache0.0%312
ensure_dir_exists0.0%312
log_error0.0%312
unslash0.0%312
on_activate0.0%312
register_endpoints0.0%312
can_module_run0.0%312
is_post_in_latest_providers_list0.0%312
get_quality_for_image0.0%312
get_quality_for_type0.0%312
init0.0%312
update_page_state0.0%312
maybe_set_analyzed0.0%312
is_pending0.0%312
get_analysis_data0.0%312
handle0.0%312
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_url_excluded33.3%512
verify_permissions0.0%312
is_rest_request86.4%1111
fallback_js58.3%710
is_optimizing72.7%89
print_preload_links9.1%39
optimize_image86.4%99
is_available42.9%59
dependency_src_to_fs_path58.3%68
notice_page_output_change_of_module50.0%58
get_sizes88.9%88
get_woocommerce_pages54.5%57
is_available87.5%77
get_lcp_image_url66.7%67
find_element84.6%77
init0.0%26
handle_version_change83.3%66
uninstall0.0%26
set0.0%26
sanitize_value0.0%26
critical_css_has_errors0.0%26
getting_started0.0%26
get0.0%26
append0.0%26
is_connected0.0%26
create_connection_endpoint0.0%26
can_manage_connection0.0%26
rest_authorization_required_code0.0%26
get_token_byte_offset75.0%66
get_post_urls0.0%26
clear_manually0.0%26
is_cache_restrictions_configured0.0%26
is_cornerstone_page_by_url0.0%26
reset_data0.0%26
handle_environment_change0.0%26
update_boost_problem_count0.0%26
is_cloud_css0.0%26
has_errors0.0%26
asynchronize_stylesheets87.5%66
is_cloud_css0.0%26
start0.0%26
handle80.0%66
get_current_storage_keys0.0%26
get_post_types0.0%26
get_critical_source_urls0.0%26
get_request_url0.0%26
get_current_storage_keys0.0%26
describe_key0.0%26
get_current_page_key0.0%26
add_post_id0.0%26
get_posts0.0%26
get_current_storage_keys0.0%26
get_post_types0.0%26
get_available_taxonomies0.0%26
get_keys0.0%26
setup_schedule0.0%26
json_encode0.0%26
parse_url0.0%26
get_submodules0.0%26
add_to_adminbar0.0%26
run0.0%26
generate_cloud_css0.0%26
regenerate_cloud_css0.0%26
get_existing_sources0.0%26
update_total_problem_count0.0%26
display_critical_css63.6%56
update_total_problem_count0.0%26
init0.0%26
inject_image_cdn_liar_script0.0%26
add_quality_args0.0%26
get_cornerstone_pages0.0%26
handle_environment_change0.0%26
handle_post_update0.0%26
set_error0.0%26
get_current_request_lcp0.0%26
add_output_filter0.0%26
setup0.0%26
setup0.0%26
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
strip_home_path50.0%46
register_rest_routes0.0%26
flatten_url_errors0.0%26
verify0.0%26
is_broken_at_eof88.9%55
block_login_redirect_header33.3%35
can_optimize80.0%55
preload_background_images83.3%55
add_responsive_image_attributes88.9%55
iterate_files60.0%45
clear76.5%55
split_at_kept_scripts68.2%55
has_cache85.7%44
has_inline_content70.0%44
get_active_parent_modules88.9%44
prime_status_option_caches85.7%44
get_image_set88.2%44
get_state66.7%44
set_pending_pages66.7%44
normalize_request_uri66.7%44
iterate_directory82.4%44
validate_path87.5%44
debug42.9%34
apply_to_path85.7%44
clear_page_cache53.8%33
restore_screen_id_after_wp_build80.0%33
get_development_features83.3%33
is_my_jetpack_available66.7%33
get60.0%33
log66.7%33
update_provider_state81.8%33
maybe_set_generated83.3%33
print_style_tag87.5%33
is_disabled_dev_feature66.7%33
get_ready_active_optimization_modules80.0%33
reduce_widths88.9%33
request_page78.6%33
create_directory83.3%33
rebuild_file83.3%33
write_to_file66.7%33
garbage_collect66.7%33
append_script_tags87.5%33
has_dependents75.0%33
normalize_url_path33.3%23
alias_screen_id_for_wp_build80.0%22
handle_environment_change66.7%22
sanitize_value75.0%22
get66.7%22
get66.7%22
initialize_deactivate_disconnect75.0%22
get_product85.7%22
has_feature75.0%22
get_custom_list75.0%22
set_error50.0%22
save75.0%22
set_pages66.7%22
get66.7%22
delete_file75.0%22
delete_empty_dir80.0%22
is_dir_empty75.0%22
sanitize_path83.3%22
get_cornerstone_urls50.0%22