WCML_Synchronize_Product_Data D

Total Complexity 160
Dependencies 11
Dependents 2
Total lines 860
Lines of code 604
Logical lines of code 387
Comment lines 81
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
synchronize_products()
B
38 24 57
sync_custom_field_value()
B
39 16 62
check_if_product_fields_sync_needed()
A
43 12 45
icl_connect_translations_action()
A
47 11 34
sync_product_taxonomies()
A
43 9 49
duplicate_product_post_meta()
A
50 9 28
sync_product_translations_visibility()
A
52 8 24
woocommerce_product_quick_edit_save()
S
55 7 19
wcml_update_term_count_by_ids()
S
52 5 25
sync_product_stock()
S
53 5 23
sync_product_total_sales()
S
54 5 20
add_hooks()
S
54 5 20
get_translated_custom_field_values()
S
55 3 19
sync_product_stock_hook()
S
57 3 18
sync_date_and_parent()
S
58 3 14
sync_grouped_products()
S
63 3 10
sync_cross_sells_products()
S
63 3 10
sync_up_sells_products()
S
63 3 10
insert_under_keys()
S
64 3 10
set_schedule_for_translations()
S
64 3 9
icl_pro_translation_completed()
S
67 3 8
delete_term_relationships_update_term_count()
S
64 3 9
sync_stock_status_for_translations()
S
65 3 9
syncDeletedCustomFields()
S
58 1 16
icl_make_duplicate()
S
70 2 6
update_stock_value()
S
64 2 9
sync_linked_products()
S
64 2 10
sync_product_data()
S
58 1 15
replace_separator()
S
79 1 3
wc_taxonomies_recount_after_stock_change()
S
68 1 7
__construct()
S
71 1 6