Code Analysis: ALTCHA Spam Protection 1.19.0

Function Rating Maintainability Complexity Lines of code
altcha_settings_init()
D
16
1 603
AltchaPlugin::get_widget_attrs()
A
45 12 42
altcha_settings_select_callback()
A
50 11 26
altcha_plugin_active()
A
52 11 24
AltchaPlugin::generate_challenge()
A
44 8 45
altcha_settings_field_callback()
A
54 9 19
Elementor_Form_Altcha_Field::remove_control_form_field_type()
A
56 8 16
ALTCHA_GFForms_Field::validate()
A
56 8 16
AltchaPlugin::verify_solution()
S
53 7 21
altcha_options_page_html()
S
41 1 92
Elementor_Form_Altcha_Field::validation()
S
57 6 15
AltchaPlugin::flatten_post()
S
56 5 19
AltchaPlugin::get_ip_address()
S
59 5 13
AltchaPlugin::verify()
S
60 5 13
AltchaPlugin::render_widget()
S
55 4 20
AltchaPlugin::verify_server_signature()
S
56 4 17
ALTCHA_GFForms_Field::get_field_input()
S
57 4 16
AltchaPlugin::init()
S
60 4 12
AltchaPlugin::get_translations()
S
53 3 24
AltchaPlugin::has_active_integrations()
S
56 3 19
AltchaPlugin::remove_private_keys()
S
64 4 9
AltchaPlugin::spam_filter_call()
S
52 2 23
altcha_general_section_callback()
S
51 1 38
Elementor_Form_Altcha_Field::render()
S
63 3 9
ALTCHA_GFFormsAddOn::pre_init()
S
70 3 6
altcha_forminator_render_widget()
S
64 3 9
altcha_spam_filter_section_callback()
S
61 1 17
altcha_enqueue_scripts()
S
62 1 16
AltchaPlugin::sanitize_data()
S
68 2 7
Elementor_Form_Altcha_Field::update_controls()
S
65 2 9
ALTCHA_GFFormsAddOn::get_instance()
S
71 2 6
AltchaPlugin::get_challengeurl()
S
66 2 8
altcha_enqueue_widget_scripts()
S
73 2 6
altcha_script_tags()
S
71 2 6
AltchaPlugin::spam_filter_check()
S
65 2 9
altcha_settings_link()
S
61 1 13
ALTCHA_GFFormsAddOn::get_menu_icon()
S
82 1 3
altcha_widget_section_callback()
S
73 1 6
AltchaPlugin::get_auto()
S
80 1 3
altcha_generate_challenge_endpoint()
S
73 1 5
AltchaPlugin::get_delay()
S
80 1 3
altcha_integrations_section_callback()
S
73 1 6
ALTCHA_GFForms_Field::get_form_editor_field_settings()
S
70 1 8
altcha_wordpress_comments_render_widget()
S
70 1 6
AltchaPlugin::get_complexity()
S
80 1 3
altcha_init()
S
70 1 7
AltchaPlugin::get_integration_forminator()
S
80 1 3
altcha_deactivate()
S
100 1 2
AltchaPlugin::get_hidelogo()
S
80 1 3
AltchaPlugin::get_integration_contact_form_7()
S
80 1 3
ALTCHA_GFForms_Field::is_on_last_page()
S
74 1 4
AltchaPlugin::random_secret()
S
80 1 3
AltchaPlugin::get_expires()
S
80 1 3
AltchaPlugin::get_integration_wordpress_comments()
S
80 1 3
AltchaPlugin::get_api_key()
S
80 1 3
altcha_activate()
S
65 1 9
AltchaPlugin::get_integration_elementor()
S
80 1 3
AltchaPlugin::get_integration_wpdiscuz()
S
80 1 3
AltchaPlugin::get_integration_custom()
S
80 1 3
AltchaPlugin::get_integration_wordpress_register()
S
80 1 3
AltchaPlugin::get_hidefooter()
S
80 1 3
AltchaPlugin::get_blockspam()
S
80 1 3
AltchaPlugin::get_integration_wpforms()
S
80 1 3
ALTCHA_GFFormsAddOn::init_admin()
S
81 1 3
AltchaPlugin::get_integration_woocommerce_reset_password()
S
80 1 3
Elementor_Form_Altcha_Field::get_name()
S
79 1 3
AltchaPlugin::get_integration_woocommerce_register()
S
80 1 3
Elementor_Form_Altcha_Field::get_type()
S
82 1 3
AltchaPlugin::get_integration_woocommerce_login()
S
80 1 3
ALTCHA_GFForms_Field::get_form_editor_field_icon()
S
82 1 3
AltchaPlugin::get_integration_html_forms()
S
80 1 3
AltchaPlugin::get_secret()
S
80 1 3
AltchaPlugin::get_floating()
S
80 1 3
AltchaPlugin::get_integration_wordpress_login()
S
80 1 3
AltchaPlugin::get_api()
S
80 1 3
AltchaPlugin::get_integration_wordpress_reset_password()
S
80 1 3
ALTCHA_GFForms_Field::get_form_editor_field_title()
S
82 1 3
ALTCHA_GFForms_Field::is_conditional_logic_supported()
S
82 1 3
altcha_woocommerce_comments_render_widget()
S
70 1 6
altcha_register_form_field()
S
76 1 4
altcha_options_page()
S
66 1 10
AltchaPlugin::get_integration_gravityforms()
S
80 1 3
altcha_wordpress_section_callback()
S
73 1 6
ALTCHA_GFForms_Field::get_form_editor_button()
S
72 1 6
altcha_enqueue_styles()
S
68 1 9