Transactions_Admin_Page D

Total Complexity 202
Dependencies 42
Dependents 0
Total lines 2,524
Lines of code 1,669
Logical lines of code 500
Comment lines 595
Methods 51
Properties 5

Methods 51

Method Rating Maintainability Complexity Lines of code
get_transactions()
C
31 23 107
_transaction_details()
B
31 16 120
txn_details_meta_box()
B
30 13 142
getActionButtons()
B
36 14 88
txn_attendees_meta_box()
A
35 11 91
_get_registrations_to_apply_payment_to()
A
36 8 87
_transaction_legend_items()
A
35 6 112
delete_payment()
A
41 7 67
apply_payments_or_refunds()
A
40 6 71
_validate_payment_request_data()
A
48 8 35
_get_registration_payment_IDs()
A
50 8 31
_generate_payment_form_section()
S
38 1 102
_create_payment_from_request_data()
S
46 5 37
_set_transaction_object()
S
54 5 23
_build_payment_json_response()
S
48 4 34
_maybe_send_notifications()
S
60 5 14
_set_page_config()
S
42 2 58
admin_init()
S
52 4 24
_get_payment_methods()
S
55 4 21
txn_registrant_side_meta_box()
S
50 3 30
_registration_payment_data_array()
S
58 4 15
_transaction_details_metaboxes()
S
48 2 39
_remove_existing_registration_payments()
S
56 3 19
_set_list_table_views_default()
S
51 2 32
_update_registration_payments()
S
59 3 14
_set_page_routes()
S
48 1 40
_process_transaction_payments()
S
55 2 24
_transactions_overview_list_table()
S
53 2 22
_send_payment_reminder()
S
57 2 17
_get_REG_IDs_to_apply_payment_to()
S
63 3 10
_get_existing_reg_payment_REG_IDs()
S
64 3 10
recalculateLineItems()
S
59 2 14
_process_registration_status_change()
S
61 2 12
load_scripts_styles()
S
54 1 25
_get_reg_status_selection()
S
57 1 19
txn_billing_info_side_meta_box()
S
64 1 9
_define_page_props()
S
64 1 10
_add_screen_options()
S
91 1 2
_add_feature_pointers()
S
91 1 2
admin_notices()
S
91 1 2
admin_footer_scripts()
S
91 1 2
_set_transaction_status_array()
S
79 1 3
_get_payment_status_array()
S
75 1 4
get_transaction_status_array()
S
81 1 3
_add_screen_options_default()
S
82 1 3
set_existing_reg_payment_REG_IDs()
S
81 1 3
existing_reg_payment_REG_IDs()
S
82 1 3
load_scripts_styles_view_transaction()
S
81 1 3
load_scripts_styles_default()
S
81 1 3
_ajax_hooks()
S
72 1 5
_init_page_props()
S
70 1 6