WCML_Synchronize_Product_Data C

Total Complexity 105
Dependencies 12
Dependents 2
Total lines 703
Lines of code 417
Logical lines of code 254
Comment lines 162
Methods 33
Properties 5

Methods 33

Method Rating Maintainability Complexity Lines of code
sync_custom_field_value()
B
39 16 62
sync_product_translations_visibility()
A
52 8 24
duplicate_product_post_meta()
A
47 7 34
wcml_update_term_count_by_ids()
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
setVariationLanguageDetails()
S
59 4 15
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
insert_under_keys()
S
64 3 10
sync_downloadable_files()
S
61 2 12
syncDeletedCustomFields()
S
58 1 16
sync_linked_products()
S
64 2 10
update_stock_value()
S
64 2 9
__construct()
S
69 1 7
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