Code Analysis: WP-PostRatings 1.91.1

Function Rating Maintainability Complexity Lines of code
expand_ratings_template()
D
22
45 181
process_ratings()
C
34 25 75
manage_ratings()
B
34 22 84
get_ratings_images_vote()
B
38 22 60
get_ratings_images()
B
43 18 46
WP_Widget_PostRatings::widget()
B
39 16 61
the_ratings()
A
40 15 53
get_ratings_images_comment_author()
A
45 15 39
comment_author_ratings_filter()
A
45 13 38
get_lowest_rated_category()
A
41 11 48
get_highest_rated_tag()
A
41 11 48
get_lowest_rated_tag()
A
41 11 48
get_most_rated_category()
A
41 11 48
get_most_rated_range_category()
A
41 11 48
get_highest_rated_category()
A
41 11 48
get_highest_rated_range_category()
A
41 11 48
ratings_images_folder()
A
48 12 30
get_most_rated()
A
43 10 42
get_most_rated_range()
A
43 10 42
get_highest_rated()
A
43 10 42
get_lowest_rated()
A
43 10 42
get_highest_rated_range()
A
43 10 42
get_lowest_rated_range()
A
43 10 42
comment_author_ratings()
A
49 10 31
get_highest_score_range_category()
A
43 9 41
get_highest_score_category()
A
43 9 41
ratings_scripts()
A
43 8 44
get_highest_score_range()
A
45 8 35
get_highest_score()
A
46 8 35
get_comment_authors_ratings()
A
56 8 17
check_rated()
S
51 7 28
WP_Widget_PostRatings::form()
S
37 3 84
ratings_activate()
S
41 5 53
ratings_activation()
S
58 7 15
postratings_page_most_stats()
S
49 5 29
postratings_page_admin_most_stats()
S
51 5 25
the_ratings_vote()
S
56 5 17
check_allowtorate()
S
58 5 17
the_ratings_results()
S
57 5 16
plugin_uninstalled()
S
57 5 16
ratings_most_orderby()
S
62 5 11
ratings_highest_orderby()
S
62 5 11
ratings_shortcode()
S
61 5 11
snippet_text()
S
57 4 17
ratings_sorting()
S
54 3 24
ratings_get_raw_ipaddress()
S
66 4 8
ratings_highest_join()
S
60 3 13
get_ratings_users()
S
61 3 12
ratings_get_hostname()
S
62 3 11
WPPostRatingsAdmin::ratings_menu()
S
53 1 31
WPPostRatingsAdmin::postrating_admin_column_content()
S
64 3 9
sort_postratings()
S
64 3 10
ratings_post_excerpt()
S
64 3 10
WP_Widget_PostRatings::update()
S
59 2 15
postratings_init()
S
75 2 5
ratings_scripts_admin()
S
62 2 10
delete_ratings_fields()
S
67 2 8
postratings_page_general_stats()
S
61 2 10
add_ratings_to_content()
S
70 2 6
ratings_acquire_lock()
S
64 2 9
check_rated_username()
S
66 2 8
check_rated_cookie()
S
71 2 6
postratings_page_admin_general_stats()
S
64 2 9
add_ratings_fields()
S
67 2 8
ratings_release_lock()
S
64 2 10
ratings_most_join()
S
72 1 5
WPPostRatingsI18N::load_textdomain()
S
81 1 3
WP_Widget_PostRatings::__construct()
S
67 1 9
WPPostRatingsAdmin::__construct()
S
65 1 9
WPPostRatingsAdmin::postrating_admin_column_title()
S
75 1 4
ratings_highest_fields()
S
78 1 4
postratings_wp_stats()
S
70 1 6
ratings_get_ipaddress()
S
79 1 3
ratings_most_fields()
S
73 1 5
widget_ratings_init()
S
82 1 3
ratings_lock_file()
S
77 1 3
check_rated_ip()
S
71 1 5
ratings_variables()
S
74 1 5
WPPostRatingsI18N::__construct()
S
79 1 3
WPPostRatingsAdmin::postrating_admin_column_sort()
S
77 1 4