Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Automattic\Jetpack\Sync\Functions0%
Automattic\Jetpack\Sync\JSON_Deflate_Array_Codec0%
Automattic\Jetpack\Sync\Queue_Buffer0%
Automattic\Jetpack\Sync\Replicastore0%
Automattic\Jetpack\Sync\REST_Sender0%
Automattic\Jetpack\Sync\Server0%
Automattic\Jetpack\Sync\Simple_Codec0%
Automattic\Jetpack\Sync\Users0%
Automattic\Jetpack\Sync\Utils0%
Automattic\Jetpack\Sync\Modules\Full_Sync0%
Automattic\Jetpack\Sync\Modules\Search0%
Automattic\Jetpack\Sync\Modules\WooCommerce_HPOS_Orders0%
Automattic\Jetpack\Sync\Modules\WooCommerce_Products0%
Automattic\Jetpack\Sync\Modules\WooCommerce0%
Automattic\Jetpack\Sync\Modules\WP_Super_Cache0%
Automattic\Jetpack\Sync\Replicastore\Table_Checksum_Usermeta0%
Automattic\Jetpack\Sync\Replicastore\Table_Checksum_Users0%
Automattic\Jetpack\Sync\Replicastore\Table_Checksum0%
Automattic\Jetpack\Sync\Queue\Queue_Storage_Table0%
Automattic\Jetpack\Sync\Modules\Meta1%
Automattic\Jetpack\Sync\Modules\Term_Relationships1%
Automattic\Jetpack\Sync\Modules\Constants4%
Automattic\Jetpack\Sync\Sender5%
Automattic\Jetpack\Sync\Modules\Posts6%
Automattic\Jetpack\Sync\Modules\Terms8%
Automattic\Jetpack\Sync\Modules\Themes8%
Automattic\Jetpack\Sync\Modules\Callables8%
Automattic\Jetpack\Sync\Modules\Plugins10%
Automattic\Jetpack\Sync\Modules\Users12%
Automattic\Jetpack\Sync\Modules\Options14%
Automattic\Jetpack\Sync\Modules\Module15%
Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately16%
Automattic\Jetpack\Sync\Modules\Import16%
Automattic\Jetpack\Sync\Listener17%
Automattic\Jetpack\Sync\Modules\Network_Options23%
Automattic\Jetpack\Sync\Modules\Comments23%
Automattic\Jetpack\Sync\Modules\Updates24%
Automattic\Jetpack\Sync\Lock25%
Automattic\Jetpack\Sync\Queue28%
Automattic\Jetpack\Sync\Modules\Protect30%
Automattic\Jetpack\Sync\Queue\Queue_Storage_Options31%
Automattic\Jetpack\Sync\Defaults36%
Automattic\Jetpack\Sync\Settings40%
Automattic\Jetpack\Sync\Actions40%
Automattic\Jetpack\Sync\Main41%
Automattic\Jetpack\Sync\Modules\Menus43%
Automattic\Jetpack\Sync\Health46%
Automattic\Jetpack\Sync\Modules\Stats50%
Automattic\Jetpack\Sync\Modules\Attachments54%
Automattic\Jetpack\Sync\REST_Endpoints70%
Automattic\Jetpack\Sync\Modules83%
Automattic\Jetpack\Sync\Data_Settings84%
Automattic\Jetpack\Sync\Dedicated_Sender85%

Project Risks

