WC_Payments_Admin D

Total Complexity 128
Dependencies 22
Dependents 2
Total lines 1,252
Lines of code 806
Logical lines of code 282
Comment lines 295
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
add_payments_menu()
C
26
18 183
enqueue_payments_scripts()
C
33 23 99
get_js_settings()
B
31 12 111
maybe_redirect_to_onboarding()
A
50 10 27
maybe_redirect_overview_to_connect()
A
54 9 21
add_menu_notification_badge()
S
53 7 21
add_disputes_notification_badge()
S
56 5 17
add_transactions_notification_badge()
S
57 5 16
register_payments_scripts()
S
43 2 59
display_isk_decimal_notice()
S
52 4 27
show_woopay_payment_method_name_admin()
S
57 4 18
get_should_show_update_business_details_task()
S
64 5 9
display_wcpay_transaction_fee()
S
53 3 25
display_not_supported_currency_notice()
S
55 3 23
__construct()
S
44 1 52
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
get_settings_menu_item_name()
S
79 1 3
payment_gateways_container()
S
83 1 5
get_frontend_feature_flags()
S
66 1 9
get_enabled_payment_method_ids()
S
66 1 10
render_order_edit_payment_details_container()
S
83 1 5