MonsterInsights_Popular_Posts C

Total Complexity 108
Dependencies 2
Dependents 0
Total lines 731
Lines of code 330
Logical lines of code 180
Comment lines 253
Methods 34
Properties 12

Methods 34

Method Rating Maintainability Complexity Lines of code
get_element_style()
B
43 19 44
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
60 4 12
load_frontend_styles()
S
64 4 8
query_args()
S
66 4 9
get_themes_styles_for_output()
S
71 3 5
has_posts_to_show()
S
67 3 8
should_display_post()
S
65 3 10
get_instance()
S
64 3 10
shortcode_output()
S
68 2 8
get_cache()
S
71 2 6
set_post_shown()
S
72 2 5
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
get_shown_posts()
S
82 1 3
__construct()
S
73 1 5
get_query_args_sharedcount()
S
67 1 8
get_query_args_comments()
S
69 1 7
__get()
S
79 1 3
get_rendered_html()
S
82 1 3
get_ajax_json_data()
S
69 1 7
render_shortcode()
S
78 1 3
get_inline_styles()
S
81 1 3
build_inline_styles()
S
82 1 3
hooks()
S
73 1 5
get_query_args()
S
67 1 8