Code Analysis: WP Advanced Math Captcha 2.1.4

Function Rating Maintainability Complexity Lines of code
Math_Captcha_Core::load_actions_filters()
D
19
87 156
Math_Captcha_Core::generate_captcha_phrase()
D
18
69 198
Math_Captcha_Settings::mc_tab_logs()
D
15
60 310
Math_Captcha_Settings::options_page()
D
21
37 257
Math_Captcha_Settings::validate_settings()
D
30 33 105
Math_Captcha_Settings::mc_general_enable_captcha_for()
B
40 19 56
Math_Captcha_Cookie_Session::init_session()
A
49 14 26
wpcf7_mathcaptcha_validation_filter()
A
45 13 40
Math_Captcha_Core::get_last_log_lines()
A
45 13 39
MathCaptcha_GEO::decodeByType()
A
47 13 34
Math_Captcha_Core::check_lost_password_with_captcha()
A
46 11 38
Math_Captcha_Settings::register_settings()
A
42 10 48
Math_Captcha_Core::add_comment_with_captcha()
A
49 11 28
Math_Captcha_Settings::mc_general_pro_support()
A
39 7 74
MathCaptcha_GEO::checkIP_in_List()
A
50 10 25
Math_Captcha_Core::numberToWords()
A
41 8 55
Math_Captcha_Core::counter_add_alert()
A
47 9 35
Math_Captcha_Core::download_large_file_from_remote_server()
A
43 8 46
Math_Captcha_Settings::mc_general_block_geo_captcha()
A
49 9 27
Math_Captcha_Core::redirect_login_with_captcha()
A
54 9 19
Math_Captcha_Core::getClientIP()
A
51 8 27
MathCaptcha_GEO::GetSessionIP()
A
51 8 27
Math_Captcha_Core::authenticate_user()
A
52 8 23
Math_Captcha_Core::PrepareDomain()
A
53 8 22
Math_Captcha_Core::Update_GEO_database()
A
47 7 32
Math_Captcha_Settings::mc_general_geo_captcha()
S
49 7 27
wpcf7_mathcaptcha_shortcode_handler()
S
49 7 26
MathCaptcha_GEO::get()
S
61 7 11
Math_Captcha_Core::wmc_checkout_block_check()
S
52 6 23
MathCaptcha_GEO::decodeBigUint()
S
52 6 22
Math_Captcha_Core::isPRO()
S
54 6 20
Math_Captcha_Core::encode_operation()
S
55 6 17
MathCaptcha_GEO::decode()
S
51 5 28
MathCaptcha_GEO::readNode()
S
51 5 26
Math_Captcha_Settings::mc_general_geo_database()
S
52 5 25
Math_Captcha_Settings::mc_general_block_enable_ip_rules()
S
53 5 21
Math_Captcha_Settings::mc_general_enable_ip_rules()
S
53 5 21
Math_Captcha_Core::add_user_with_captcha()
S
54 5 20
Math_Captcha_Core::validate_user_with_captcha()
S
54 5 20
Math_Captcha_Core::check_bbpress_captcha()
S
55 5 19
MathCaptcha_GEO::findAddressInTree()
S
54 5 19
MathCaptcha_GEO::sizeFromCtrlByte()
S
57 5 15
Math_Captcha_Core::get_host()
S
58 5 15
MathCaptcha_GEO::ipV4StartNode()
S
60 5 14
wpcf7_mathcaptcha_display_warning_message()
S
59 5 14
Math_Captcha_Update::check_update()
S
60 5 12
Math_Captcha_Core::RestorePurchase()
S
51 4 25
Math_Captcha::GetAlerts()
S
54 4 22
MathCaptcha_GEO::findMetadataStart()
S
54 4 20
Math_Captcha_Core::generateUniqueKey()
S
56 4 17
MathCaptcha_GEO::__construct()
S
57 4 16
Math_Captcha_Core::get_last_ip_request_time()
S
57 4 16
Math_Captcha_Core::wmc_wpforms_validation()
S
56 4 16
MathCaptcha_GEO::getCountryByIP()
S
65 5 8
MathCaptcha_GEO::read()
S
62 4 12
Math_Captcha::plugin_settings_link()
S
61 4 11
Math_Captcha_Core::add_captcha_form()
S
59 3 14
Math_Captcha_Core::add_wpforms_captcha_form()
S
59 3 14
Math_Captcha_Core::add_bbp_captcha_form()
S
59 3 14
Math_Captcha_Settings::mc_general_mathematical_operations()
S
58 3 14
Math_Captcha_Settings::mc_general_groups()
S
58 3 14
wpcf7_tg_pane_mathcaptcha()
S
51 1 42
Math_Captcha_Settings::load_defaults()
S
51 2 27
Math_Captcha_Core::block_direct_comments()
S
59 2 18
Math_Captcha::admin_comments_scripts_styles()
S
58 2 17
MathCaptcha_GEO::startNode()
S
70 3 6
Math_Captcha_Settings::mc_general_enable_ip_auto_block()
S
65 3 8
Math_Captcha_Settings::mc_general_max_number_attempts()
S
63 3 10
Math_Captcha_Settings::mc_general_geo_db_autoupdate()
S
62 3 10
Math_Captcha_Settings::mc_general_show_powered_by()
S
65 3 8
MathCaptcha_GEO::metadata()
S
72 3 5
Math_Captcha_Settings::mc_general_lockout_period()
S
63 3 10
Math_Captcha_Core::generate_captcha_code()
S
72 3 5
Math_Captcha()
S
70 3 6
Math_Captcha::modify_admin_bar()
S
59 2 14
MathCaptcha_GEO::decodePointer()
S
60 2 12
Math_Captcha::__construct()
S
53 1 21
wpcf7_mathcaptcha_messages()
S
57 1 19
Math_Captcha_Core::wmc_register_endpoint_data()
S
59 1 17
Math_Captcha_Settings::mc_general_collect_logs()
S
63 2 10
wpcf7_add_shortcode_mathcaptcha()
S
75 2 4
MathCaptcha_GEO::decodeArray()
S
66 2 8
MathCaptcha_GEO::setMetaData()
S
58 1 15
Math_Captcha_Core::PGP_decrypt_content()
S
67 2 7
Math_Captcha::deactivation()
S
73 2 5
Math_Captcha_Settings::mc_general_deactivation_delete()
S
63 2 10
Math_Captcha_Core::flush_rewrites()
S
66 2 8
MathCaptcha_GEO::decodeMap()
S
65 2 9
MathCaptcha_GEO::decodeBoolean()
S
79 2 3
wpcf7_add_tag_generator_mathcaptcha()
S
74 2 4
MathCaptcha_GEO::resolveDataPointer()
S
68 2 7
Math_Captcha::instance()
S
73 2 5
Math_Captcha_Settings::mc_general_time()
S
64 2 10
Math_Captcha_Settings::mc_general_hide_for_logged_users()
S
63 2 10
MathCaptcha_GEO::verifySize()
S
79 2 3
MathCaptcha_GEO::maybeSwitchByteOrder()
S
79 2 3
Math_Captcha::plugin_extend_links()
S
70 2 6
MathCaptcha_GEO::getNameByCountryCode()
S
69 2 7
Math_Captcha_Cookie_Session::generate_password()
S
65 2 8
Math_Captcha_Settings::mc_general_block_direct_comments()
S
63 2 10
MathCaptcha_GEO::close()
S
75 2 4
Math_Captcha_Settings::mc_general_title()
S
64 2 10
Math_Captcha::activation()
S
59 1 13
Math_Captcha_Core::wmc_install_dup()
S
62 1 13
MathCaptcha_GEO::decodeInt32()
S
72 1 5
Math_Captcha_Core::load_defaults()
S
67 1 7
Math_Captcha_Core::add_lostpassword_captcha_message()
S
79 1 3
MathCaptcha_GEO::decodeFloat()
S
75 1 4
MathCaptcha_GEO::decodeString()
S
82 1 3
wmc_register_style()
S
78 1 3
Math_Captcha_Core::grp_send_get_request()
S
68 1 7
Math_Captcha_Core::wmc_render_pre_block()
S
68 1 8
MathCaptcha_GEO::decodeDouble()
S
75 1 4
ai1ic_add_to_wpforms_dup()
S
81 1 3
call_cf7ic_pro_dup()
S
83 1 3
MathCaptcha_GEO::decodeUint()
S
74 1 4
cf7ic_wpforms_check_enabled()
S
79 1 3
Math_Captcha_Settings::mc_WarningMessage()
S
83 1 5
Math_Captcha::load_textdomain()
S
78 1 3
Math_Captcha_Core::add_shake_error_codes()
S
77 1 4
wmc_script_enqueue()
S
77 1 3
Math_Captcha_Core::wmc_get_database_entry_dup()
S
72 1 5
Math_Captcha::frontend_comments_scripts_styles()
S
72 1 6
ai1ic_wpforms_validation_dup()
S
82 1 3
Math_Captcha_Settings::admin_menu_options()
S
72 1 5
MathCaptcha_GEO::isPlatformLittleEndian()
S
72 1 5
Math_Captcha_Settings::__construct()
S
72 1 5
MathCaptcha_GEO::decoderFunc()
S
71 1 6
Math_Captcha_Update::__construct()
S
79 1 3
Math_Captcha::__clone()
S
98 1 1
Math_Captcha_Core::getClientCountry_byIP()
S
76 1 4
MathCaptcha_GEO::zeroPadLeft()
S
78 1 3
Math_Captcha_Settings::mc_tab_support()
S
83 1 5
Math_Captcha_Cookie_Session::__construct()
S
75 1 4
Math_Captcha::__wakeup()
S
98 1 1
Math_Captcha_Core::__construct()
S
63 1 10
Math_Captcha_Core::wmc_table_name_dup()
S
77 1 4
MathCaptcha_GEO::getCountryMapList()
S
69 1 7
Math_Captcha_Core::add_lostpassword_wp_message()
S
82 1 3