MC4WP_Procaptcha S

Total Complexity 49
Dependencies 0
Dependents 1
Total lines 385
Lines of code 234
Logical lines of code 80
Comment lines 53
Methods 14
Properties 8

Methods 14

Method Rating Maintainability Complexity Lines of code
read_settings()
A
49 14 31
is_human_made_request()
A
46 8 39
print_captcha_element()
S
56 5 19
validate_form()
S
62 5 11
print_captcha_js()
S
48 1 61
set_hooks()
S
59 3 13
maybe_enqueue_captcha_js()
S
59 2 16
maybe_add_type_module_attribute()
S
64 3 10
get_instance()
S
71 2 6
inject_captcha_element()
S
66 2 8
__construct()
S
65 1 10
is_enabled()
S
82 1 3
register_error_message()
S
76 1 4
get_field_stub()
S
82 1 3