Charitable_Gateways D

Total Complexity 264
Dependencies 9
Dependents 7
Total lines 1,892
Lines of code 988
Logical lines of code 562
Comment lines 657
Methods 46
Properties 2

Methods 46

Method Rating Maintainability Complexity Lines of code
get_gateway_error_message()
B
37 21 81
refresh_square_token()
B
36 16 81
renew_square_token_cron()
B
39 16 64
get_recommended_gateways()
A
43 14 43
disconnect_square_core_connections()
A
49 13 32
disconnect_gateways_square()
A
44 12 42
connect_gateways()
A
39 10 68
maybe_force_cleanup_square_gateway()
A
47 12 34
check_setup_payment_methods()
A
49 11 33
save_account_information_square()
A
51 9 23
maybe_dequeue_square_legacy_scripts()
A
54 9 22
remove_webhooks_from_square_account()
A
51 8 27
handle_gateway_settings_request()
A
51 8 26
disconnect_square_core_mode()
A
51 8 26
disconnect_gateways()
A
47 7 36
show_stripe_manual_keys_ajax()
A
45 6 48
handle_square_core_to_legacy_switch()
S
50 7 29
enable_gateway()
S
53 7 21
save_account_information()
S
52 7 21
check_settings()
S
58 7 14
get_active_gateways()
S
56 6 17
handle_square_gateway_switch()
S
53 5 22
register_gateways()
S
57 4 18
disable_gateway()
S
59 4 13
get_available_gateways()
S
70 3 6
all_gateways_support()
S
65 3 9
any_gateway_supports()
S
65 3 9
sort_by_default()
S
65 3 10
__construct()
S
55 1 19
get_instance()
S
72 2 6
get_gateway_choices()
S
67 2 8
get_active_gateways_names()
S
67 2 8
get_gateway()
S
78 2 3
get_gateway_object()
S
71 2 5
is_valid_gateway()
S
66 2 8
get_personal_access_refresh_token()
S
68 2 7
is_active_gateway()
S
79 1 3
get_default_gateway()
S
79 1 3
register_gateway_settings()
S
71 1 5
in_test_mode()
S
75 1 4
gateways_support_ajax()
S
80 1 3
set_default_gateway()
S
68 1 7
schedule_square_token_renewal_cron()
S
74 1 4
redirect_gateway_settings()
S
65 1 10
add_cron_schedules()
S
68 1 7
is_square_addon_active()
S
80 1 3