Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
process_add0%
process_update0%
set_late_default0%
init_before_send0%
reset_data0%
set_callable_whitelist0%
get_callable_whitelist0%
get_all_callables0%
get_callable0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
unlock_sync_callable0%
unlock_sync_callable_next_tick0%
unlock_plugin_action_link_and_callables0%
set_plugin_action_links0%
should_send_callable0%
maybe_sync_callables0%
get_always_sent_callables0%
expand_callables0%
total0%
get_objects_by_id0%
get_object_by_id0%
id_field0%
table0%
get_object_by_id0%
handle_comment_contents_modification0%
get_whitelisted_comment_types_sql0%
only_allow_white_listed_comment_types0%
filter_blacklisted_post_types0%
only_allow_white_listed_comment_type_transitions0%
filter_jetpack_sync_before_enqueue_wp_insert_comment0%
is_comment_type_allowed0%
init_before_send0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_where_sql0%
get_full_sync_actions0%
count_full_sync_actions0%
expand_wp_comment_status_change0%
expand_wp_insert_comment0%
filter_comment0%
is_whitelisted_comment_meta0%
filter_meta0%
expand_comment_ids0%
extract_comments_and_meta0%
get_next_chunk0%
init_before_send0%
reset_data0%
set_constants_whitelist0%
get_constants_whitelist0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
maybe_sync_constants0%
get_all_constants0%
get_constant0%
expand_constants0%
total0%
get_objects_by_id0%
get_object_by_id0%
get_sync_progress_percentage0%
is_finished0%
get_initial_progress0%
get_content_range0%
get_range0%
continue_enqueuing0%
continue_sending0%
send0%
get_remaining_modules_to_send0%
maybe_send_full_sync_start0%
maybe_send_cancelled_action0%
send_full_sync_end0%
update_sent_progress_action0%
name0%
init_full_sync_listeners0%
init_before_send0%
start0%
continue_enqueuing0%
get_remaining_modules_to_enqueue0%
enqueue0%
queue_full_sync_end0%
get_range0%
get_content_range0%
update_sent_progress_action0%
get_sync_progress_percentage0%
get_action_name0%
get_action_totals0%
get_actions_totals0%
is_started0%
is_finished0%
get_status0%
clear_status0%
reset_data0%
get_status_option0%
update_status_option0%
set_enqueue_status0%
delete_enqueue_status0%
get_enqueue_status0%
set_config0%
delete_config0%
get_config0%
sync_import_action0%
get_importer_name0%
get_calling_importer_class0%
update_nav_menu0%
update_nav_menu_add_item0%
update_nav_menu_update_item0%
remove_just_added_menu_item0%
get_objects_by_id0%
get_object_by_id0%
fetch_prepared_meta_from_db0%
get_prepared_meta_object0%
id_field0%
table0%
full_sync_action_name0%
get_object_by_id0%
init_before_send0%
reset_data0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
count_actions0%
get_check_sum0%
recursive_ksort0%
still_valid_checksum0%
enqueue_all_ids_as_action0%
get_next_chunk0%
get_last_item0%
get_initial_last_sent0%
send_full_sync_actions0%
adjust_chunk_size_if_stuck0%
set_send_full_sync_actions_status0%
send_action0%
get_chunks_with_preceding_end0%
get_metadata0%
get_term_relationships0%
unserialize_meta0%
get_objects_by_id0%
get_min_max_object_ids_for_batches0%
total0%
get_where_sql0%
init_before_send0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
get_all_network_options0%
set_network_options_whitelist0%
get_network_options_whitelist0%
whitelist_network_options0%
is_whitelisted_network_option0%
expand_network_options0%
total0%
init_before_send0%
add_deprecated_options0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
get_options_contentless0%
is_contentless_option0%
filter_theme_mods0%
jetpack_sync_core_icon0%
expand_options0%
total0%
get_objects_by_id0%
get_object_by_id0%
should_enqueue_jetpack_options_update0%
populate_plugins0%
on_upgrader_completion0%
get_plugin_info0%
get_errors0%
plugin_edit_ajax0%
delete_plugin0%
deleted_plugin0%
expand_plugin_data0%
sync_plugins_updated0%
sync_plugins_installed0%
sync_plugins_update_failed0%
table0%
get_object_by_id0%
daily_akismet_meta_cleanup_before0%
daily_akismet_meta_cleanup_after0%
init_before_send0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_where_sql0%
get_full_sync_actions0%
trim_post_meta0%
filter_updated_post_meta_before_send0%
filter_added_post_meta_before_send0%
mark_post_is_being_deleted0%
maybe_skip_deleted_post_meta0%
unmark_post_being_deleted0%
on_before_enqueue_updated_attachment_metadata0%
expand_jetpack_sync_save_post0%
filter_blacklisted_post_types_deleted0%
filter_meta0%
filter_updated_post_meta0%
filter_deleted_post_meta0%
has_valid_meta_args0%
is_allowed_post_meta0%
is_whitelisted_post_meta0%
is_post_type_allowed0%
save_published0%
is_gutenberg_meta_box_update0%
wp_insert_post0%
wp_after_insert_post0%
send_published0%
build_full_sync_action_array0%
expand_posts_with_metadata_and_terms0%
get_min_max_object_ids_for_batches0%
get_next_chunk0%
expand_posts0%
has_login_ability_fallback0%
maybe_log_failed_login_attempt0%
name0%
add_search_post_meta_whitelist0%
add_search_options_whitelist0%
is_indexable0%
get_postmeta_spec0%
get_all_postmeta_keys0%
get_all_option_keys0%
get_all_unindexed_postmeta_keys0%
get_all_taxonomies0%
sync_site_stats0%
add_stats0%
name0%
id_field0%
table0%
init_before_send0%
enqueue_full_sync_actions0%
get_initial_last_sent0%
get_next_chunk0%
get_last_item0%
bulk_enqueue_full_sync_term_relationships0%
estimate_full_sync_actions0%
get_full_sync_actions0%
expand_term_relationships0%
id_field0%
table0%
get_object_by_id0%
get_objects_by_id0%
init_before_send0%
enqueue_full_sync_actions0%
get_where_sql0%
estimate_full_sync_actions0%
get_full_sync_actions0%
save_term_handler0%
filter_blacklisted_taxonomies0%
filter_set_object_terms_no_update0%
expand_term_taxonomy_id0%
expand_raw_terms0%
expand_raw_term_taxonomies0%
expand_raw_term_relationships0%
sync_widget_edit0%
sync_network_allowed_themes_change0%
get_theme_details_for_slugs0%
detect_theme_edit0%
theme_edit_ajax0%
detect_theme_deletion0%
check_upgrader0%
sync_theme_support0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
init_before_send0%
get_full_sync_actions0%
expand_theme_data0%
get_widget_name0%
get_sidebar_name0%
sync_add_widgets_to_sidebar0%
sync_remove_widgets_from_sidebar0%
sync_widgets_reordered0%
sync_sidebar_widgets_actions0%
get_theme_info0%
get_delete_theme_call0%
is_theme_switch0%
total0%
get_objects_by_id0%
init_before_send0%
update_core_network_event0%
update_core0%
get_update_checksum0%
validate_update_change0%
sync_last_event0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
get_all_updates0%
filter_update_keys0%
filter_upgrader_process_complete0%
expand_updates0%
expand_themes0%
reset_data0%
total0%
get_objects_by_id0%
get_object_by_id0%
table0%
id_field0%
get_object_by_id0%
init_before_send0%
get_user0%
sanitize_user0%
expand_user0%
get_real_user_capabilities0%
sanitize_user_and_expand0%
expand_action0%
expand_login_username0%
expand_logout_username0%
wp_login_handler0%
authenticate_handler0%
deleted_user_handler0%
user_register_handler0%
add_user_to_blog_handler0%
save_user_handler0%
add_user_role_handler0%
remove_user_role_handler0%
save_user_role_handler0%
get_flags0%
clear_flags0%
add_flags0%
maybe_save_user_meta0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_where_sql0%
get_full_sync_actions0%
get_initial_sync_user_config0%
expand_users0%
remove_user_from_blog_handler0%
is_add_new_user_to_blog0%
get_create_user_functions0%
get_add_user_to_blog_functions0%
get_delete_user_functions0%
is_function_in_backtrace0%
name0%
table0%
__construct0%
get_order_types_to_sync0%
init_listeners0%
init_full_sync_listeners0%
init_before_send0%
id_field0%
get_full_sync_actions0%
get_object_by_id0%
get_objects_by_id0%
build_full_sync_action_array0%
expand_order_object0%
on_before_enqueue_order_save0%
on_before_enqueue_order_trash_delete0%
filter_order_data0%
get_all_possible_order_status_keys0%
get_wc_order_status_with_prefix0%
wc_get_order_status_keys0%
get_metadata0%
estimate_full_sync_actions0%
enqueue_full_sync_actions0%
get_where_sql0%
get_next_chunk0%
__construct0%
name0%
table0%
id_field0%
full_sync_action_name0%
init_listeners0%
init_full_sync_listeners0%
get_full_sync_actions0%
init_before_send0%
action_wp_delete_post0%
action_wp_trash_post0%
expand_product_data0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_objects_by_id0%
get_product_by_ids0%
build_full_sync_action_array0%
get_next_chunk0%
get_product_meta_data0%
get_product_posts0%
get_product_cogs_data0%
get_product_types0%
datetime_to_object0%
is_a_product_post0%
table0%
id_field0%
full_sync_action_name0%
__construct0%
name0%
init_listeners0%
init_full_sync_listeners0%
get_full_sync_actions0%
init_before_send0%
filter_order_item0%
add_order_total_to_new_order0%
add_order_total_to_status_changed0%
maybe_append_order_total0%
claim_order_total_emission0%
build_order_total_payload0%
is_paid_order_status0%
filter_customer_updated_meta0%
maybe_sync_customer_meta_update0%
action_delete_user0%
action_customer_meta_updates0%
get_customer_detail_props0%
build_minimal_customer_user_object0%
filter_meta0%
is_whitelisted_order_item_meta0%
action_woocommerce_remove_order_items0%
build_order_item0%
enqueue_full_sync_actions0%
estimate_full_sync_actions0%
get_where_sql0%
add_woocommerce_options_whitelist0%
add_woocommerce_constants_whitelist0%
add_woocommerce_post_meta_whitelist0%
add_woocommerce_comment_meta_whitelist0%
add_review_comment_types0%
filter_action_scheduler_comments0%
get_objects_by_id0%
get_order_item_by_ids0%
build_full_sync_action_array0%
get_next_chunk0%
__construct0%
name0%
get_wp_super_cache_globals0%
add_wp_super_cache_constants_whitelist0%
add_wp_super_cache_callable_whitelist0%
whitelist_options13%
filter_post_content_and_add_links29%
start56%
get_all_options68%
set_defaults75%
filter_jetpack_sync_before_enqueue_jetpack_sync_save_post75%
filter_jetpack_sync_before_enqueue_jetpack_published_post88%

