Jetpack_RelatedPosts D

Total Complexity 218
Dependencies 10
Dependents 2
Total lines 1,911
Lines of code 1,110
Logical lines of code 409
Comment lines 642
Methods 44
Properties 8

Methods 44

Method Rating Maintainability Complexity Lines of code
get_es_filters_from_args()
B
37 23 71
get_related_post_ids()
B
36 21 77
render_block()
B
41 16 51
parse_options()
B
47 17 32
action_frontend_init_ajax()
A
31 6 137
get_options()
A
48 12 34
print_setting_head()
A
35 4 140
generate_related_post_image_params()
A
44 9 51
generate_related_post_context()
A
48 9 34
render_block_item()
A
45 8 44
filter_add_target_to_dom()
S
60 7 13
get_for_post_id()
S
51 5 27
enqueue_assets()
S
52 5 24
print_setting_html()
S
43 2 67
enabled_for_request()
S
65 6 8
get_server_rendered_html()
S
58 5 14
action_frontend_init()
S
57 4 16
__construct()
S
49 3 31
parse_numeric_get_arg()
S
60 4 13
get_coalesced_range()
S
57 3 16
get_client_rendered_html()
S
59 3 16
requires_scripts()
S
69 4 7
init()
S
64 4 10
init_raw()
S
64 4 10
get_title()
S
61 3 12
get_related_posts()
S
59 2 15
filter_non_public_posts()
S
63 3 10
rest_register_related_posts()
S
60 2 14
get_related_post_data_for_post()
S
51 1 27
get_headline()
S
62 2 12
render_block_row()
S
63 2 11
get_excerpt()
S
66 2 8
to_utf8()
S
69 2 7
get_client_rendered_html_unsupported()
S
72 2 6
get_option()
S
69 2 7
allow_feature_toggle()
S
70 2 6
action_admin_init()
S
64 2 8
setup_shortcode()
S
74 1 4
test_for_shortcode()
S
75 1 4
render_amp_reader_mode_css()
S
79 1 3
get_blog_id()
S
80 1 3
action_frontend_init_page()
S
72 1 5
log_click()
S
91 1 2
rest_get_related_posts()
S
78 1 3