WC_Payments_Admin D

Total Complexity 143
Dependencies 23
Dependents 2
Total lines 1,383
Lines of code 894
Logical lines of code 302
Comment lines 329
Methods 27
Properties 10

Methods 27

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
14 134
add_menu_notification_badge()
A
51 13 24
maybe_redirect_from_payments_admin_child_pages()
A
49 11 30
redirect_deposits_to_payouts()
S
56 6 18
register_payments_scripts()
S
41 2 68
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
version_compare()
S
65 3 8
is_tos_agreement_required()
S
65 3 10
init_hooks()
S
59 1 13
__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