WCML_Terms D

Total Complexity 227
Dependencies 9
Dependents 2
Total lines 1,080
Lines of code 777
Logical lines of code 430
Comment lines 65
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
render_assignment_status()
C
31 25 111
wcml_sync_product_variations()
B
35 18 80
sync_term_order_globally()
A
43 14 48
check_if_sync_term_translation_needed()
A
47 14 33
get_product_terms_filter()
A
46 12 36
update_terms_translated_status()
A
45 11 41
check_if_sync_terms_needed()
A
46 10 41
translated_terms_status_update()
A
52 10 22
sync_term_order()
A
48 9 30
filter_shipping_classes_terms()
A
56 10 15
sync_taxonomy_translations()
A
61 10 9
shipping_terms()
S
50 7 27
set_flag_for_variation_on_attribute_update()
S
54 7 19
get_wc_taxonomies()
S
57 7 16
wcml_sync_taxonomies_in_content_preview()
S
50 5 27
admin_menu_setup()
S
61 6 11
wcml_sync_taxonomies_in_content()
S
53 4 23
show_term_translation_screen_notices()
S
55 4 18
pre_option_default_product_cat()
S
58 4 16
has_wc_taxonomies_to_translate()
S
58 4 16
wcml_delete_term()
S
64 5 9
add_hooks()
S
50 3 29
update_option_default_product_cat()
S
59 4 13
is_fully_translated()
S
62 3 11
set_flag_to_sync()
S
67 3 8
get_untranslated_terms_number()
S
67 3 7
get_table_taxonomies()
S
66 3 8
is_original_category()
S
73 2 4
wcml_get_translated_term()
S
68 2 7
is_translatable_wc_taxonomy()
S
70 2 6
is_wc_taxonomy()
S
77 2 3
wcml_get_term_by_id()
S
63 1 13
wcml_get_term_id_by_slug()
S
63 1 12
__construct()
S
74 1 5
add_lang_parameter_to_cache_key()
S
79 1 3