WC_Revolut_Settings_API A

Total Complexity 61
Dependencies 2
Dependents 2
Total lines 468
Lines of code 334
Logical lines of code 117
Comment lines 85
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
add_revolut_description()
A
45 7 62
setup_revolut_location()
S
51 7 25
init_form_fields()
S
37 2 91
setup_revolut_synchronous_webhook()
S
49 6 29
check_api_key()
S
60 7 12
check_is_shop_needs_webhook_setup()
S
55 5 19
setup_revolut_webhook()
S
54 4 20
admin_options()
S
63 5 10
maybe_register_webhook()
S
61 4 13
maybe_register_synchronous_webhooks()
S
63 3 10
get_request_data()
S
71 2 6
recursive_sanitize_text_field()
S
68 2 7
get_revolut_location()
S
74 2 4
add_error_message()
S
79 1 3
add_success_message()
S
79 1 3
check_is_get_data_submitted()
S
79 1 3
hooks()
S
63 1 10
__construct()
S
69 1 7