Code Analysis: WP-Polls 2.77.2

Function Rating Maintainability Complexity Lines of code
polls_archive()
D
18
46 248
display_pollresult()
D
26
27 159
get_poll()
C
34 27 88
manage_poll()
B
31 19 118
vote_poll_process()
B
34 18 90
polls_activate()
B
28
14 139
display_pollvote()
B
32 16 93
poll_timestamp()
A
38 14 72
vote_poll()
A
47 10 33
check_voted()
S
54 7 24
poll_scripts()
S
43 5 45
check_allowtovote()
S
55 6 22
poll_shortcode()
S
57 6 16
_polls_get_ans_result_sort()
S
59 6 15
_polls_get_ans_sort()
S
59 6 15
WP_Widget_Polls::form()
S
44 4 45
polls_activation()
S
60 5 14
check_voted_username()
S
56 4 18
poll_scripts_admin()
S
52 3 22
poll_tinymce_addbuttons()
S
63 4 10
poll_get_raw_ipaddress()
S
66 4 8
WP_Widget_Polls::widget()
S
59 3 14
in_pollarchive()
S
60 3 13
check_voted_ip()
S
60 3 13
check_voted_multiple()
S
63 3 11
polls_archive_link()
S
63 3 11
poll_get_hostname()
S
62 3 11
plugin_uninstalled()
S
63 3 10
polls_page_general_stats()
S
59 2 12
get_polltime()
S
62 2 11
get_pollvotes()
S
66 2 9
cron_polls_status()
S
64 2 9
polls_acquire_lock()
S
64 2 9
get_pollvotes_by_id()
S
64 2 10
get_pollvoters()
S
66 2 9
polls_release_lock()
S
64 2 10
get_pollanswers()
S
66 2 9
poll_tinymce_addplugin()
S
67 2 8
poll_footer_admin()
S
62 1 15
check_voted_cookie()
S
66 2 8
WP_Widget_Polls::update()
S
64 2 10
get_pollquestions()
S
66 2 9
polls_page_admin_general_stats()
S
64 2 9
display_polls_archive_link()
S
65 2 9
cron_polls_place()
S
71 2 6
poll_menu()
S
67 1 7
poll_template_vote_markup()
S
78 1 3
polls_textdomain()
S
82 1 3
removeslashes()
S
74 1 4
polls_latest_id()
S
72 1 5
polls_wp_stats()
S
76 1 4
poll_get_ipaddress()
S
79 1 3
poll_tinymce_registerbutton()
S
76 1 4
WP_Widget_Polls::__construct()
S
74 1 4
poll_page_shortcode()
S
82 1 3
get_poll_question()
S
69 1 6
polls_lock_file()
S
77 1 3
widget_polls_init()
S
78 1 4
poll_tinymce_translation()
S
68 1 7