Transactions_Admin_Page D

Total Complexity 204
Dependencies 47
Dependents 1
Total lines 2,552
Lines of code 1,705
Logical lines of code 500
Comment lines 590
Methods 51
Properties 5

Methods 51

Method Rating Maintainability Complexity Lines of code
get_transactions()
C
31 23 109
txn_details_meta_box()
B
30 11 140
_transaction_details()
B
32 13 110
getActionButtons()
B
37 14 86
txn_attendees_meta_box()
A
35 11 91
_get_registrations_to_apply_payment_to()
A
36 8 89
_transaction_legend_items()
A
35 6 112
delete_payment()
A
40 8 68
apply_payments_or_refunds()
A
39 7 74
_validate_payment_request_data()
A
47 8 37
_get_registration_payment_IDs()
A
50 8 31
_generate_payment_form_section()
S
38 1 102
_create_payment_from_request_data()
S
46 5 41
_get_REG_IDs_to_apply_payment_to()
S
51 5 30
_set_transaction_object()
S
54 5 23
_build_payment_json_response()
S
47 4 37
txn_registrant_side_meta_box()
S
48 4 35
_set_page_config()
S
42 2 60
_maybe_send_notifications()
S
60 5 14
admin_init()
S
52 4 24
_get_payment_methods()
S
55 4 21
_registration_payment_data_array()
S
58 4 15
_transaction_details_metaboxes()
S
49 2 37
_remove_existing_registration_payments()
S
56 3 19
_set_list_table_views_default()
S
51 2 32
_update_registration_payments()
S
59 3 14
_process_registration_status_change()
S
60 3 13
_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
56 2 19
recalculateLineItems()
S
58 2 16
_get_existing_reg_payment_REG_IDs()
S
64 3 10
txn_billing_info_side_meta_box()
S
58 2 15
load_scripts_styles()
S
54 1 25
_get_reg_status_selection()
S
57 1 19
_set_transaction_status_array()
S
79 1 3
_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
_add_screen_options_default()
S
82 1 3
get_transaction_status_array()
S
81 1 3
_get_payment_status_array()
S
75 1 4
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
91 1 2
_init_page_props()
S
70 1 6