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\Data_Sync\Mergeable_Array_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\Debug0%
Automattic\Jetpack_Boost\Lib\Nonce0%
Automattic\Jetpack_Boost\Lib\Output_Filter0%
Automattic\Jetpack_Boost\Lib\Premium_Pricing0%
Automattic\Jetpack_Boost\Lib\Site_Urls0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Admin_Bar_Compatibility0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Invalidator0%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Generator0%
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_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\Cornerstone_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\Concatenate_CSS0%
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_JS0%
Automattic\Jetpack_Boost\Lib\Minify\Dependency_Path_Mapping0%
Automattic\Jetpack_Boost\Lib\Minify\File_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\Critical_CSS\CSS_Proxy0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Analyzer0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Invalidator0%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Storage0%
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\Endpoints\Update_Cloud_CSS0%
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\Critical_CSS\Critical_CSS_State1%
Automattic\Jetpack_Boost\Lib\Minify\Config1%
Automattic\Jetpack_Boost\Modules\Optimizations\Render_Blocking_JS\Render_Blocking_JS2%
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\Lib\Critical_CSS\Critical_CSS_Storage6%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_State6%
Automattic\Jetpack_Boost\Data_Sync\Performance_History_Entry8%
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS8%
Automattic\Jetpack_Boost\Admin\Admin8%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Request9%
Automattic\Jetpack_Boost\Data_Sync\Minify_Excludes_State_Entry10%
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_LCP10%
Automattic\Jetpack_Boost\REST_API\Route13%
Automattic\Jetpack_Boost\Lib\Analytics13%
Automattic\Jetpack_Boost\Lib\Storage_Post_Type14%
Automattic\Jetpack_Boost\Lib\Super_Cache_Config_Compatibility17%
Automattic\Jetpack_Boost\Data_Sync\Modules_State_Entry17%
Automattic\Jetpack_Boost\Lib\Connection18%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Settings21%
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils21%
Automattic\Jetpack_Boost\Lib\Setup28%
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\Critical_CSS29%
Automattic\Jetpack_Boost\Lib\Minify30%
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\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Error37%
Automattic\Jetpack_Boost\REST_API\Endpoints\List_Source_Providers42%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Bg_Image43%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimization_Util43%
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_Common47%
Automattic\Jetpack_Boost\Modules\Modules_Setup49%
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\Modules\Optimizations\Minify\Minify_CSS55%
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_JS55%
Automattic\Jetpack_Boost\Jetpack_Boost57%
Automattic\Jetpack_Boost\Modules\Module58%
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\Lcp63%
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\REST_API\REST_API66%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache67%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils77%
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Boost_Cache_Utils80%
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\Modules\Optimizations\Lcp\LCP_Optimize_Img_Tag88%
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\Lib\Minify\Concatenate_JS0.0%918372
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Page_Cache_Setup0.0%674556
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_CSS0.0%553080
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Request9.6%602715
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_State1.0%391514
Automattic\Jetpack_Boost\Modules\Optimizations\Render_Blocking_JS\Render_Blocking_JS2.5%381375
Automattic\Jetpack_Boost\Modules\Optimizations\Cloud_CSS\Cloud_CSS8.1%361040
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_State6.8%32862
Automattic\Jetpack_Boost\Lib\Super_Cache_Config_Compatibility17.3%37811
Automattic\Jetpack_Boost\Lib\CLI0.0%26702
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\Lib\Minify\Dependency_Path_Mapping0.0%25650
Automattic\Jetpack_Boost\Lib\Connection18.4%32588
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Logger4.6%25567
Automattic\Jetpack_Boost\Lib\Minify\Config1.9%23523
Automattic\Jetpack_Boost\Lib\Storage_Post_Type14.3%28521
Automattic\Jetpack_Boost\Modules\Modules_Setup49.5%54428
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\Lib\Critical_CSS\Source_Providers\Providers\Singular_Post_Provider0.0%18342
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_Cloud_CSS0.0%18342
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Bg_Image43.1%40334
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\CSS_Proxy0.0%17306
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\Source_Providers\Providers\Cornerstone_Provider0.0%14210
Automattic\Jetpack_Boost\Modules\Module58.2%45192
Automattic\Jetpack_Boost\Lib\Site_Urls0.0%13182
Automattic\Jetpack_Boost\REST_API\Endpoints\Update_LCP10.7%15175
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Storage\File_Storage37.3%23153
Automattic\Jetpack_Boost\Jetpack_Boost57.3%35130
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide4.9%11115
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils21.7%14107
Automattic\Jetpack_Boost\Modules\Optimizations\Critical_CSS\Critical_CSS29.7%16104
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Invalidator0.0%990
Automattic\Jetpack_Boost\Modules\Image_Guide\Image_Guide_Proxy0.0%990
Automattic\Jetpack_Boost\Lib\Environment_Change_Detector35.9%1683
Automattic\Jetpack_Boost\Data_Sync\Getting_Started_Entry0.0%872
Automattic\Jetpack_Boost\Lib\Output_Filter0.0%872
Automattic\Jetpack_Boost\Lib\Minify\Utils0.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\Data_Sync\Modules_State_Entry17.6%1065
Automattic\Jetpack_Boost\Lib\Analytics13.6%961
Automattic\Jetpack_Boost\Lib\Collection0.0%756
Automattic\Jetpack_Boost\Lib\Critical_CSS\Generator0.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\Critical_CSS\Critical_CSS_Storage6.2%747
Automattic\Jetpack_Boost\Data_Sync\Performance_History_Entry8.0%745
Automattic\Jetpack_Boost\Admin\Admin8.6%744
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Pre_WordPress\Filesystem_Utils77.2%3244
Automattic\Jetpack_Boost\Lib\Status31.0%1042
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Storage0.0%642
Automattic\Jetpack_Boost\REST_API\Permissions\Nonce0.0%642
Automattic\Jetpack_Boost\Modules\Optimizations\Lcp\LCP_Optimize_Img_Tag88.1%3941
Automattic\Jetpack_Boost\Lib\Site_Health4.4%637
Automattic\Jetpack_Boost\Modules\Optimizations\Minify\Minify_Common47.8%1337
Automattic\Jetpack_Boost\Data_Sync\Minify_Excludes_State_Entry10.0%632
Automattic\Jetpack_Boost\Data_Sync\Mergeable_Array_Entry0.0%530
Automattic\Jetpack_Boost\Lib\Critical_CSS\Admin_Bar_Compatibility0.0%530
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\Lcp\Lcp63.9%1730
Automattic\Jetpack_Boost\Modules\Optimizations\Page_Cache\Cache_Preload89.5%2525
Automattic\Jetpack_Boost\Modules\Optimizations\Image_CDN\Quality_Settings64.2%1423
Automattic\Jetpack_Boost\REST_API\Route13.3%521
Automattic\Jetpack_Boost\Lib\Nonce0.0%420
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_CSS0.0%420
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\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\Debug0.0%312
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\Lib\Minify30.0%49
Automattic\Jetpack_Boost\Lib\Premium_Features84.0%99
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
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
handle_admin_menu0%
admin_init0%
enqueue_scripts0%
plugin_page_settings_link0%
render_settings0%
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%
__construct0%
get0%
set0%
merge0%
get0%
set0%
sanitize_value0%
get0%
set0%
merge0%
get0%
set0%
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%
css0%
create0%
verify0%
add_callback0%
tick0%
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%
set0%
get0%
delete0%
get_post_by_name0%
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%
get_list0%
get_custom_list0%
is_cornerstone_page_by_url0%
sanitize_url0%
get_provider_key0%
prepare_provider_data0%
is_current_page_cornerstone0%
is_cornerstone_page0%
init0%
enable_asynchronous_admin_bar0%
dequeue_admin_bar0%
force_admin_bar_stylesheet0%
init0%
reset_data0%
handle_environment_change0%
update_boost_problem_count0%
is_cloud_css0%
clear0%
save0%
set_error0%
set_provider_error_dismissed0%
update_provider_state0%
set_provider_errors0%
set_provider_success0%
maybe_set_generated0%
has_errors0%
get_error_message0%
is_generated0%
is_requesting0%
prepare_request0%
set_pending_providers0%
prepare_for_generation0%
get0%
has_pending_provider0%
store_css0%
clear0%
get_css0%
init0%
force_logged_out_render0%
is_generating_critical_css0%
get_generation_metadata0%
display_generate_meta0%
is_cloud_css0%
start0%
get_state0%
handle0%
handle0%
unmask_content0%
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_provider_key0%
get_current_storage_keys0%
get_request_url0%
get_keys0%
get_hash_for_url0%
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%
get_critical_source_urls0%
get_current_storage_keys0%
get_keys0%
describe_key0%
get_edit_url0%
owns_key0%
get_provider_name0%
get_success_ratio0%
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%
__construct0%
do_items0%
print_style_tag0%
__isset0%
__unset0%
__get0%
__set0%
__construct0%
has_inline_content0%
do_items0%
get_script_type0%
__isset0%
__unset0%
__get0%
__set0%
get_legacy_cache_dir_path0%
get_abspath0%
can_use_static_cache0%
can_use_cache0%
ensure_dir_exists0%
is_dir_writable0%
log_error0%
__construct0%
dependency_src_to_fs_path0%
uri_path_to_fs_path0%
is_internal_uri0%
is_descendant_uri0%
set0%
jsonSerialize0%
get_paths0%
jsonUnserialize0%
generate_cache_id0%
cache_prefix0%
__construct0%
json_encode0%
unslash0%
parse_url0%
on_activate0%
on_deactivate0%
indicate_page_output_changed0%
get_submodules0%
get_available_submodules0%
update0%
get_status0%
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%
display_critical_css0%
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%
display_critical_css0%
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%
preload_background_images0%
print_preload_links0%
add_bg_style_override0%
clear0%
save0%
set_error0%
update_page_state0%
set_page_success0%
set_page_errors0%
maybe_set_analyzed0%
is_analyzed0%
is_pending0%
prepare_request0%
get_pages0%
set_pages0%
set_pending_pages0%
get0%
__construct0%
store_lcp0%
clear0%
get_lcp0%
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%
start_output_filtering0%
handle_output_stream0%
get_script_tags0%
ignore_exclusion_scripts0%
recalculate_buffer_split0%
append_script_tags0%
handle_exclusions0%
add_ignore_attribute0%
is_opened_script0%
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%
response0%
flatten_url_errors0%
permissions0%
name0%
request_methods0%
response0%
verify0%
__construct0%
verify0%
generate_nonce0%
save_generated_nonce0%
get_generated_nonces0%
verify0%
get_yoast_cornerstone_pages16%
init_settings18%
iterate_files36%
is_available42%
debug42%
notice_page_output_change_of_module50%
get_cornerstone_urls50%
get_woocommerce_pages54%
get60%
js60%
handle_environment_change66%
is_disabled_dev_feature66%
get_lcp_image_url66%
get_state66%
get66%
normalize_request_uri66%
write_to_file66%
garbage_collect66%
is_optimizing72%
sanitize_value75%
initialize_deactivate_disconnect75%
has_feature75%
delete_file75%
is_dir_empty75%
clear76%
get_sizes77%
request_page78%
get_ready_active_optimization_modules80%
can_optimize80%
delete_empty_dir80%
get_development_features83%
handle_version_change83%
create_directory83%
rebuild_file83%
sanitize_path83%
find_element84%
has_cache85%
get_product85%
apply_to_path85%
optimize_image86%
get_responsive_image_rules87%
asynchronize_stylesheets87%
is_available87%
validate_path87%
get_image_set88%
get_active_parent_modules88%
add_responsive_image_attributes88%
reduce_widths88%
register_data_sync88%
register_data_sync88%

