WC_REST_Stripe_Settings_Controller A

Total Complexity 57
Dependencies 9
Dependents 1
Total lines 580
Lines of code 346
Logical lines of code 119
Comment lines 152
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
register_routes()
A
34 2 124
validate_statement_descriptor()
S
57 4 18
update_is_upe_enabled()
S
60 4 13
update_enabled_payment_methods()
S
57 3 19
update_payment_request_settings()
S
59 3 15
update_short_account_statement_descriptor()
S
63 3 11
update_is_stripe_enabled()
S
64 3 11
update_is_manual_capture_enabled()
S
68 3 7
update_is_debug_log_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_test_mode_enabled()
S
68 3 7
update_is_payment_request_enabled()
S
68 3 7
get_settings()
S
51 1 26
update_settings()
S
57 1 19
update_description()
S
69 2 7
update_title_upe()
S
69 2 7
update_account_statement_descriptor()
S
69 2 7
update_title()
S
69 2 7
validate_short_statement_descriptor()
S
68 2 7
validate_regular_statement_descriptor()
S
78 1 3
__construct()
S
81 1 3