Woo_Variation_Gallery_Frontend C

Total Complexity 107
Dependencies 3
Dependents 1
Total lines 776
Lines of code 535
Logical lines of code 313
Comment lines 52
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
get_gallery_image_html()
A
40 15 54
get_product_attachment_props()
A
35 7 93
get_video_info()
A
44 9 44
get_default_gallery_images()
S
50 7 26
get_available_variation_gallery()
S
48 6 34
enqueue_scripts()
S
42 4 44
get_product_default_variation_id()
S
56 5 18
get_product_default_attributes()
S
56 5 17
gallery_template_part()
S
61 4 13
get_variation_gallery_images()
S
60 4 13
gallery_template()
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_inline_style()
S
65 2 8
get_gallery_image_ids()
S
68 2 7
gallery_thumbnail_image_width()
S
69 2 6
instance()
S
72 2 6
hooks()
S
58 1 14
clean_css()
S
61 1 13
get_embed_url()
S
74 1 4
wpml_object_id()
S
74 1 4
get_available_variation()
S
73 1 5
post_class()
S
77 1 4
enable_theme_support()
S
74 1 5
remove_default_template()
S
75 1 4
init()
S
82 1 3
slider_template_js()
S
70 1 6
includes()
S
79 1 3
__construct()
S
71 1 6