Transactions_Admin_Page D

Total Complexity 217
Dependencies 41
Dependents 0
Total lines 2,562
Lines of code 1,704
Logical lines of code 493
Comment lines 598
Methods 51
Properties 5

Methods 51

Method Rating Maintainability Complexity Lines of code
get_transactions()
C
30 29 113
_transaction_details()
B
31 16 122
txn_details_meta_box()
B
30 13 140
getActionButtons()
B
37 14 84
txn_attendees_meta_box()
A
35 11 91
_get_registrations_to_apply_payment_to()
A
36 8 87
delete_payment()
A
40 9 68
_transaction_legend_items()
A
35 6 108
apply_payments_or_refunds()
A
40 6 71
_get_registration_payment_IDs()
A
50 8 30
_validate_payment_request_data()
A
48 7 34
_maybe_send_notifications()
S
53 7 24
_generate_payment_form_section()
S
38 1 102
_set_transaction_object()
S
52 6 25
_create_payment_from_request_data()
S
46 5 37
_build_payment_json_response()
S
48 4 35
_set_page_routes()
S
47 3 43
_set_page_config()
S
43 2 57
_get_payment_methods()
S
55 4 21
txn_registrant_side_meta_box()
S
50 3 30
_registration_payment_data_array()
S
58 4 15
_transactions_overview_list_table()
S
50 3 29
_get_REG_IDs_to_apply_payment_to()
S
60 4 13
_transaction_details_metaboxes()
S
48 2 39
_remove_existing_registration_payments()
S
56 3 19
_send_payment_reminder()
S
56 3 19
recalculateLineItems()
S
56 3 18
_set_list_table_views_default()
S
51 2 32
admin_init()
S
51 2 30
_update_registration_payments()
S
59 3 14
_process_registration_status_change()
S
60 3 13
_process_transaction_payments()
S
55 2 24
_get_existing_reg_payment_REG_IDs()
S
64 3 10
load_scripts_styles()
S
55 1 25
_get_reg_status_selection()
S
57 1 19
_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_existing_reg_payment_REG_IDs()
S
81 1 3
_set_transaction_status_array()
S
79 1 3
_ajax_hooks()
S
72 1 5
existing_reg_payment_REG_IDs()
S
82 1 3
get_transaction_status_array()
S
81 1 3
_get_payment_status_array()
S
75 1 4
_add_screen_options_default()
S
82 1 3
load_scripts_styles_view_transaction()
S
81 1 3
txn_billing_info_side_meta_box()
S
64 1 9
load_scripts_styles_default()
S
81 1 3
_init_page_props()
S
70 1 6