DaisyPluginsRelatedPosts C

Total Complexity 107
Dependencies 1
Dependents 0
Total lines 682
Lines of code 510
Logical lines of code 213
Comment lines 66
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
add_related_posts()
B
39 21 62
add_inline_styles()
A
43 14 48
settings_init()
A
32 1 164
get_related_posts()
A
47 8 38
daisyplugins_related_posts_sanitize_settings()
S
52 6 23
settings_page()
S
58 2 18
enqueue_admin_assets()
S
58 2 18
enable_related_posts_callback()
S
70 3 5
display_thumbnails_callback()
S
70 3 5
display_excerpt_callback()
S
70 3 5
display_author_callback()
S
70 3 5
display_date_callback()
S
70 3 5
enqueue_public_assets()
S
64 2 11
related_posts_title_callback()
S
73 2 4
posts_count_callback()
S
73 2 4
posts_per_row_desktop_callback()
S
70 2 5
posts_per_row_tablet_callback()
S
70 2 5
posts_per_row_mobile_callback()
S
70 2 5
background_color_callback()
S
73 2 4
title_color_callback()
S
73 2 4
text_color_callback()
S
73 2 4
link_color_callback()
S
73 2 4
border_radius_callback()
S
73 2 4
box_shadow_callback()
S
70 2 5
title_font_size_callback()
S
73 2 4
title_font_weight_callback()
S
62 2 9
text_font_size_callback()
S
73 2 4
add_admin_menu()
S
64 1 11
__construct()
S
64 1 9
init()
S
80 1 3
general_section_callback()
S
78 1 3
layout_section_callback()
S
78 1 3
style_section_callback()
S
78 1 3
typography_section_callback()
S
78 1 3
uninstall()
S
80 1 3