Code Analysis: bbPress Voting 2.1.9.2

Function Rating Maintainability Complexity Lines of code
bbp_voting_buttons()
D
30 41 90
bbpress_post_add_vote()
B
37 22 70
sort_bbpress_posts_by_votes()
B
37 16 76
bbp_voting_forum_metabox()
A
42 9 68
bbp_voting_field()
A
48 11 34
bbp_voting_settings_form()
A
33 3 136
bbp_voting_parse_args()
S
55 7 20
bbp_voting_save_forum_metabox()
S
54 5 30
bbp_voting_settings_page()
S
54 3 28
bbp_voting_hook_setting()
S
61 4 12
bbp_voting_settings_tabs()
S
68 4 8
bbp_voting_scripts()
S
66 3 7
bbp_voting_get_plugin_activate_link()
S
64 2 9
bbp_voting_settings_form_footer()
S
68 2 8
bbp_voting_settings_form_header()
S
66 2 9
bbp_voting_lead_topic_when_threaded()
S
74 2 5
WilsonConfidenceIntervalCalculator::getScore()
S
77 2 3
bbp_voting_get_post_type_by_id()
S
75 2 4
bbp_voting_get_current_post_type()
S
76 2 4
bbp_voting_register_settings()
S
71 2 6
bbp_voting_get_plugin_install_link()
S
63 1 12
bbp_voting_settings_link()
S
61 1 12
WilsonConfidenceIntervalCalculator::calculationDenominator()
S
79 1 3
WilsonConfidenceIntervalCalculator::calculationNumerator()
S
76 1 3
bbp_voting_settings_menu()
S
71 1 7
WilsonConfidenceIntervalCalculator::lowerBound()
S
69 1 6
bbp_voting_metaboxes()
S
67 1 10
bbp_voting_styles()
S
77 1 3