Responsive_Lightbox_Galleries D

Total Complexity 855
Dependencies 1
Dependents 1
Total lines 5,003
Lines of code 3,293
Logical lines of code 1,584
Comment lines 947
Methods 70
Properties 5

Methods 70

Method Rating Maintainability Complexity Lines of code
get_gallery_images()
D
4
119 368
render_field()
D
13
85 238
sanitize_field()
D
18
69 201
gallery_query()
D
25
46 158
get_gallery_image_src()
D
28
42 123
gallery_shortcode()
D
31 34 94
init()
D
16
4 498
get_gallery_preview_content()
C
35 30 73
save_gallery()
B
36 21 72
get_metabox_content()
B
39 20 63
add_metabox()
B
42 21 40
post_get_galleries()
B
37 18 69
prepare_query_args()
B
36 16 81
get_gallery_query_attachments()
B
40 16 59
clear_metaboxes()
A
47 16 31
check_attachments()
A
48 15 29
modal_gallery_template()
A
34 10 98
init_admin()
A
62 16 7
post_gallery_preview()
A
43 13 43
get_preview_pagination()
A
38 11 72
gallery_columns_content()
A
46 12 34
get_taxonomies()
A
49 11 31
duplicate_gallery()
A
54 12 16
admin_post_thumbnail_html()
A
47 11 30
sanitize_fields()
A
52 10 23
do_pagination()
A
45 9 38
get_video_thumbnail_id()
A
42 6 56
save_post()
S
68 9 5
filter_preview_metadata()
S
56 8 15
get_gallery_preview_image_content()
S
43 5 51
post_thumbnail_html()
S
53 7 20
get_gallery_image_link()
S
47 6 33
maybe_generate_thumbnail()
S
42 4 59
get_featured_image_src()
S
51 6 27
get_post_types()
S
54 6 23
get_media_exclude_input_template()
S
55 6 20
duplicate_gallery_taxonomies()
S
55 6 19
after_title_nav_menu()
S
56 6 16
get_menu_content()
S
65 7 6
add_meta_boxes()
S
56 6 15
create_gallery_duplicate_metadata()
S
59 6 14
get_media_item_template()
S
53 5 24
create_gallery_duplicate()
S
47 4 36
save_revision()
S
62 6 10
get_image_sizes()
S
56 4 18
__construct()
S
47 3 33
shutdown_preview()
S
65 5 8
preview_post_link()
S
65 5 8
get_media_embed_template()
S
60 3 18
gallery_ajax_verified()
S
74 4 3
get_users()
S
59 3 15
enqueue_gallery_scripts_styles()
S
55 2 19
add_active_tab()
S
76 3 3
post_row_actions_duplicate()
S
62 3 9
get_gallery_page()
S
60 2 14
gallery_columns()
S
56 1 20
get_post_formats()
S
58 1 16
get_page_templates()
S
66 2 8
add_gallery_button()
S
69 2 6
prepare_featured_fields()
S
69 2 6
get_featured_image()
S
67 2 7
get_image_size()
S
71 2 6
get_post_statuses()
S
69 2 7
maybe_change_lightbox()
S
74 2 5
hide_metabox()
S
74 1 5
display_metabox()
S
74 1 5
shortcode_metabox()
S
68 1 7
delete_attachment()
S
91 1 2
get_gallery_images_number()
S
76 1 3
set_attachment_post_status()
S
77 1 4