Jetpack_Carousel D

Total Complexity 170
Dependencies 9
Dependents 1
Total lines 1,511
Lines of code 889
Logical lines of code 356
Comment lines 490
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
post_attachment_comment()
C
32 30 98
add_carousel_skeleton()
B
29 11 204
add_data_img_tags_and_enqueue_assets()
B
39 17 67
get_attachment_comments()
B
37 15 79
add_data_to_images()
A
43 13 42
init()
A
44 11 41
enqueue_assets()
A
35 8 85
check_if_shortcode_processed_and_enqueue_assets()
A
52 8 26
filter_gallery_block_render()
S
47 5 38
settings_select()
S
55 6 18
add_data_to_container()
S
51 5 26
check_content_for_blocks()
S
60 5 14
test_1or0_option()
S
67 4 8
settings_checkbox()
S
58 3 14
maybe_add_amp_lightbox()
S
55 2 23
set_in_gallery()
S
65 3 10
check_amp_support()
S
65 3 9
register_settings()
S
59 2 13
disable_core_lightbox()
S
59 1 17
carousel_background_color_sanitize()
S
79 2 3
sanitize_1or0_option()
S
79 2 3
carousel_display_exif_sanitize()
S
80 1 3
carousel_display_comments_sanitize()
S
80 1 3
carousel_background_color_callback()
S
66 1 9
carousel_enable_it_callback()
S
79 1 3
carousel_display_comments_callback()
S
79 1 3
__construct()
S
79 1 3
carousel_display_exif_callback()
S
79 1 3
carousel_section_callback()
S
91 1 2
display_bail_message()
S
68 1 7
asset_version()
S
79 1 3
maybe_enable_jp_carousel_single_images_media_file()
S
79 1 3
maybe_disable_jp_carousel_single_images()
S
79 1 3
maybe_disable_jp_carousel()
S
79 1 3
carousel_enable_it_sanitize()
S
80 1 3