TA_WC_Variation_Swatches_Frontend D

Total Complexity 149
Dependencies 2
Dependents 1
Total lines 534
Lines of code 357
Logical lines of code 201
Comment lines 94
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
apply_custom_design_styles()
D
38 46 51
swatch_html()
B
34 19 91
get_swatch_html()
B
40 19 52
__construct()
A
48 11 31
get_tooltip_html()
A
55 8 16
get_available_variation()
S
51 7 25
get_updated_attribute_type()
S
56 7 18
enqueue_scripts()
S
63 6 9
get_product_variation_term()
S
61 4 11
is_show_label_enabled()
S
68 4 7
display_variations_on_shop_page_before_add_to_cart_btn()
S
59 3 13
is_tooltip_enabled()
S
70 3 6
instance()
S
71 2 6
tawcvs_show_clear_link_on_variations_on_shop_page()
S
72 2 6
is_keep_disabled_variation_selectable()
S
78 2 3
is_disabled_checking_availability()
S
78 2 3
is_use_attribute_image_only()
S
78 2 3
is_disabled_variation_swatches()
S
69 2 6