WC_REST_Payments_Settings_Controller C

Total Complexity 119
Dependencies 15
Dependents 1
Total lines 1,116
Lines of code 749
Logical lines of code 256
Comment lines 237
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
register_routes()
A
26
2 250
update_enabled_payment_methods()
A
44 9 50
update_fraud_protection_settings()
A
47 9 37
get_settings()
A
37 5 78
validate_business_support_phone()
S
54 6 21
request_unrequested_payment_methods()
S
56 6 17
schedule_stripe_billing_migration()
S
62 6 11
validate_business_support_address()
S
56 5 17
update_account()
S
58 5 14
validate_business_support_email_address()
S
60 4 13
update_is_debug_log_enabled()
S
64 4 10
validate_statement_descriptor()
S
59 3 15
update_is_stripe_billing_enabled()
S
64 4 10
update_is_test_mode_enabled()
S
64 4 10
update_payment_request_appearance()
S
60 3 14
request_capability()
S
60 3 13
update_woopay_enabled_locations()
S
61 3 13
update_is_wcpay_enabled()
S
64 3 11
update_settings()
S
52 2 26
update_is_client_secret_encryption_enabled()
S
68 3 7
update_is_payment_request_enabled()
S
68 3 7
get_avs_check_enabled()
S
64 3 10
update_is_multi_currency_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_wcpay_subscriptions_enabled()
S
68 3 7
should_show_express_checkout_incompatibility_notice()
S
54 1 25
update_woopay_store_logo()
S
69 2 7
update_woopay_custom_message()
S
65 2 9
update_is_woopay_enabled()
S
69 2 7
update_payment_request_enabled_locations()
S
69 2 7
update_reporting_export_language()
S
69 2 7
__construct()
S
73 1 5