Project Risks

Method Coverage Complexity CRAP
get_update_checksum0.0%29870
theme_edit_ajax0.0%22506
filter_order_data0.0%19380
set_plugin_action_links0.0%18342
maybe_sync_callables0.0%16272
on_upgrader_completion0.0%15240
send_full_sync_actions0.0%14210
start0.0%13182
adjust_chunk_size_if_stuck0.0%13182
check_upgrader0.0%13182
sync_sidebar_widgets_actions0.0%13182
send0.0%12156
plugin_edit_ajax0.0%12156
filter_customer_updated_meta0.0%12156
update_sent_progress_action0.0%11132
get_calling_importer_class0.0%11132
send_published0.0%11132
save_user_handler0.0%11132
add_order_total_to_status_changed0.0%11132
get_objects_by_id0.0%10110
should_enqueue_jetpack_options_update0.0%10110
filter_added_post_meta_before_send0.0%10110
get_product_by_ids0.0%10110
filter_post_content_and_add_links29.3%1594
filter_deleted_post_meta0.0%990
get_objects_by_id0.0%990
add_order_total_to_new_order0.0%990
enqueue0.0%872
sync_import_action0.0%872
filter_set_object_terms_no_update0.0%872
get_product_cogs_data0.0%872
maybe_sync_customer_meta_update0.0%872
get_objects_by_id0.0%756
only_allow_white_listed_comment_types0.0%756
continue_sending0.0%756
get_status0.0%756
get_objects_by_id0.0%756
get_errors0.0%756
filter_updated_post_meta_before_send0.0%756
detect_theme_edit0.0%756
validate_update_change0.0%756
on_before_enqueue_order_save0.0%756
whitelist_options13.3%849
maybe_sync_constants0.0%642
get_objects_by_id0.0%642
get_sync_progress_percentage0.0%642
get_remaining_modules_to_send0.0%642
get_range0.0%642
get_sync_progress_percentage0.0%642
enqueue_all_ids_as_action0.0%642
get_min_max_object_ids_for_batches0.0%642
jetpack_sync_core_icon0.0%642
get_object_by_id0.0%642
on_before_enqueue_updated_attachment_metadata0.0%642
enqueue_full_sync_actions0.0%642
get_objects_by_id0.0%642
maybe_save_user_meta0.0%642
get_product_types0.0%642
get_customer_detail_props0.0%642
get_always_sent_callables0.0%530
filter_meta0.0%530
get_content_range0.0%530
get_remaining_modules_to_enqueue0.0%530
fetch_prepared_meta_from_db0.0%530
get_prepared_meta_object0.0%530
get_objects_by_id0.0%530
maybe_skip_deleted_post_meta0.0%530
filter_blacklisted_post_types_deleted0.0%530
expand_raw_terms0.0%530
expand_raw_term_taxonomies0.0%530
expand_raw_term_relationships0.0%530
sync_widget_edit0.0%530
sync_network_allowed_themes_change0.0%530
sync_remove_widgets_from_sidebar0.0%530
update_core0.0%530
expand_themes0.0%530
authenticate_handler0.0%530
get_objects_by_id0.0%530
is_paid_order_status0.0%530
get_order_item_by_ids0.0%530
set_late_default0.0%420
get_object_by_id0.0%420
handle_comment_contents_modification0.0%420
get_object_by_id0.0%420
get_range0.0%420
continue_enqueuing0.0%420
get_action_totals0.0%420
get_object_by_id0.0%420
daily_akismet_meta_cleanup_before0.0%420
filter_meta0.0%420
has_valid_meta_args0.0%420
save_published0.0%420
is_gutenberg_meta_box_update0.0%420
wp_insert_post0.0%420
wp_after_insert_post0.0%420
sync_add_widgets_to_sidebar0.0%420
sync_widgets_reordered0.0%420
get_delete_theme_call0.0%420
get_object_by_id0.0%420
get_real_user_capabilities0.0%420
expand_logout_username0.0%420
get_order_types_to_sync0.0%420
on_before_enqueue_order_trash_delete0.0%420
get_objects_by_id0.0%420
get_product_meta_data0.0%420
datetime_to_object0.0%420
maybe_append_order_total0.0%420
action_customer_meta_updates0.0%420
process_update0.0%312
should_send_callable0.0%312
expand_callables0.0%312
get_object_by_id0.0%312
filter_blacklisted_post_types0.0%312
get_where_sql0.0%312
get_next_chunk0.0%312
expand_constants0.0%312
get_initial_progress0.0%312
maybe_send_full_sync_start0.0%312
maybe_send_cancelled_action0.0%312
get_content_range0.0%312
get_action_name0.0%312
get_actions_totals0.0%312
remove_just_added_menu_item0.0%312
get_check_sum0.0%312
recursive_ksort0.0%312
still_valid_checksum0.0%312
add_deprecated_options0.0%312
filter_theme_mods0.0%312
get_plugin_info0.0%312
expand_plugin_data0.0%312
sync_plugins_update_failed0.0%312
get_object_by_id0.0%312
get_where_sql0.0%312
trim_post_meta0.0%312
is_whitelisted_post_meta0.0%312
get_next_chunk0.0%312
maybe_log_failed_login_attempt0.0%312
is_indexable0.0%312
get_where_sql0.0%312
save_term_handler0.0%312
filter_blacklisted_taxonomies0.0%312
get_object_by_id0.0%312
get_user0.0%312
sanitize_user0.0%312
expand_user0.0%312
wp_login_handler0.0%312
user_register_handler0.0%312
add_user_to_blog_handler0.0%312
get_where_sql0.0%312
get_initial_sync_user_config0.0%312
expand_order_object0.0%312
wc_get_order_status_keys0.0%312
get_next_chunk0.0%312
expand_product_data0.0%312
get_next_chunk0.0%312
build_order_total_payload0.0%312
filter_meta0.0%312
action_woocommerce_remove_order_items0.0%312
filter_action_scheduler_comments0.0%312
get_next_chunk0.0%312
start56.5%711
filter_jetpack_sync_before_enqueue_jetpack_sync_save_post75.0%1011
filter_jetpack_sync_before_enqueue_jetpack_published_post88.9%1010
reset_data0.0%26
get_callable0.0%26
send_full_sync_actions0.0%26
only_allow_white_listed_comment_type_transitions0.0%26
filter_jetpack_sync_before_enqueue_wp_insert_comment0.0%26
is_comment_type_allowed0.0%26
init_before_send0.0%26
estimate_full_sync_actions0.0%26
filter_comment0.0%26
send_full_sync_actions0.0%26
get_constant0.0%26
send_full_sync_end0.0%26
clear_status0.0%26
get_status_option0.0%26
get_importer_name0.0%26
update_nav_menu0.0%26
update_nav_menu_update_item0.0%26
get_chunks_with_preceding_end0.0%26
get_metadata0.0%26
send_full_sync_actions0.0%26
get_all_network_options0.0%26
whitelist_network_options0.0%26
expand_network_options0.0%26
send_full_sync_actions0.0%26
expand_options0.0%26
populate_plugins0.0%26
delete_plugin0.0%26
sync_plugins_installed0.0%26
init_before_send0.0%26
filter_updated_post_meta0.0%26
is_allowed_post_meta0.0%26
is_post_type_allowed0.0%26
has_login_ability_fallback0.0%26
get_object_by_id0.0%26
estimate_full_sync_actions0.0%26
get_theme_details_for_slugs0.0%26
detect_theme_deletion0.0%26
send_full_sync_actions0.0%26
get_widget_name0.0%26
get_sidebar_name0.0%26
get_theme_info0.0%26
get_objects_by_id0.0%26
sync_last_event0.0%26
send_full_sync_actions0.0%26
filter_update_keys0.0%26
expand_updates0.0%26
expand_action0.0%26
save_user_role_handler0.0%26
get_flags0.0%26
clear_flags0.0%26
estimate_full_sync_actions0.0%26
remove_user_from_blog_handler0.0%26
is_function_in_backtrace0.0%26
__construct0.0%26
init_listeners0.0%26
init_before_send0.0%26
get_object_by_id0.0%26
get_wc_order_status_with_prefix0.0%26
action_wp_delete_post0.0%26
action_wp_trash_post0.0%26
claim_order_total_emission0.0%26
action_delete_user0.0%26
build_minimal_customer_user_object0.0%26
is_whitelisted_order_item_meta0.0%26
add_review_comment_types0.0%26
get_objects_by_id0.0%26
get_all_options68.8%55
set_defaults75.0%22