Responsive_Lightbox_Frontend D

Total Complexity 496
Dependencies 1
Dependents 0
Total lines 2,574
Lines of code 1,448
Logical lines of code 900
Comment lines 659
Methods 42
Properties 3

Methods 42

Method Rating Maintainability Complexity Lines of code
basic_masonry_gallery_shortcode()
D
22
47 167
basic_grid_gallery_shortcode()
D
24
45 141
basic_slider_gallery_shortcode()
D
26
43 127
get_gallery_shortcode_images()
D
28
38 119
sanitize_shortcode_args()
C
40 30 50
add_lightbox()
C
35 25 79
lightbox_image_link()
B
43 23 36
lightbox_gallery_link()
B
40 21 49
get_gallery_fields_atts()
B
43 19 42
get_gallery_image_link()
B
42 18 42
gallery_attributes()
A
40 13 56
force_custom_gallery_lightbox()
A
45 14 33
get_attachment_id_by_url()
A
45 11 40
wp_dequeue_scripts()
A
43 10 51
wp_enqueue_scripts()
A
49 11 24
lightbox_video_link()
A
52 10 20
woocommerce_gallery_link()
A
48 9 31
before_gallery()
A
59 10 12
after_gallery()
A
59 9 12
get_image_size_by_url()
A
53 8 20
get_attachment_title()
S
54 7 21
lightbox_content_link()
S
52 7 20
get_embed_title()
S
57 7 17
_get_attachment_id_by_url()
S
59 7 13
get_gallery_fields()
S
54 6 19
wp_get_attachment_link()
S
53 4 22
woocommerce_gallery()
S
61 5 10
woocommerce_single_product_image_thumbnail_html()
S
56 4 15
get_default_gallery_fields()
S
43 1 55
gallery_preview()
S
70 4 5
dynamic_sidebar_params()
S
63 4 9
get_comment_text()
S
71 4 5
woocommerce_gallery_init()
S
66 4 7
gallery_container_class()
S
67 3 8
get_unique_fields()
S
64 3 9
widget_callback_function()
S
59 2 14
__construct()
S
52 1 23
get_data()
S
78 2 3
generate_hash()
S
65 2 8
vc_shortcode_content_filter_after()
S
71 2 5
woocommerce_single_product_image_html()
S
68 2 6
widget_output()
S
80 1 3