Responsive_Lightbox_Frontend D

Total Complexity 406
Dependencies 2
Dependents 0
Total lines 2,090
Lines of code 1,237
Logical lines of code 720
Comment lines 497
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
basic_masonry_gallery_shortcode()
D
23
42 163
basic_grid_gallery_shortcode()
D
25
41 139
basic_slider_gallery_shortcode()
D
27
40 121
get_gallery_shortcode_images()
D
31 30 106
sanitize_shortcode_args()
C
43 27 41
add_lightbox()
B
37 21 69
lightbox_gallery_link()
B
39 21 56
lightbox_image_link()
B
43 22 35
force_custom_gallery_lightbox()
A
46 14 31
get_gallery_fields_atts()
A
48 14 28
wp_enqueue_scripts()
A
44 10 50
get_gallery_image_link()
A
50 10 25
lightbox_content_link()
A
50 9 24
lightbox_video_link()
A
53 9 18
get_attachment_id_by_url()
A
52 8 21
get_image_size_by_url()
A
53 8 20
get_attachment_title()
S
54 7 21
gallery_attributes()
S
46 6 36
get_gallery_fields()
S
54 6 19
after_gallery()
S
64 7 8
before_gallery()
S
64 7 8
get_comment_text()
S
70 5 5
woocommerce_gallery()
S
61 5 10
dynamic_sidebar_params()
S
63 5 9
woocommerce_single_product_image_thumbnail_html()
S
58 4 13
get_default_gallery_fields()
S
43 1 55
wp_get_attachment_link()
S
54 3 21
woocommerce_gallery_init()
S
67 4 6
gallery_preview()
S
70 4 5
gallery_container_class()
S
67 3 8
get_unique_fields()
S
64 3 9
widget_callback_function()
S
59 2 14
__construct()
S
53 1 22
generate_hash()
S
65 2 8
vc_shortcode_content_filter_after()
S
71 2 5
woocommerce_single_product_image_html()
S
70 2 5
widget_output()
S
80 1 3