TA_WC_Variation_Swatches_Frontend D

Total Complexity 141
Dependencies 2
Dependents 1
Total lines 502
Lines of code 329
Logical lines of code 188
Comment lines 95
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
apply_custom_design_styles()
D
39 46 45
get_swatch_html()
B
40 19 52
swatch_html()
B
36 14 82
__construct()
A
48 11 31
get_tooltip_html()
A
55 8 16
get_updated_attribute_type()
S
56 7 18
get_available_variation()
S
57 6 15
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_disabled_checking_availability()
S
78 2 3
is_use_attribute_image_only()
S
78 2 3
is_disabled_variation_swatches()
S
69 2 6