WC_Revolut_Settings_API B

Total Complexity 88
Dependencies 5
Dependents 3
Total lines 713
Lines of code 453
Logical lines of code 181
Comment lines 155
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
setup_revolut_location()
A
52 8 24
setup_revolut_synchronous_webhook()
A
48 7 32
check_is_shop_needs_webhook_setup()
S
52 7 23
init_form_fields()
S
37 2 93
setup_revolut_webhook()
S
52 6 23
generate_api_connect_html()
S
48 4 44
add_revolut_description()
S
50 3 49
show_messages()
S
62 5 12
enqueue_admin_scripts()
S
51 4 25
updated_option()
S
58 4 16
admin_options()
S
63 5 10
maybe_register_webhook()
S
62 4 12
remove_old_revolut_webhook_if_exist()
S
61 4 11
options_updated()
S
65 4 8
store_has_valid_connection()
S
67 4 8
hasValidTokens()
S
62 3 12
maybe_register_synchronous_webhooks()
S
65 3 9
instance()
S
71 2 6
get_revolut_location()
S
74 2 4
get_request_data()
S
77 2 3
__construct()
S
63 1 10
hooks()
S
63 1 10
add_error_message()
S
80 1 3
add_success_message()
S
80 1 3
check_is_get_data_submitted()
S
79 1 3