TA_WC_Variation_Swatches_Frontend C

Total Complexity 118
Dependencies 2
Dependents 1
Total lines 426
Lines of code 272
Logical lines of code 156
Comment lines 85
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
apply_custom_design_styles()
D
39 46 45
get_swatch_html()
B
41 17 49
__construct()
A
48 11 31
swatch_html()
A
41 8 55
get_updated_attribute_type()
S
56 7 18
enqueue_scripts()
S
63 6 9
get_available_variation()
S
61 4 12
get_product_variation_term()
S
61 4 11
display_variations_on_shop_page_before_add_to_cart_btn()
S
60 3 12
is_tooltip_enabled()
S
70 3 6
get_tooltip_html()
S
69 3 6
instance()
S
71 2 6
is_disabled_variation_swatches()
S
69 2 6
tawcvs_show_clear_link_on_variations_on_shop_page()
S
72 2 6