WCML_Synchronize_Product_Data D

Total Complexity 163
Dependencies 14
Dependents 2
Total lines 928
Lines of code 635
Logical lines of code 414
Comment lines 116
Methods 32
Properties 5

Methods 32

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