Code Analysis: Math Captcha 1.3.0

Function Rating Maintainability Complexity Lines of code
Math_Captcha_Core::generate_captcha_phrase()
D
27
42 130
Math_Captcha_Settings::validate_settings()
C
39 25 56
Math_Captcha_Integration_WordPress::init()
B
42 23 45
Math_Captcha_Integration_CF7::validation_filter()
A
46 12 37
Math_Captcha_Integration_WordPress::validate_lostpassword_captcha()
A
48 11 31
Math_Captcha_Core::numberToWords()
A
41 8 54
Math_Captcha_Integration_WordPress::validate_comment_captcha()
A
54 10 17
Math_Captcha_Integration_WordPress::validate_login_captcha()
A
54 9 18
Math_Captcha_Integration_CF7::shortcode_handler()
A
48 8 29
Math_Captcha_Integration_WordPress::authenticate_user()
A
52 8 23
Math_Captcha_Cookie_Session::init_session()
A
56 8 17
Math_Captcha_Settings::mc_general_enable_captcha_for()
S
56 7 14
Math_Captcha_Core::wp_enqueue_scripts()
S
54 6 17
Math_Captcha_Core::encode_operation()
S
55 6 16
Math_Captcha_Core::get_host()
S
58 5 15
Math_Captcha_Integration_CF7::admin_notices()
S
59 5 14
Math_Captcha_Integration_WordPress::validate_registration_captcha()
S
58 5 13
Math_Captcha_Integration_WordPress::validate_multisite_registration_captcha()
S
58 5 13
Math_Captcha_Integration_bbPress::validate_bbpress_captcha()
S
60 5 11
Math_Captcha_Integration_bbPress::init()
S
57 4 18
Math_Captcha_Core::load_integrations()
S
66 5 7
Math_Captcha::instance()
S
59 4 14
Math_Captcha::activation()
S
61 4 12
Math_Captcha::deactivation()
S
61 4 12
Math_Captcha_Update::check_update()
S
61 4 12
Math_Captcha_Core::get_captcha()
S
51 3 27
Math_Captcha_Integration_CF7::tag()
S
48 1 51
Math_Captcha_Cookie_Session::set_cookie()
S
54 3 21
Math_Captcha_Core::add_captcha_form()
S
59 3 15
Math_Captcha::deactivate_site()
S
63 3 11
Math_Captcha_Settings::options_page()
S
47 1 39
Math_Captcha_Settings::load_defaults()
S
54 2 22
Math_Captcha_Core::block_direct_comments()
S
59 2 18
Math_Captcha()
S
70 3 6
Math_Captcha::plugin_extend_links()
S
67 3 7
Math_Captcha_Integration_CF7::register_shortcode()
S
68 3 6
Math_Captcha_Settings::mc_general_mathematical_operations()
S
59 2 13
Math_Captcha_Settings::mc_general_groups()
S
59 2 13
Math_Captcha::admin_comments_scripts_styles()
S
60 2 12
Math_Captcha_Integration_CF7::error_messages()
S
57 1 19
Math_Captcha::includes()
S
67 2 8
Math_Captcha_Integration_CF7::add_tag_generator()
S
73 2 4
Math_Captcha_Core::add_captcha_field()
S
69 2 7
Math_Captcha_Cookie_Session::add_cookie()
S
67 2 8
Math_Captcha_Cookie_Session::generate_password()
S
66 2 8
Math_Captcha::plugin_settings_link()
S
69 2 6
Math_Captcha_Core::flush_rewrites()
S
66 2 8
Math_Captcha::__construct()
S
59 1 13
Math_Captcha_Settings::register_settings()
S
59 1 13
Math_Captcha_Settings::mc_general_time()
S
66 1 9
Math_Captcha_Settings::mc_general_title()
S
66 1 9
Math_Captcha_Core::set_captcha_phrase()
S
72 1 4
Math_Captcha_Settings::mc_general_hide_for_logged_users()
S
65 1 9
Math_Captcha_Integration_WordPress::__construct()
S
79 1 3
Math_Captcha::frontend_comments_scripts_styles()
S
74 1 4
Math_Captcha_Update::__construct()
S
79 1 3
Math_Captcha_Integration_CF7::__construct()
S
65 1 8
Math_Captcha_Integration_bbPress::__construct()
S
79 1 3
Math_Captcha_Integration_WordPress::add_lostpassword_wp_message()
S
82 1 3
Math_Captcha_Settings::admin_menu_options()
S
77 1 3
Math_Captcha_Settings::mc_general_block_direct_comments()
S
65 1 9
Math_Captcha::define_constants()
S
77 1 6
Math_Captcha::activate_site()
S
74 1 4
Math_Captcha::load_textdomain()
S
78 1 3
Math_Captcha_Core::print_scripts()
S
71 1 7
Math_Captcha_Core::load_defaults()
S
67 1 7
Math_Captcha_Settings::mc_general_deactivation_delete()
S
64 1 10
Math_Captcha_Integration_WordPress::add_lostpassword_captcha_message()
S
79 1 3
Math_Captcha_Integration_WordPress::add_shake_error_codes()
S
77 1 4
Math_Captcha_Cookie_Session::__construct()
S
78 1 3
Math_Captcha::__clone()
S
98 1 1
Math_Captcha_Settings::mc_general_reloading()
S
66 1 8
Math_Captcha_Settings::__construct()
S
72 1 5
Math_Captcha_Core::__construct()
S
63 1 10
Math_Captcha::__wakeup()
S
98 1 1