Woo_Variation_Gallery_Frontend B

Total Complexity 96
Dependencies 3
Dependents 1
Total lines 709
Lines of code 466
Logical lines of code 289
Comment lines 47
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
get_gallery_image_html()
A
43 15 39
get_product_attachment_props()
A
35 8 93
get_default_gallery_images()
S
50 7 26
get_available_variation_gallery()
S
49 6 31
enqueue_scripts()
S
43 4 43
get_product_default_variation_id()
S
56 5 18
get_product_default_attributes()
S
56 5 17
gallery_template()
S
61 4 13
get_variation_gallery_images()
S
60 4 13
gallery_template_part()
S
61 4 13
disable_for_specific_product_type()
S
61 4 12
body_class()
S
62 3 11
add_inline_style()
S
52 2 21
get_default_gallery()
S
64 3 9
get_variation_gallery()
S
64 3 9
get_available_variations()
S
71 2 6
gallery_thumbnail_image_width()
S
69 2 6
instance()
S
72 2 6
gallery_inline_style()
S
65 2 8
hooks()
S
58 1 14
clean_css()
S
61 1 13
includes()
S
79 1 3
slider_template_js()
S
70 1 6
post_class()
S
77 1 4
init()
S
82 1 3
get_available_variation()
S
73 1 5
remove_default_template()
S
75 1 4
get_embed_url()
S
65 1 9
enable_theme_support()
S
74 1 5
__construct()
S
71 1 6