WC_REST_Stripe_Settings_Controller B

Total Complexity 76
Dependencies 10
Dependents 1
Total lines 665
Lines of code 438
Logical lines of code 141
Comment lines 149
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
register_routes()
A
32 2 158
update_enabled_payment_methods()
A
52 9 24
update_oc_settings()
A
53 9 21
get_settings()
S
47 4 36
dismiss_notice()
S
60 5 13
update_payment_methods_order()
S
54 4 23
update_settings()
S
55 3 20
record_payment_method_settings_event()
S
53 2 30
update_payment_request_settings()
S
59 3 15
update_amazon_pay_settings()
S
61 3 13
get_payment_method_ids_to_enable()
S
62 3 12
update_is_stripe_enabled()
S
64 3 11
update_is_debug_log_enabled()
S
68 3 7
update_is_sepa_tokens_for_other_methods_enabled()
S
68 3 7
update_is_short_account_statement_enabled()
S
68 3 7
update_is_separate_card_form_enabled()
S
68 3 7
update_is_saved_cards_enabled()
S
68 3 7
update_is_manual_capture_enabled()
S
68 3 7
update_is_payment_request_enabled_for_legacy_checkout()
S
68 3 7
update_is_test_mode_enabled()
S
68 3 7
dismiss_customization_notice()
S
80 1 3
__construct()
S
81 1 3