WCML_Synchronize_Product_Data B

Total Complexity 97
Dependencies 12
Dependents 2
Total lines 657
Lines of code 387
Logical lines of code 232
Comment lines 153
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
sync_custom_field_value()
B
39 16 62
sync_product_translations_visibility()
A
52 8 24
wcml_update_term_count_by_ids()
S
50 6 29
duplicate_product_post_meta()
S
50 6 29
sync_product_stock()
S
53 5 22
sync_product_total_sales()
S
54 5 20
sync_date_and_parent()
S
55 5 19
sync_product_stock_hook()
S
57 4 16
get_translated_custom_field_values()
S
55 3 19
delete_term_relationships_update_term_count()
S
62 3 11
add_hooks()
S
62 3 10
sync_up_sells_products()
S
63 3 10
sync_cross_sells_products()
S
63 3 10
sync_grouped_products()
S
63 3 10
sync_stock_status_for_translations()
S
65 3 9
set_schedule_for_translations()
S
64 3 9
sync_downloadable_files()
S
61 2 12
syncDeletedCustomFields()
S
58 1 16
sync_linked_products()
S
64 2 10
insert_under_keys()
S
64 2 10
__construct()
S
71 1 6
synchronize_products()
S
78 1 3
sync_product_data()
S
76 1 3
sync_product_taxonomies()
S
76 1 3
wc_taxonomies_recount_after_stock_change()
S
68 1 7
icl_pro_translation_completed()
S
98 1 1
icl_make_duplicate()
S
98 1 1
woocommerce_product_quick_edit_save()
S
98 1 1
replace_separator()
S
79 1 3
icl_connect_translations_action()
S
98 1 1
check_if_product_fields_sync_needed()
S
98 1 1