Jetpack_Carousel D

Total Complexity 167
Dependencies 9
Dependents 1
Total lines 1,465
Lines of code 863
Logical lines of code 352
Comment lines 474
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
post_attachment_comment()
C
32 30 98
add_carousel_skeleton()
B
29 11 204
get_attachment_comments()
B
37 15 79
add_data_img_tags_and_enqueue_assets()
B
39 16 63
init()
A
43 13 45
add_data_to_images()
A
43 13 42
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
register_settings()
S
59 2 13
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_display_comments_callback()
S
79 1 3
carousel_enable_it_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