WC_Facebookcommerce_Integration D

Total Complexity 392
Dependencies 33
Dependents 2
Total lines 3,856
Lines of code 1,860
Logical lines of code 894
Comment lines 1,110
Methods 127
Properties 9

Methods 127

Method Rating Maintainability Complexity Lines of code
__construct()
C
27
23 163
on_product_save()
B
40 21 57
sync_facebook_products_using_background_processor()
B
34 12 109
load_assets()
A
38 8 88
update_fb_visibility()
A
47 11 36
sync_facebook_products_using_feed()
A
44 8 48
get_product_fbid()
A
45 8 46
on_variable_product_publish()
A
51 9 27
check_api_result()
A
47 8 39
fb_product_meta_box_html()
A
44 7 52
on_simple_product_publish()
A
49 7 37
get_variation_product_item_ids()
S
52 7 26
ajax_check_feed_upload_status_v2()
S
46 6 41
maybe_display_facebook_api_messages()
S
50 6 31
update_product_group()
S
47 5 43
load_aam_settings_of_pixel()
S
53 6 23
fb_change_product_published_status()
S
59 6 14
create_or_update_product_set_item()
S
52 5 26
on_product_delete()
S
61 6 11
delete_fb_product()
S
54 5 22
sync_facebook_products()
S
54 5 21
init_pixel()
S
55 5 21
ajax_fb_background_check_queue()
S
49 4 33
save_product_settings()
S
57 5 16
get_page()
S
57 5 16
on_product_publish()
S
60 5 14
on_quick_and_bulk_edit_save()
S
61 5 12
reset_all_products()
S
49 3 37
get_product_group_default_variation()
S
57 4 17
product_should_be_synced()
S
64 5 10
get_sample_product_feed()
S
49 3 30
handle_scheduled_resync_action()
S
64 5 9
ajax_woo_adv_bulk_edit_compat()
S
63 5 9
create_product_group()
S
53 3 27
ajax_display_test_result()
S
53 3 23
get_existing_fbid()
S
58 3 19
create_product_simple()
S
60 3 17
should_update_visibility_for_product_status_change()
S
77 4 3
ajax_reset_single_fb_product()
S
60 3 14
get_nux_message_ifexist()
S
52 2 29
find_variation_product_item_ids()
S
60 3 13
load_background_sync_process()
S
61 3 13
schedule_resync()
S
60 3 12
create_product_item()
S
56 2 21
update_pixel_install_time()
S
72 3 5
get_js_sdk_version()
S
67 3 7
get_pixel_install_time()
S
67 3 7
get_feed_id()
S
67 3 7
get_external_merchant_settings_id()
S
67 3 7
get_product_catalog_id()
S
67 3 7
set_default_variant()
S
61 2 15
checks()
S
70 3 6
get_upload_id()
S
67 3 7
remove_resync_message()
S
70 3 6
wp_all_import_compat()
S
67 3 7
display_error_message_from_result()
S
70 3 5
ajax_delete_fb_product()
S
61 2 12
update_product_item()
S
63 2 12
fb_product_metabox()
S
54 1 26
get_product_description_mode()
S
62 2 11
delete_product_item()
S
65 2 11
is_configured()
S
79 2 3
is_feed_migrated()
S
68 2 7
get_messenger_greeting_max_characters()
S
71 2 5
get_page_name()
S
74 2 4
get_page_url()
S
74 2 4
admin_options()
S
67 2 9
delete_product_group()
S
68 2 7
sanitize_facebook_credential()
S
78 2 3
delete_on_out_of_stock()
S
70 2 7
get_page_access_token()
S
70 2 5
sync_all_fb_products_using_feed()
S
67 2 8
delete_post_meta_loop()
S
69 2 7
reset_single_product()
S
65 2 9
handle_generate_product_catalog_feed()
S
67 2 8
get_product_variation_attributes()
S
66 2 8
get_removed_from_sync_products_to_delete()
S
68 2 7
fb_wp_die()
S
75 2 5
get_message_html()
S
64 1 13
get_product_count()
S
63 1 11
is_advanced_matching_enabled()
S
78 1 3
is_product_sync_enabled()
S
77 1 3
is_scheduled_resync_enabled()
S
76 1 4
is_messenger_enabled()
S
77 1 3
is_debug_mode_enabled()
S
77 1 3
ajax_save_fb_settings()
S
80 1 3
fb_duplicate_product_reset_meta()
S
73 1 5
ajax_schedule_force_resync()
S
77 1 4
fb_new_product_tab()
S
75 1 4
display_success_message()
S
68 1 8
delete_product_set_item()
S
80 1 3
is_resync_scheduled()
S
78 1 3
unschedule_resync()
S
79 1 3
ajax_check_feed_upload_status()
S
67 1 8
ajax_delete_fb_settings()
S
80 1 3
display_out_of_sync_message()
S
67 1 9
update_product_catalog_id()
S
75 1 4
update_js_sdk_version()
S
75 1 4
display_info_message()
S
68 1 8
ajax_reset_all_fb_products()
S
69 1 7
ajax_sync_all_fb_products()
S
73 1 5
fb_render_product_columns()
S
79 1 3
fb_product_columns()
S
75 1 4
ajax_sync_all_fb_products_using_feed()
S
68 1 8
fb_new_product_tab_content()
S
79 1 3
ajax_fb_toggle_visibility()
S
80 1 3
init_form_fields()
S
80 1 3
process_admin_options()
S
80 1 3
display_error_message()
S
76 1 4
remove_sticky_message()
S
82 1 3
display_sticky_message()
S
68 1 8
get_facebook_page_id()
S
77 1 3
display_warning_message()
S
68 1 8
get_facebook_pixel_id()
S
77 1 3
is_use_s2s_enabled()
S
81 1 3
get_access_token()
S
81 1 3
get_excluded_product_category_ids()
S
77 1 3
get_excluded_product_tag_ids()
S
77 1 3
get_scheduled_resync_offset()
S
80 1 3
get_messenger_locale()
S
77 1 3
get_messenger_greeting()
S
72 1 4
get_messenger_color_hex()
S
77 1 3
update_page_access_token()
S
75 1 4
update_external_merchant_settings_id()
S
75 1 4
update_feed_id()
S
75 1 4
update_upload_id()
S
75 1 4
on_product_trash()
S
80 1 3