WC_Payments_Admin C

Total Complexity 123
Dependencies 22
Dependents 2
Total lines 1,267
Lines of code 821
Logical lines of code 281
Comment lines 289
Methods 26
Properties 10

Methods 26

Method Rating Maintainability Complexity Lines of code
enqueue_payments_scripts()
C
32 24 109
add_payments_menu()
C
27
18 175
get_js_settings()
B
30 13 123
maybe_redirect_from_payments_admin_child_pages()
A
50 10 27
add_menu_notification_badge()
S
53 7 21
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
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
is_tos_agreement_required()
S
65 3 10
version_compare()
S
65 3 8
init_hooks()
S
60 1 12
payment_gateways_container()
S
83 1 5
get_settings_menu_item_name()
S
79 1 3
get_frontend_feature_flags()
S
66 1 9
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