WC_Revolut_Settings_API B

Total Complexity 82
Dependencies 4
Dependents 2
Total lines 626
Lines of code 422
Logical lines of code 165
Comment lines 123
Methods 21
Properties 5

Methods 21

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
hasValidTokens()
S
53 6 24
setup_revolut_webhook()
S
51 6 24
enqueue_admin_scripts()
S
51 4 26
admin_options()
S
63 5 10
generate_api_connect_html()
S
54 3 28
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
65 1 9