WC_Revolut_Settings_API A

Total Complexity 69
Dependencies 2
Dependents 2
Total lines 504
Lines of code 342
Logical lines of code 130
Comment lines 97
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
add_revolut_description()
A
45 7 62
setup_revolut_location()
A
51 8 25
setup_revolut_synchronous_webhook()
A
47 7 33
check_is_shop_needs_webhook_setup()
S
52 7 24
check_api_key()
S
60 7 12
init_form_fields()
S
38 2 84
setup_revolut_webhook()
S
51 6 24
admin_options()
S
63 5 10
maybe_register_webhook()
S
61 4 13
remove_old_revolut_webhook_if_exist()
S
60 4 12
maybe_register_synchronous_webhooks()
S
63 3 10
get_revolut_location()
S
74 2 4
get_request_data()
S
77 2 3
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
__construct()
S
69 1 7