Code Analysis: Better WordPress reCAPTCHA 2.0.3

Function Rating Maintainability Complexity Lines of code
BWP_RECAPTCHA::build_option_page()
D
16
6 515
BWP_Recaptcha_Provider_V1::renderCaptcha()
A
39 13 70
BWP_RECAPTCHA::user_can_bypass()
A
45 12 44
BWP_RECAPTCHA::check_comment_recaptcha()
A
43 11 47
BWP_RECAPTCHA::enqueue_media()
A
50 11 26
BWP_RECAPTCHA::init_hooks()
A
54 11 19
recaptcha_check_answer()
A
48 10 32
BWP_RECAPTCHA::_init_session()
A
57 9 17
BWP_RECAPTCHA::init_comment_form_captcha()
A
50 8 27
BWP_RECAPTCHA::show_option_page()
A
47 7 40
BWP_Recaptcha_Provider_V2::_createRequestMethod()
A
54 8 24
BWP_Recaptcha_Provider_V2::renderCaptcha()
A
48 7 34
BWP_Recaptcha_CF7_Shortcode::validateCaptchaAsSpam()
S
53 6 25
BWP_RECAPTCHA::check_login_recaptcha()
S
59 6 13
BWP_Recaptcha_CF7_V2::refreshCaptcha()
S
52 5 25
BWP_Recaptcha_CF7_Shortcode::validateCaptcha()
S
53 5 23
BWP_Recaptcha_CF7_Shortcode::renderCf7Shortcode()
S
53 5 23
recaptcha_get_html()
S
55 5 21
BWP_RECAPTCHA::determine_current_page()
S
56 5 18
BWP_Recaptcha_Provider_V1::verify()
S
56 5 18
BWP_Recaptcha_Provider::getErrorMessage()
S
57 5 16
BWP_Recaptcha_Provider_V2::printRecaptchaJS()
S
50 4 30
BWP_RECAPTCHA::get_current_comment_page_link()
S
57 5 15
BWP_RECAPTCHA::add_recaptcha_after_akismet()
S
58 5 14
BWP_RECAPTCHA::__construct()
S
42 2 56
BWP_RECAPTCHA::modify_option_page()
S
58 4 18
recaptcha_mailhide_url()
S
63 5 9
BWP_RECAPTCHA::init_captcha_keys()
S
60 4 14
BWP_Recaptcha_Provider_V2::verify()
S
60 4 13
BWP_RECAPTCHA::_get_available_request_methods()
S
61 4 12
BWP_Recaptcha_Provider_V1::loadTemplateFunctions()
S
49 2 37
_recaptcha_http_post()
S
54 3 20
BWP_RECAPTCHA::add_comment_recaptcha()
S
58 3 19
BWP_Recaptcha_CF7_Shortcode::registerCf7Tag()
S
57 3 17
BWP_Recaptcha_Provider::create()
S
49 2 31
_bwp_recaptcha_autoloader()
S
64 4 9
BWP_RECAPTCHA::init_cf7_addon()
S
65 4 9
BWP_Recaptcha_CF7_Shortcode::registerHooks()
S
57 3 15
BWP_RECAPTCHA::print_inline_styles_for_login()
S
60 3 15
BWP_RECAPTCHA::akismet_comment_status()
S
64 4 10
_recaptcha_mailhide_email_parts()
S
62 3 11
BWP_RECAPTCHA::check_multisite_user_reg_recaptcha()
S
63 3 11
bwp_capt_custom_theme_widget()
S
51 1 32
bwp_capt_comment_form()
S
57 2 16
BWP_RECAPTCHA::should_use_old_recaptcha()
S
71 3 5
BWP_Recaptcha_Provider_V1::loadCaptchaLibrary()
S
68 3 7
BWP_Recaptcha_Provider_V2::_getUniqueFormId()
S
67 3 7
BWP_RECAPTCHA::_is_akismet_integration_enabled()
S
72 3 5
BWP_RECAPTCHA::_is_previous_comment_spam()
S
70 3 6
BWP_Recaptcha_CF7_Shortcode::refreshCaptcha()
S
70 3 6
BWP_Recaptcha_Provider::processError()
S
61 2 13
BWP_Recaptcha_CF7_Shortcode::renderCf7RecaptchaTagPane41()
S
56 1 28
BWP_RECAPTCHA::fill_comment_field_with_previous_comment()
S
61 2 13
BWP_RECAPTCHA::build_menus()
S
54 1 26
BWP_Recaptcha_CF7_Shortcode::renderCf7RecaptchaTagPane()
S
54 1 26
BWP_Recaptcha_Provider_V2::_registerHooks()
S
59 1 18
BWP_Recaptcha_CF7_Shortcode::_getTagDescription()
S
58 1 16
BWP_Recaptcha_Provider::getIpAddress()
S
78 2 3
BWP_Recaptcha_Provider::processErrors()
S
69 2 7
_recaptcha_aes_encrypt()
S
65 2 9
BWP_RECAPTCHA::_unset_session_data()
S
76 2 4
BWP_RECAPTCHA::_get_session_data()
S
73 2 5
BWP_RECAPTCHA::add_multisite_blog_reg_recaptcha()
S
77 2 4
_recaptcha_qsencode()
S
66 2 7
BWP_Recaptcha_Provider::getOption()
S
78 2 3
BWP_RECAPTCHA::add_recaptcha_after_comment_field()
S
69 2 6
BWP_RECAPTCHA::_set_session_data()
S
70 2 6
BWP_RECAPTCHA::add_recaptcha()
S
74 2 4
BWP_Recaptcha_CF7_Shortcode::registerCf7Shortcode()
S
64 2 10
BWP_RECAPTCHA::check_multisite_blog_reg_recaptcha()
S
73 2 5
BWP_RECAPTCHA::check_reg_recaptcha()
S
72 2 5
_recaptcha_mailhide_urlbase64()
S
79 1 3
BWP_RECAPTCHA::_wp_registration_url()
S
78 1 3
BWP_RECAPTCHA::_esc_textarea()
S
78 1 3
BWP_Recaptcha_Provider_V2::_getWidgetHtmlId()
S
79 1 3
BWP_RECAPTCHA::init_registration_form_captcha()
S
75 1 4
BWP_Recaptcha_Provider_V2::_getWidgetId()
S
77 1 3
BWP_RECAPTCHA::add_recaptcha_before_comment_submit_field()
S
75 1 4
BWP_RECAPTCHA::add_multisite_user_reg_recaptcha()
S
81 1 3
BWP_Recaptcha_Provider_V2::__construct()
S
75 1 4
BWP_Recaptcha_CF7_Shortcode::init()
S
69 1 7
BWP_Recaptcha_PHPUnit_WP_Functional_TestCase::ensure_correct_captcha()
S
71 1 6
BWP_Recaptcha_PHPUnit_WP_Functional_TestCase::get_plugin_under_test()
S
71 1 6
BWP_RECAPTCHA::get_default_v2_custom_styles()
S
65 1 10
BWP_Recaptcha_CF7_V2::init()
S
75 1 4
_recaptcha_aes_pad()
S
71 1 5
BWP_RECAPTCHA::get_default_v1_custom_styles()
S
65 1 10
BWP_RECAPTCHA::pre_init_properties()
S
64 1 9
BWP_Recaptcha_Provider::renderCaptcha()
S
100 1 0
BWP_Recaptcha_Provider::getDomain()
S
82 1 3
BWP_RECAPTCHA::get_comment_recaptcha_html()
S
70 1 7
BWP_RECAPTCHA::get_captcha_provider()
S
82 1 3
recaptcha_mailhide_html()
S
68 1 6
BWP_RECAPTCHA::init_multisite_registration_form_captcha()
S
69 1 6
BWP_Recaptcha_Provider::verify()
S
100 1 0
BWP_Recaptcha_PHPUnit_WP_Functional_TestCase::create_post()
S
67 1 8
BWP_Recaptcha_Provider::__construct()
S
74 1 5
BWP_Recaptcha_CF7_V1::init()
S
75 1 4
BWP_RECAPTCHA::load_libraries()
S
80 1 3
BWP_RECAPTCHA::init_addons()
S
82 1 3
BWP_RECAPTCHA::init_login_form_captcha()
S
74 1 4
BWP_Recaptcha_CF7_V1::refreshCaptcha()
S
76 1 4
recaptcha_get_signup_url()
S
78 1 3
BWP_Recaptcha_Provider::getErrorMessageFromCode()
S
76 1 4
BWP_Recaptcha_CF7_Shortcode::__construct()
S
98 1 1
BWP_RECAPTCHA::get_recaptcha()
S
72 1 6
BWP_Recaptcha_PHPUnit_WP_Functional_TestCase::setUp()
S
74 1 5