Project Risks

Method Coverage Complexity CRAP
do_items0.0%765852
do_items0.0%431892
should_skip_optimization0.0%21462
is_cacheable0.0%21462
start_output_filtering0.0%21462
is_compatible0.0%17306
handle_css_proxy0.0%15240
response0.0%13182
on_module_status_update0.0%12156
response0.0%12156
get_critical_source_urls0.0%11132
is_backend0.0%11132
ignore_cookies0.0%10110
read0.0%10110
uri_path_to_fs_path0.0%990
display_critical_css0.0%990
is_url_excluded0.0%990
connection0.0%872
get_provider_sources0.0%872
handle_proxy0.0%872
add_bg_style_override0.0%872
create_advanced_cache0.0%872
ob_callback0.0%872
invalidate_on_post_transition0.0%872
activate0.0%756
module0.0%756
get0.0%756
set_provider_error_dismissed0.0%756
has_pending_provider0.0%756
get_critical_source_urls0.0%756
display_critical_css0.0%756
run_setup0.0%756
serve_cached0.0%756
get_post_path_for_invalidation0.0%756
maybe_handle_dismissal0.0%642
maybe_render0.0%642
get0.0%642
set_module_status0.0%642
tick0.0%642
get_critical_source_urls0.0%642
__construct0.0%642
dependency_src_to_fs_path0.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
init_settings18.8%733
get0.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
__construct0.0%530
__construct0.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
set0.0%420
__construct0.0%420
deactivate_disconnect_network0.0%420
get_connection_api_response0.0%420
clear0.0%420
clear_manually0.0%420
get_css0.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
has_inline_content0.0%420
can_use_cache0.0%420
is_dir_writable0.0%420
on_deactivate0.0%420
preload_background_images0.0%420
set_pending_pages0.0%420
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
handle_output_stream0.0%420
get_responsive_image_rules87.2%1717
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
getting_started0.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
set0.0%312
get_post_by_name0.0%312
make_relative_url0.0%312
update_provider_state0.0%312
maybe_set_generated0.0%312
handle0.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
print_style_tag0.0%312
get_legacy_cache_dir_path0.0%312
can_use_static_cache0.0%312
ensure_dir_exists0.0%312
log_error0.0%312
is_internal_uri0.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
print_preload_links0.0%312
update_page_state0.0%312
maybe_set_analyzed0.0%312
is_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
verify_permissions0.0%312
is_optimizing72.7%89
optimize_image86.4%99
is_available42.9%59
notice_page_output_change_of_module50.0%58
get_woocommerce_pages54.5%57
is_available87.5%77
get_lcp_image_url66.7%67
find_element84.6%77
get_sizes77.8%77
handle_admin_menu0.0%26
init0.0%26
handle_version_change83.3%66
uninstall0.0%26
set0.0%26
get0.0%26
get0.0%26
sanitize_value0.0%26
critical_css_has_errors0.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
css0.0%26
add_callback0.0%26
get_post_urls0.0%26
delete0.0%26
is_cache_restrictions_configured0.0%26
get_custom_list0.0%26
is_cornerstone_page_by_url0.0%26
enable_asynchronous_admin_bar0.0%26
reset_data0.0%26
handle_environment_change0.0%26
update_boost_problem_count0.0%26
is_cloud_css0.0%26
save0.0%26
set_error0.0%26
has_errors0.0%26
get_error_message0.0%26
set_pending_providers0.0%26
asynchronize_stylesheets87.5%66
init0.0%26
force_logged_out_render0.0%26
is_cloud_css0.0%26
start0.0%26
get_current_storage_keys0.0%26
get_post_types0.0%26
get_critical_source_urls0.0%26
get_request_url0.0%26
get_hash_for_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
get_script_type0.0%26
get_abspath0.0%26
json_encode0.0%26
parse_url0.0%26
get_submodules0.0%26
get_status0.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
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
save0.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
log0.0%26
is_fatal_error0.0%26
write0.0%26
get_script_tags0.0%26
append_script_tags0.0%26
handle_exclusions0.0%26
register_rest_routes0.0%26
flatten_url_errors0.0%26
verify0.0%26
can_optimize80.0%55
iterate_files36.4%35
clear76.5%55
has_cache85.7%44
get_active_parent_modules88.9%44
get_image_set88.2%44
add_responsive_image_attributes88.9%44
get_state66.7%44
normalize_request_uri66.7%44
validate_path87.5%44
debug42.9%34
apply_to_path85.7%44
get_development_features83.3%33
get60.0%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
handle_environment_change66.7%22
sanitize_value75.0%22
initialize_deactivate_disconnect75.0%22
js60.0%22
get_product85.7%22
has_feature75.0%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