PPW_Recaptcha B

Total Complexity 78
Dependencies 1
Dependents 4
Total lines 550
Lines of code 291
Logical lines of code 154
Comment lines 170
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
verify_recaptcha()
A
45 8 43
maybe_add_blocked_message()
S
59 5 16
load_js_in_footer()
S
60 5 15
get_setting_api_key()
S
61 4 13
validate_sitewide_password()
S
62 4 13
get_setting_api_secret()
S
61 4 13
add_recaptcha_to_head()
S
63 4 12
is_valid_recaptcha()
S
62 3 12
has_recaptcha_parameter()
S
63 3 11
maybe_customize_error_message()
S
64 3 10
maybe_remove_recaptcha_query()
S
66 3 9
customize_sitewide_css()
S
66 2 12
load_recaptcha_v3_js()
S
62 1 16
using_sitewide_recaptcha()
S
78 2 3
get_recaptcha_input()
S
66 2 9
maybe_add_recaptcha_input_below_sitewide_form()
S
71 2 6
maybe_load_sitewide_recaptcha_js()
S
72 2 6
get_instance()
S
71 2 6
using_single_recaptcha()
S
78 2 3
get_password_types()
S
74 2 4
get_limit_score()
S
68 2 7
get_recaptcha_type()
S
74 2 4
register()
S
60 1 12
load_recaptcha_v2_js()
S
72 1 7
get_error_message()
S
72 1 5
get_recaptcha_v2_api_secret()
S
79 1 3
get_ppwpea_recaptcha_v2_api_key()
S
81 1 3
get_ppwpea_recaptcha_v2_api_secret()
S
81 1 3
get_recaptcha_v2_api_key()
S
79 1 3
get_recaptcha_v3_api_secret()
S
79 1 3
get_recaptcha_v3_api_key()
S
79 1 3
using_recaptcha()
S
79 1 3
get_sitewide_error_message()
S
79 1 3