WC_Revolut_Settings_API A

Total Complexity 52
Dependencies 2
Dependents 2
Total lines 420
Lines of code 301
Logical lines of code 99
Comment lines 77
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
add_revolut_description()
A
45 7 62
init_form_fields()
S
37 2 91
check_api_key()
S
60 7 12
setup_revolut_synchronous_webhook()
S
51 6 25
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
__construct()
S
69 1 7
hooks()
S
63 1 10
add_error_message()
S
79 1 3
add_success_message()
S
79 1 3
check_is_get_data_submitted()
S
79 1 3