TA_WC_Variation_Swatches_Admin B

Total Complexity 88
Dependencies 4
Dependents 1
Total lines 659
Lines of code 427
Logical lines of code 208
Comment lines 135
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
attribute_fields()
A
41 13 55
restore_attribute_types()
A
48 8 33
update_product_attr_type()
A
51 8 24
enqueue_scripts()
A
43 6 49
add_attribute_column_content()
S
53 7 21
sync_attribute_setting_to_plugin_settings()
S
50 6 29
update_attribute_type_setting()
S
58 7 13
restore_attributes_notice()
S
49 5 35
product_tab_variation_swatches_panel()
S
46 2 49
init_attribute_hooks()
S
53 3 23
update_plugin_setting_on_updated()
S
65 3 8
save_term_meta()
S
66 3 8
__construct()
S
53 1 21
add_attribute_columns()
S
65 2 9
instance()
S
71 2 6
render_the_setting_url_in_core_plugin()
S
71 2 6
save_custom_product_data()
S
73 2 4
get_latest_plugin_option()
S
75 2 4
edit_attribute_fields()
S
74 1 4
add_attribute_fields()
S
74 1 4
includes()
S
69 1 7
add_custom_swatch_variation_tab()
S
65 1 9
update_plugin_setting_on_added()
S
81 1 3
remove_wc_attributes_cache()
S
81 1 3