WCML_Attributes D

Total Complexity 172
Dependencies 8
Dependents 2
Total lines 899
Lines of code 626
Logical lines of code 316
Comment lines 95
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
sync_default_product_attr()
A
40 13 57
sync_product_attr()
A
46 14 37
get_translated_variation_attribute_post_meta()
A
46 10 35
filter_product_variation_post_meta_attribute_values_in_current_language()
A
47 8 39
filter_attribute_name()
A
53 9 24
set_original_attributes_for_products()
S
50 7 30
get_custom_attribute_translation()
S
52 7 25
get_custom_attr_translation()
S
52 7 23
filter_adding_to_cart_product_attributes_names()
S
57 7 16
add_hooks()
S
44 4 57
set_attribute_readonly_config()
S
54 6 20
set_variations_to_use_original_attributes()
S
56 6 16
maybe_filter_get_variation()
S
56 6 16
is_a_taxonomy()
S
60 5 15
set_translation_status_as_needs_update()
S
61 5 12
init()
S
53 4 26
filter_dropdown_variation_attribute_options_args()
S
62 5 11
get_attr_label_translations()
S
59 4 15
is_attributes_fully_translated()
S
60 4 14
filter_product_variation_default_attributes()
S
67 3 8
icl_custom_tax_sync_options()
S
67 3 7
delete_translated_attribute_terms()
S
67 3 8
get_translatable_attributes()
S
64 3 10
get_attribute_term_translation_in_current_language()
S
66 3 9
is_translatable_attribute()
S
69 3 6
filter_available_variation_attribute_values_in_current_language()
S
69 2 6
set_custom_product_attributes_as_translatable_for_tm_job()
S
70 2 6
get_product_attributes()
S
68 2 7
set_translatable_attributes()
S
70 2 6
not_translatable_html()
S
71 2 5
invalidateVariationMetaCache()
S
73 2 5
isAttributeMeta()
S
78 1 3
getCacheKey()
S
80 1 3
get_attribute_terms()
S
66 1 9
get_wcml_products_instance()
S
82 1 3
remove_wpml_locale_sanitize_title_filter()
S
78 1 3
set_attribute_config_in_wpml_settings()
S
70 1 6
fix_attribute_slug_in_translations_table()
S
69 1 7
set_attribute_config_in_settings()
S
73 1 5
get_wcml_terms_instance()
S
82 1 3
set_attribute_config_in_wcml_settings()
S
73 1 5
__construct()
S
67 1 8