Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
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\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\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\Lib\Critical_CSS\Critical_CSS_State1%
Automattic\Jetpack_Boost\Lib\Minify\Config1%
Automattic\Jetpack_Boost\Lib\Site_Health4%
Automattic\Jetpack_Boost\Lib\Connection7%
Automattic\Jetpack_Boost\Lib\Analytics10%
Automattic\Jetpack_Boost\Lib\Super_Cache_Config_Compatibility17%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Cornerstone_Provider26%
Automattic\Jetpack_Boost\Lib\Setup28%
Automattic\Jetpack_Boost\Lib\Status31%
Automattic\Jetpack_Boost\Lib\Environment_Change_Detector35%
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils47%
Automattic\Jetpack_Boost\Lib\Super_Cache_Tracking50%
Automattic\Jetpack_Boost\Lib\Storage_Post_Type53%
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Pages64%
Automattic\Jetpack_Boost\Lib\Minify83%
Automattic\Jetpack_Boost\Lib\Premium_Features84%
Automattic\Jetpack_Boost\Lib\Output_Filter84%
Automattic\Jetpack_Boost\Lib\Cache_Compatibility85%
Automattic\Jetpack_Boost\Lib\My_Jetpack85%
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Storage87%

Project Risks

Class Coverage Complexity CRAP
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_JS0.0%918372
Automattic\Jetpack_Boost\Lib\Minify\Concatenate_CSS0.0%553080
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_State1.0%381438
Automattic\Jetpack_Boost\Lib\Super_Cache_Config_Compatibility17.3%37811
Automattic\Jetpack_Boost\Lib\Connection7.8%30735
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\Minify\Config1.9%23523
Automattic\Jetpack_Boost\Lib\CLI0.0%22506
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\Lib\Minify\Cleanup_Stored_Paths0.0%19380
Automattic\Jetpack_Boost\Lib\Critical_CSS\Source_Providers\Providers\Singular_Post_Provider0.0%18342
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\Site_Urls0.0%13182
Automattic\Jetpack_Boost\Lib\Storage_Post_Type53.6%28106
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\Environment_Change_Detector35.9%1683
Automattic\Jetpack_Boost\Lib\Minify\Utils0.0%872
Automattic\Jetpack_Boost\Lib\Analytics10.0%968
Automattic\Jetpack_Boost\Lib\Collection0.0%756
Automattic\Jetpack_Boost\Lib\Critical_CSS\Generator0.0%756
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Pages64.7%2655
Automattic\Jetpack_Boost\Lib\Status31.0%1042
Automattic\Jetpack_Boost\Lib\Cornerstone\Cornerstone_Utils47.8%1441
Automattic\Jetpack_Boost\Lib\Site_Health4.4%637
Automattic\Jetpack_Boost\Lib\Critical_CSS\Admin_Bar_Compatibility0.0%530
Automattic\Jetpack_Boost\Lib\Critical_CSS\Regenerate0.0%530
Automattic\Jetpack_Boost\Lib\Nonce0.0%420
Automattic\Jetpack_Boost\Lib\Critical_CSS\Data_Sync_Actions\Set_Provider_CSS0.0%420
Automattic\Jetpack_Boost\Lib\Minify83.9%1617
Automattic\Jetpack_Boost\Lib\Setup28.6%514
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\Lib\Premium_Features84.0%99
Automattic\Jetpack_Boost\Lib\Output_Filter84.6%88
Automattic\Jetpack_Boost\Lib\Critical_CSS\Critical_CSS_Storage87.5%77
Automattic\Jetpack_Boost\Lib\Cache_Compatibility85.7%44
Automattic\Jetpack_Boost\Lib\My_Jetpack85.7%22

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
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%
delete0%
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%
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%
clear0%
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_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%
__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%
get_yoast_cornerstone_pages16%
get_woocommerce_pages54%
fallback_js58%
get60%
tick66%
initialize_deactivate_disconnect75%
has_feature75%
has_cache85%
get_product85%
get_css87%
asynchronize_stylesheets87%
is_broken_at_eof88%

Project Risks

Method Coverage Complexity CRAP
do_items0.0%765852
do_items0.0%431892
is_compatible0.0%17306
get_critical_source_urls0.0%11132
uri_path_to_fs_path0.0%990
get_provider_sources0.0%872
connection0.0%756
set_provider_error_dismissed0.0%756
has_pending_provider0.0%756
get_critical_source_urls0.0%756
set_module_status0.0%642
get_critical_source_urls0.0%642
__construct0.0%642
dependency_src_to_fs_path0.0%642
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
__construct0.0%530
__construct0.0%530
__construct0.0%420
deactivate_disconnect_network0.0%420
get_connection_api_response0.0%420
clear0.0%420
clear_manually0.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
get_yoast_cornerstone_pages16.7%413
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
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
fallback_js58.3%710
get60.0%710
tick66.7%67
get_woocommerce_pages54.5%57
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_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
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_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
is_broken_at_eof88.9%55
has_cache85.7%44
get_css87.5%44
initialize_deactivate_disconnect75.0%22
get_product85.7%22
has_feature75.0%22