Woo_Variation_Swatches_Frontend A

Total Complexity 51
Dependencies 2
Dependents 1
Total lines 272
Lines of code 178
Logical lines of code 99
Comment lines 15
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get_product_children()
S
56 7 18
get_product_variations()
S
58 6 15
get_variation_data()
S
53 4 22
get_attribute_taxonomy_by_name()
S
56 4 17
body_class()
S
58 4 14
get_product_attachment_props()
S
57 3 16
get_product_attribute_image()
S
64 3 10
get_product_attribute_color()
S
64 3 10
is_button_attribute()
S
71 2 6
is_radio_attribute()
S
71 2 6
is_color_attribute()
S
71 2 6
is_image_attribute()
S
71 2 6
instance()
S
72 2 6
get_dual_color_gradient_angle()
S
79 1 3
get_compatibility()
S
81 1 3
get_product_page()
S
81 1 3
init()
S
78 1 4
hooks()
S
79 1 3
includes()
S
76 1 4
__construct()
S
71 1 6