PPW_Recaptcha S

Total Complexity 50
Dependencies 1
Dependents 4
Total lines 391
Lines of code 200
Logical lines of code 103
Comment lines 126
Methods 22
Properties 2

Methods 22

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