Woo_Variation_Swatches_Product_Page D

Total Complexity 142
Dependencies 2
Dependents 1
Total lines 791
Lines of code 533
Logical lines of code 309
Comment lines 40
Methods 43
Properties 1

Methods 43

Method Rating Maintainability Complexity Lines of code
dropdown()
D
31 32 93
get_available_variation_images()
A
53 10 20
add_variation_data()
S
59 8 12
add_inline_style()
S
51 7 23
cache_ajax_response()
S
54 6 20
get_swatch_data()
S
48 5 33
get_variation_data_by_attribute_name()
S
57 5 16
radio_attribute()
S
49 3 26
get_available_variation_image()
S
53 3 22
item_start()
S
53 3 20
enqueue_scripts()
S
61 4 10
disable_out_of_stock_item()
S
69 4 6
get_all_variations()
S
62 3 12
add_to_cart_variation_params()
S
62 3 11
get_variation_gallery_img_src()
S
56 2 18
get_variation_img_src()
S
57 2 18
item_end()
S
66 3 8
js_options()
S
58 2 14
color_attribute()
S
67 2 7
get_item_tooltip_attribute()
S
63 2 10
get_item_css_classes()
S
67 2 8
get_image_attribute()
S
65 2 8
implode_css_property_value()
S
67 2 7
image_attribute()
S
66 2 7
instance()
S
72 2 6
is_archive()
S
78 2 3
button_attribute()
S
69 2 6
variable_children_args()
S
71 2 6
get_variation_image_id()
S
74 2 4
get_variation_by_attribute_name_value()
S
67 2 8
inline_style_declaration()
S
62 1 11
hooks()
S
61 1 11
__construct()
S
71 1 6
wrapper_end()
S
82 1 3
wrapper_start()
S
73 1 4
wrapper_html_attribute()
S
62 1 10
inline_svg()
S
79 1 3
inline_svg_encode()
S
71 1 5
get_variation_threshold_max()
S
78 1 3
ajax_variation_threshold()
S
82 1 3
init()
S
91 1 2
includes()
S
91 1 2
wrapper_class()
S
66 1 8