Class Coverage Complexity CRAP
Automattic\Jetpack\Sync\Replicastore0.0%14220306
Automattic\Jetpack\Sync\Modules\Posts6.8%14116237
Automattic\Jetpack\Sync\Sender5.1%10910254
Automattic\Jetpack\Sync\Modules\Themes8.5%1089047
Automattic\Jetpack\Sync\Functions0.0%948930
Automattic\Jetpack\Sync\Modules\Full_Sync0.0%948930
Automattic\Jetpack\Sync\Modules\Users12.6%996653
Automattic\Jetpack\Sync\Replicastore\Table_Checksum0.0%806480
Automattic\Jetpack\Sync\Modules\WooCommerce_HPOS_Orders0.0%786162
Automattic\Jetpack\Sync\Actions40.8%1665875
Automattic\Jetpack\Sync\Modules\Callables8.7%845454
Automattic\Jetpack\Sync\Modules\Module15.6%935288
Automattic\Jetpack\Sync\Listener17.1%834006
Automattic\Jetpack\Sync\Modules\WooCommerce_Products0.0%603660
Automattic\Jetpack\Sync\Modules\Options14.8%723276
Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately16.4%713016
Automattic\Jetpack\Sync\Modules\Updates24.7%782676
Automattic\Jetpack\Sync\Queue\Queue_Storage_Table0.0%502550
Automattic\Jetpack\Sync\Queue28.5%802419
Automattic\Jetpack\Sync\Modules\Terms8.0%552410
Automattic\Jetpack\Sync\Modules\Plugins10.0%542179
Automattic\Jetpack\Sync\Modules\WooCommerce0.0%441980
Automattic\Jetpack\Sync\Modules\Comments24.0%561433
Automattic\Jetpack\Sync\Settings40.1%761315
Automattic\Jetpack\Sync\Modules\Constants4.5%351100
Automattic\Jetpack\Sync\Modules\Meta1.4%23529
Automattic\Jetpack\Sync\Replicastore\Table_Checksum_Usermeta0.0%19380
Automattic\Jetpack\Sync\Modules\Term_Relationships1.6%19363
Automattic\Jetpack\Sync\Modules\Import16.7%24357
Automattic\Jetpack\Sync\REST_Sender0.0%15240
Automattic\Jetpack\Sync\Users0.0%15240
Automattic\Jetpack\Sync\Modules\Network_Options23.8%20196
Automattic\Jetpack\Sync\Queue\Queue_Storage_Options31.2%23194
Automattic\Jetpack\Sync\REST_Endpoints70.4%67183
Automattic\Jetpack\Sync\Server0.0%13182
Automattic\Jetpack\Sync\Replicastore\Table_Checksum_Users0.0%13182
Automattic\Jetpack\Sync\Modules\Search0.0%12156
Automattic\Jetpack\Sync\JSON_Deflate_Array_Codec0.0%11132
Automattic\Jetpack\Sync\Health46.9%25118
Automattic\Jetpack\Sync\Defaults36.0%18102
Automattic\Jetpack\Sync\Data_Settings84.5%4856
Automattic\Jetpack\Sync\Main41.2%1453
Automattic\Jetpack\Sync\Dedicated_Sender85.0%4450
Automattic\Jetpack\Sync\Modules\Menus43.5%923
Automattic\Jetpack\Sync\Modules\Protect30.0%723
Automattic\Jetpack\Sync\Lock25.0%621
Automattic\Jetpack\Sync\Modules83.3%1111
Automattic\Jetpack\Sync\Modules\Attachments54.5%69

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
init0%
add_sender_shutdown0%
add_dedicated_sync_sender_init0%
mark_sync_read_only0%
should_initialize_sender0%
should_initialize_sender_enqueue0%
sync_via_cron_allowed0%
prevent_publicize_blacklisted_posts0%
set_is_importing_true0%
jetpack_cron_schedule0%
do_cron_sync0%
do_cron_full_sync0%
do_cron_sync_by_type0%
initialize_woocommerce0%
initialize_search0%
add_search_sync_module0%
add_woocommerce_sync_module0%
add_woocommerce_hpos_order_sync_module0%
add_woocommerce_products_sync_module0%
initialize_wp_super_cache0%
add_wp_super_cache_sync_module0%
sanitize_filtered_sync_cron_schedule0%
get_start_time_offset0%
maybe_schedule_sync_cron0%
clear_sync_cron_jobs0%
init_sync_cron_jobs0%
cleanup_on_upgrade0%
sync_data_filter_hook0%
get_request_lock_id_from_request0%
get_constants_whitelist0%
get_multisite_callable_whitelist0%
is_whitelisted_option0%
get_capabilities_whitelist0%
get_max_sync_execution_time0%
is_multi_network0%
get_modules0%
get_taxonomies0%
get_shortcodes0%
sanitize_taxonomy0%
get_post_types0%
sanitize_post_type0%
expand_synced_post_type0%
get_post_type_features0%
get_hosting_provider0%
get_hosting_provider_by_known_constant0%
get_hosting_provider_by_known_class0%
get_hosting_provider_by_known_function0%
rest_api_allowed_post_types0%
rest_api_allowed_public_metadata0%
is_version_controlled0%
file_system_write_access0%
main_network_site_wpcom_id0%
get_plugins0%
get_plugins_action_links0%
wp_version0%
site_icon_url0%
roles0%
get_timezone0%
get_paused_themes0%
get_paused_plugins0%
get_theme_support0%
get_is_fse_theme0%
json_wrap0%
get_themes0%
get_active_modules0%
get_loaded_extensions0%
get_jetpack_connection_active_plugins0%
get_jetpack_sync_active_modules0%
get_jetpack_package_versions0%
init0%
on_jetpack_upgraded0%
on_jetpack_activated0%
is_status_defined0%
full_sync_end_update_status0%
name0%
encode0%
decode0%
json_serialize0%
json_unserialize0%
json_unwrap0%
get_full_sync_queue0%
get_queue_size_limit0%
get_queue_lag_limit0%
force_recheck_queue_limit0%
can_add_to_queue0%
full_sync_action_handler0%
bulk_enqueue_full_sync_actions0%
sync_data_loss0%
get_actor0%
should_send_user_data_with_actor0%
get_request_url0%
attempt0%
on_jetpack_idc_disconnect0%
on_jetpack_site_disconnected0%
sync_cleanup0%
set_sync_data_options0%
on_plugins_loaded_early0%
on_plugins_loaded_late0%
set_defaults0%
__construct0%
get_items0%
get_item_values0%
get_item_ids0%
add0%
add_all0%
peek0%
peek_by_id0%
reset0%
checkout0%
get_ids0%
pop0%
pop_newest0%
checkout_with_memory_limit0%
checkin0%
close0%
delete0%
flush_all0%
get_all0%
force_checkin0%
generate_option_name_timestamp0%
get_next_data_row_option_name0%
fetch_items_by_id0%
validate_checkout0%
reset0%
full_sync_start0%
full_sync_end0%
term_count0%
term_taxonomy_count0%
term_relationship_count0%
post_count0%
get_posts0%
get_post0%
upsert_post0%
delete_post0%
posts_checksum0%
post_meta_checksum0%
comment_count0%
comment_status_to_approval_value0%
get_comments0%
get_comment0%
upsert_comment0%
trash_comment0%
delete_comment0%
spam_comment0%
trashed_post_comments0%
untrashed_post_comments0%
comments_checksum0%
comment_meta_checksum0%
update_option0%
get_option0%
delete_option0%
set_theme_info0%
current_theme_supports0%
get_metadata0%
upsert_metadata0%
delete_metadata0%
delete_batch_metadata0%
get_constant0%
set_constant0%
get_updates0%
set_updates0%
get_callable0%
set_callable0%
get_site_option0%
update_site_option0%
delete_site_option0%
get_terms0%
get_term0%
ensure_taxonomy0%
get_the_terms0%
update_term0%
delete_term0%
update_object_terms0%
delete_object_terms0%
user_count0%
get_user0%
upsert_user0%
delete_user0%
upsert_user_locale0%
delete_user_locale0%
get_user_locale0%
get_allowed_mime_types0%
checksum_all0%
summarize_checksum_histogram0%
get_min_max_object_id0%
checksum_histogram0%
get_checksum_type0%
invalid_call0%
calculate_buckets0%
get_table_checksum_instance0%
full_sync_start0%
data_check0%
data_histogram0%
get_sync_objects0%
checkout0%
close0%
get_object_id_range0%
is_valid_sync_module0%
sanitize_item_ids0%
queue_pull0%
jetpack_sync_send_data_listener0%
immediate_full_sync_pull0%
get_buffer0%
__construct0%
init0%
maybe_set_user_from_token0%
maybe_clear_user_from_token0%
set_next_sync_time0%
do_full_sync0%
continue_full_sync_enqueue0%
do_sync0%
do_dedicated_sync_and_exit0%
do_sync_and_set_delays0%
get_items_to_send0%
fastcgi_finish_request0%
send_action0%
create_action_to_send0%
sync_object0%
register_jetpack_xmlrpc_methods0%
get_codec0%
set_codec0%
send_checksum0%
reset_sync_queue0%
reset_full_sync_queue0%
set_dequeue_max_bytes0%
set_upload_max_bytes0%
set_upload_max_rows0%
set_sync_wait_time0%
get_sync_wait_time0%
set_enqueue_wait_time0%
get_enqueue_wait_time0%
set_sync_wait_threshold0%
get_sync_wait_threshold0%
set_max_dequeue_time0%
set_defaults0%
reset_data0%
uninstall0%
__construct0%
set_codec0%
attempt_request_lock0%
get_concurrent_request_transient_name0%
remove_request_lock0%
receive0%
get_blacklisted_post_types_sql0%
get_disallowed_post_types_structured0%
get_blacklisted_taxonomies_sql0%
get_whitelisted_taxonomies_sql0%
get_whitelisted_post_meta_sql0%
get_allowed_post_meta_structured0%
get_blacklisted_taxonomies_structured0%
get_allowed_taxonomies_structured0%
get_whitelisted_comment_meta_sql0%
get_allowed_comment_meta_structured0%
get_allowed_order_itemmeta_structured0%
get_comments_filter_sql0%
reset_data0%
set_importing0%
is_importing0%
set_doing_cron0%
is_syncing0%
set_is_syncing0%
set_is_sending0%
is_sender_enabled0%
is_checksum_enabled0%
name0%
encode0%
decode0%
init0%
user_role_change0%
get_role0%
get_signed_role0%
update_role_on_com0%
maybe_demote_master_user0%
get_item_values0%
get_item_ids0%
get_item_value0%
get_item_id0%
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%
set_late_default0%
add_deprecated_options0%
enqueue_full_sync_actions0%
send_full_sync_actions0%
estimate_full_sync_actions0%
get_full_sync_actions0%
get_all_options0%
set_options_whitelist0%
get_options_whitelist0%
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_jetpack_sync_before_enqueue_jetpack_sync_save_post0%
filter_jetpack_sync_before_enqueue_jetpack_published_post0%
filter_blacklisted_post_types_deleted0%
filter_meta0%
is_whitelisted_post_meta0%
is_post_type_allowed0%
remove_embed0%
add_embed0%
filter_post_content_and_add_links0%
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%
__construct0%
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%
is_add_user_to_blog0%
is_delete_user0%
is_create_user0%
get_reassigned_network_user_id0%
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%
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%
calculate_checksum0%
expand_and_sanitize_user_meta0%
get_user_objects_by_ids0%
build_checksum_query0%
get_range_edges0%
__construct0%
get_default_tables0%
get_allowed_tables0%
prepare_fields0%
validate_table_name0%
validate_fields0%
validate_fields_against_table0%
validate_input0%
prepare_filter_values_as_sql0%
build_filter_statement0%
build_checksum_query0%
get_range_edges0%
prepare_results_for_output0%
calculate_checksum0%
enable_woocommerce_tables0%
enable_woocommerce_hpos_tables0%
prepare_additional_columns0%
insert_item0%
fetch_items_by_ids0%
clear_queue0%
add_all0%
get_items_ids_with_size0%
delete_items_by_ids0%
__construct0%
create_table0%
custom_table_exists0%
is_custom_table_healthy0%
drop_table0%
insert_item0%
fetch_items0%
fetch_items_by_ids0%
get_item_count0%
clear_queue0%
get_lag0%
add_all0%
get_items_ids_with_size0%
delete_items_by_ids0%
initialize_custom_sync_table0%
migrate_from_options_table_to_custom_table0%
migrate_from_custom_table_to_options_table0%
do_sync_for_queue7%
whitelist_options13%
enqueue_action18%
update_settings45%
sync_allowed53%
try_release_lock_spawn_request53%
is_dedicated_sync_request54%
module_custom_caps55%
start56%
get_lag57%
lock58%
spawn_sync58%
set_checkout_id58%
get_debug_details59%
validate_queue60%
send_data60%
get_instance66%
is_doing_cron66%
__construct66%
get_next_sync_time71%
get_checkout_id72%
do_full_sync75%
get_module75%
peek_newest75%
set_defaults75%
get_status83%
__construct83%
try_lock_spawn_request84%
do_initial_sync84%
get_sync_status84%
unserialize_values85%
get_setting88%
sync_health88%

