MonsterInsights_Popular_Posts C

Total Complexity 109
Dependencies 2
Dependents 0
Total lines 738
Lines of code 341
Logical lines of code 179
Comment lines 253
Methods 34
Properties 12

Methods 34

Method Rating Maintainability Complexity Lines of code
get_element_style()
B
45 18 40
process_posts()
S
49 6 32
get_posts_to_display()
S
59 7 14
get_wrapper_class()
S
54 6 20
is_post_excluded()
S
56 6 19
get_query_args_curated()
S
59 5 15
is_current_post()
S
63 5 10
get_posts()
S
59 4 14
maybe_load_ajaxify_script()
S
59 4 13
load_frontend_styles()
S
60 4 12
query_args()
S
66 4 9
get_instance()
S
64 3 10
get_themes_styles_for_output()
S
71 3 5
render_shortcode()
S
69 3 6
should_display_post()
S
65 3 10
has_posts_to_show()
S
67 3 8
shortcode_output()
S
68 2 8
get_cache()
S
71 2 6
add_theme_specific_styles()
S
70 2 6
register_shortcode()
S
73 2 5
add_inline_styles()
S
73 2 5
get_theme_props()
S
69 2 7
set_post_shown()
S
72 2 5
get_query_args_comments()
S
63 1 12
__construct()
S
73 1 5
get_shown_posts()
S
82 1 3
get_query_args_sharedcount()
S
67 1 8
__get()
S
79 1 3
get_rendered_html()
S
82 1 3
get_ajax_json_data()
S
69 1 7
get_inline_styles()
S
81 1 3
build_inline_styles()
S
82 1 3
hooks()
S
73 1 5
get_query_args()
S
64 1 10