WC_Payments_Admin D

Total Complexity 155
Dependencies 26
Dependents 2
Total lines 1,454
Lines of code 943
Logical lines of code 325
Comment lines 343
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
add_payments_menu()
D
23
22 247
enqueue_payments_scripts()
C
31 25 116
get_js_settings()
B
28
15 132
add_menu_notification_badge()
A
51 13 24
maybe_redirect_from_payments_admin_child_pages()
A
49 11 30
inform_stripe_when_store_goes_live()
A
54 9 18
register_payments_scripts()
S
39 2 88
redirect_deposits_to_payouts()
S
56 6 18
add_disputes_notification_badge()
S
56 5 17
add_transactions_notification_badge()
S
57 5 16
display_isk_decimal_notice()
S
52 4 27
display_wcpay_transaction_fee()
S
53 4 25
show_woopay_payment_method_name_admin()
S
57 4 18
get_should_show_update_business_details_task()
S
64 5 9
display_not_supported_currency_notice()
S
55 3 23
get_uncaptured_transactions_count()
S
56 3 18
get_disputes_awaiting_response_count()
S
57 2 17
is_tos_agreement_required()
S
65 3 10
version_compare()
S
65 3 8
add_css_classes()
S
64 2 11
init_hooks()
S
58 1 15
__construct()
S
64 1 10
get_settings_menu_item_name()
S
79 1 3
payment_gateways_container()
S
83 1 5
get_enabled_payment_method_ids()
S
66 1 10
get_plugins_page_js_settings()
S
70 1 6
load_plugins_page_wrapper()
S
69 1 8
render_order_edit_payment_details_container()
S
83 1 5
get_frontend_feature_flags()
S
66 1 9