Project Risks

Method Coverage Complexity CRAP
get_update_checksum0.0%29870
get_actor0.0%28812
filter_order_data0.0%25650
theme_edit_ajax0.0%22506
set_plugin_action_links0.0%18342
maybe_sync_callables0.0%16272
on_upgrader_completion0.0%16272
do_cron_sync_by_type0.0%15240
filter_post_content_and_add_links0.0%15240
do_sync_for_queue7.5%16218
checksum_histogram0.0%14210
do_sync_and_set_delays0.0%14210
start0.0%14210
send_full_sync_actions0.0%14210
sync_sidebar_widgets_actions0.0%14210
enqueue_action19.0%18190
checkout_with_memory_limit0.0%13182
adjust_chunk_size_if_stuck0.0%13182
check_upgrader0.0%13182
calculate_checksum0.0%13182
send0.0%12156
plugin_edit_ajax0.0%12156
save_user_handler0.0%12156
should_initialize_sender0.0%11132
comment_status_to_approval_value0.0%11132
do_full_sync0.0%11132
get_items_to_send0.0%11132
update_sent_progress_action0.0%11132
get_calling_importer_class0.0%11132
send_published0.0%11132
update_settings45.8%24115
do_cron_sync0.0%10110
close0.0%10110
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
build_checksum_query0.0%10110
get_range_edges0.0%10110
get_objects_by_id0.0%990
prepare_fields0.0%990
build_filter_statement0.0%990
is_custom_table_healthy0.0%990
sanitize_taxonomy0.0%872
json_wrap0.0%872
full_sync_start0.0%872
queue_pull0.0%872
enqueue0.0%872
sync_import_action0.0%872
filter_jetpack_sync_before_enqueue_jetpack_published_post0.0%872
filter_set_object_terms_no_update0.0%872
maybe_save_user_meta0.0%872
get_product_cogs_data0.0%872
build_checksum_query0.0%872
init0.0%756
bulk_enqueue_full_sync_actions0.0%756
data_histogram0.0%756
checkout0.0%756
receive0.0%756
maybe_demote_master_user0.0%756
get_objects_by_id0.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
filter_jetpack_sync_before_enqueue_jetpack_sync_save_post0.0%756
filter_meta0.0%756
validate_update_change0.0%756
on_before_enqueue_order_save0.0%756
prepare_filter_values_as_sql0.0%756
whitelist_options13.3%849
send_data60.5%2148
get_loaded_extensions0.0%642
can_add_to_queue0.0%642
checkout0.0%642
do_dedicated_sync_and_exit0.0%642
maybe_sync_constants0.0%642
get_objects_by_id0.0%642
get_sync_progress_percentage0.0%642
get_content_range0.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
wp_insert_post0.0%642
enqueue_full_sync_actions0.0%642
sync_widget_edit0.0%642
detect_theme_edit0.0%642
get_objects_by_id0.0%642
get_product_types0.0%642
calculate_checksum0.0%642
do_cron_full_sync0.0%530
cleanup_on_upgrade0.0%530
is_whitelisted_option0.0%530
get_hosting_provider_by_known_constant0.0%530
file_system_write_access0.0%530
get_plugins_action_links0.0%530
json_unwrap0.0%530
get_request_url0.0%530
delete_object_terms0.0%530
calculate_buckets0.0%530
maybe_set_user_from_token0.0%530
get_always_sent_callables0.0%530
only_allow_white_listed_comment_types0.0%530
filter_meta0.0%530
get_remaining_modules_to_enqueue0.0%530
get_content_range0.0%530
fetch_prepared_meta_from_db0.0%530
get_objects_by_id0.0%530
get_all_options0.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_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
get_order_item_by_ids0.0%530
expand_and_sanitize_user_meta0.0%530
get_range_edges0.0%530
initialize_woocommerce0.0%420
maybe_schedule_sync_cron0.0%420
sync_data_filter_hook0.0%420
get_themes0.0%420
is_status_defined0.0%420
add0.0%420
close0.0%420
validate_checkout0.0%420
post_count0.0%420
upsert_post0.0%420
comment_count0.0%420
upsert_comment0.0%420
delete_metadata0.0%420
get_term0.0%420
checksum_all0.0%420
get_min_max_object_id0.0%420
get_buffer0.0%420
continue_full_sync_enqueue0.0%420
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
save_published0.0%420
is_gutenberg_meta_box_update0.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_reassigned_network_user_id0.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
__construct0.0%420
validate_fields_against_table0.0%420
prepare_additional_columns0.0%420
add_all0.0%420
custom_table_exists0.0%420
get_item_count0.0%420
get_lag0.0%420
add_all0.0%420
migrate_from_options_table_to_custom_table0.0%420
migrate_from_custom_table_to_options_table0.0%420
sync_allowed53.3%917
get_debug_details59.5%914
get_setting88.6%1414
start56.5%813
add_sender_shutdown0.0%312
should_initialize_sender_enqueue0.0%312
initialize_search0.0%312
get_sync_status84.6%1212
get_taxonomies0.0%312
get_post_types0.0%312
sanitize_post_type0.0%312
get_hosting_provider0.0%312
get_hosting_provider_by_known_function0.0%312
get_theme_support0.0%312
on_jetpack_upgraded0.0%312
sync_data_loss0.0%312
attempt0.0%312
reset0.0%312
upsert_metadata0.0%312
delete_batch_metadata0.0%312
get_terms0.0%312
ensure_taxonomy0.0%312
get_table_checksum_instance0.0%312
sanitize_item_ids0.0%312
do_sync0.0%312
is_importing0.0%312
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_action_name0.0%312
get_actions_totals0.0%312
get_prepared_meta_object0.0%312
get_check_sum0.0%312
recursive_ksort0.0%312
still_valid_checksum0.0%312
set_late_default0.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
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
save_user_role_handler0.0%312
get_where_sql0.0%312
get_initial_sync_user_config0.0%312
get_object_by_id0.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
filter_meta0.0%312
action_woocommerce_remove_order_items0.0%312
filter_action_scheduler_comments0.0%312
get_next_chunk0.0%312
validate_table_name0.0%312
validate_fields0.0%312
prepare_results_for_output0.0%312
fetch_items_by_ids0.0%312
delete_items_by_ids0.0%312
fetch_items0.0%312
fetch_items_by_ids0.0%312
lock58.3%710
is_dedicated_sync_request54.5%69
try_release_lock_spawn_request53.3%69
get_status83.3%88
module_custom_caps55.6%57
add_dedicated_sync_sender_init0.0%26
prevent_publicize_blacklisted_posts0.0%26
jetpack_cron_schedule0.0%26
initialize_wp_super_cache0.0%26
sanitize_filtered_sync_cron_schedule0.0%26
get_start_time_offset0.0%26
try_lock_spawn_request84.0%66
get_request_lock_id_from_request0.0%26
get_max_sync_execution_time0.0%26
get_modules0.0%26
get_hosting_provider_by_known_class0.0%26
is_version_controlled0.0%26
main_network_site_wpcom_id0.0%26
get_plugins0.0%26
site_icon_url0.0%26
get_timezone0.0%26
on_jetpack_activated0.0%26
full_sync_end_update_status0.0%26
decode0.0%26
on_plugins_loaded_late0.0%26
set_defaults0.0%26
add_all0.0%26
peek0.0%26
peek_by_id0.0%26
pop0.0%26
pop_newest0.0%26
checkin0.0%26
delete0.0%26
get_next_data_row_option_name0.0%26
get_posts0.0%26
get_comments0.0%26
get_constant0.0%26
get_updates0.0%26
get_callable0.0%26
update_term0.0%26
get_user0.0%26
summarize_checksum_histogram0.0%26
data_check0.0%26
get_sync_objects0.0%26
get_object_id_range0.0%26
jetpack_sync_send_data_listener0.0%26
init0.0%26
maybe_clear_user_from_token0.0%26
fastcgi_finish_request0.0%26
send_action0.0%26
set_codec0.0%26
reset_data0.0%26
attempt_request_lock0.0%26
get_allowed_order_itemmeta_structured0.0%26
reset_data0.0%26
is_syncing0.0%26
init0.0%26
user_role_change0.0%26
get_role0.0%26
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
remove_just_added_menu_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
is_post_type_allowed0.0%26
has_login_ability_fallback0.0%26
get_object_by_id0.0%26
estimate_full_sync_actions0.0%26
filter_blacklisted_taxonomies0.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
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_wc_order_status_with_prefix0.0%26
action_wp_delete_post0.0%26
action_wp_trash_post0.0%26
is_whitelisted_order_item_meta0.0%26
add_review_comment_types0.0%26
get_objects_by_id0.0%26
get_default_tables0.0%26
enable_woocommerce_tables0.0%26
enable_woocommerce_hpos_tables0.0%26
__construct0.0%26
drop_table0.0%26
initialize_custom_sync_table0.0%26
do_initial_sync84.6%55
get_lag57.1%45
sync_health88.9%44
do_full_sync75.0%33
get_module75.0%33
get_checkout_id72.7%33
validate_queue60.0%33
is_doing_cron66.7%33
__construct83.3%22
peek_newest75.0%22
set_checkout_id58.8%22
spawn_sync58.3%22
get_instance66.7%22
get_next_sync_time71.4%22
set_defaults75.0%22
__construct66.7%22