Code Analysis: WP Advanced Math Captcha 1.2.12

Function Rating Maintainability Complexity Lines of code
Math_Captcha_Core::generate_captcha_phrase()
D
25
49 148
Math_Captcha_Core::load_actions_filters()
C
43 29 35
Math_Captcha_Settings::validate_settings()
B
41 18 50
Math_Captcha_Cookie_Session::init_session()
A
49 14 26
wpcf7_mathcaptcha_validation_filter()
A
45 13 40
Math_Captcha_Core::check_lost_password_with_captcha()
A
48 11 30
Math_Captcha_Core::add_comment_with_captcha()
A
55 11 16
Math_Captcha_Core::numberToWords()
A
41 8 54
Math_Captcha_Core::redirect_login_with_captcha()
A
55 9 17
Math_Captcha_Core::authenticate_user()
A
52 8 22
wpcf7_mathcaptcha_shortcode_handler()
S
49 7 26
Math_Captcha_Core::encode_operation()
S
55 6 17
Math_Captcha_Core::get_host()
S
58 5 15
Math_Captcha_Settings::mc_general_enable_captcha_for()
S
57 5 14
wpcf7_mathcaptcha_display_warning_message()
S
59 5 14
Math_Captcha_Update::check_update()
S
60 5 12
Math_Captcha_Core::add_user_with_captcha()
S
59 5 12
Math_Captcha_Core::validate_user_with_captcha()
S
59 5 12
Math_Captcha_Core::check_bbpress_captcha()
S
60 5 11
Math_Captcha::plugin_settings_link()
S
61 4 11
Math_Captcha_Core::add_bbp_captcha_form()
S
60 3 13
Math_Captcha_Core::add_captcha_form()
S
60 3 13
wpcf7_tg_pane_mathcaptcha()
S
51 1 42
Math_Captcha_Settings::load_defaults()
S
54 2 22
Math_Captcha_Core::block_direct_comments()
S
59 2 18
Math_Captcha::admin_comments_scripts_styles()
S
58 2 17
Math_Captcha()
S
70 3 6
Math_Captcha_Settings::mc_general_groups()
S
59 2 14
Math_Captcha_Settings::mc_general_mathematical_operations()
S
59 2 14
Math_Captcha_Settings::options_page()
S
54 1 22
wpcf7_mathcaptcha_messages()
S
57 1 19
wpcf7_add_tag_generator_mathcaptcha()
S
74 2 4
Math_Captcha::plugin_extend_links()
S
70 2 6
Math_Captcha::instance()
S
73 2 5
Math_Captcha_Cookie_Session::generate_password()
S
65 2 8
Math_Captcha_Core::flush_rewrites()
S
66 2 8
Math_Captcha::deactivation()
S
75 2 4
wpcf7_add_shortcode_mathcaptcha()
S
75 2 4
Math_Captcha::__construct()
S
59 1 13
Math_Captcha::activation()
S
59 1 13
Math_Captcha_Settings::register_settings()
S
60 1 12
Math_Captcha_Settings::mc_general_title()
S
65 1 10
Math_Captcha_Cookie_Session::__construct()
S
75 1 4
Math_Captcha_Core::add_shake_error_codes()
S
77 1 4
Math_Captcha::__wakeup()
S
98 1 1
Math_Captcha_Settings::mc_general_deactivation_delete()
S
64 1 10
Math_Captcha::frontend_comments_scripts_styles()
S
72 1 6
Math_Captcha_Settings::admin_menu_options()
S
72 1 5
Math_Captcha_Core::load_defaults()
S
67 1 7
Math_Captcha::load_textdomain()
S
78 1 3
Math_Captcha_Core::add_lostpassword_wp_message()
S
82 1 3
Math_Captcha_Update::__construct()
S
79 1 3
Math_Captcha_Settings::mc_general_block_direct_comments()
S
64 1 10
Math_Captcha_Core::__construct()
S
66 1 8
Math_Captcha::__clone()
S
98 1 1
Math_Captcha_Settings::__construct()
S
72 1 5
Math_Captcha_Settings::mc_general_time()
S
65 1 10
Math_Captcha_Core::add_lostpassword_captcha_message()
S
79 1 3
Math_Captcha_Settings::mc_general_hide_for_logged_users()
S
64 1 10