TA_WC_Variation_Swatches_Frontend C

Total Complexity 111
Dependencies 2
Dependents 1
Total lines 392
Lines of code 245
Logical lines of code 145
Comment lines 83
Methods 12
Properties 6

Methods 12

Method Rating Maintainability Complexity Lines of code
apply_custom_design_styles()
D
41 44 37
get_swatch_html()
B
39 21 56
__construct()
A
48 11 30
swatch_html()
A
42 8 54
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
tawcvs_show_clear_link_on_variations_on_shop_page()
S
72 2 6