EE_SPCO_Reg_Step_Payment_Options D

Total Complexity 300
Dependencies 61
Dependents 0
Total lines 2,933
Lines of code 1,845
Logical lines of code 638
Comment lines 858
Methods 67
Properties 2

Methods 67

Method Rating Maintainability Complexity Lines of code
generate_reg_form()
C
31 21 121
_create_attendee_from_request_data()
A
40 14 60
_process_payment_status()
A
39 13 73
_validate_offsite_return()
A
45 14 43
find_registrations_that_lost_their_space()
A
44 12 49
_process_payment()
A
44 12 48
_setup_payment_options()
A
38 8 82
process_reg_step()
A
41 9 66
switch_payment_method()
A
42 9 64
_billing_form_is_valid()
A
42 9 62
get_billing_form_html_for_payment_method()
A
44 8 51
_payment_method_billing_info()
A
44 7 50
_last_second_ticket_verifications()
A
49 8 33
_verify_payment_method_is_set()
A
44 6 55
process_gateway_response()
S
50 7 30
get_transaction_details_for_gateways()
S
45 6 43
save_payer_details_via_ajax()
S
54 7 23
_get_payment_method_for_selected_method_of_payment()
S
46 5 46
_apply_registration_payments_to_amount_owing()
S
58 7 15
enqueue_styles_and_scripts()
S
55 6 20
_get_selected_method_of_payment()
S
50 5 32
_attempt_payment()
S
51 5 28
_registrations_requiring_pre_approval()
S
47 4 39
_post_payment_processing()
S
54 5 21
_get_billing_form_for_payment_method()
S
50 4 34
initialize_reg_step()
S
56 5 19
_redirect_wayward_request()
S
50 4 33
_process_off_site_payment()
S
52 4 27
_capture_primary_registration_data_from_billing_form()
S
53 4 27
_insufficient_spaces_available()
S
47 3 39
add_spco_line_item_filters()
S
55 4 22
update_reg_step()
S
56 4 20
_get_return_url()
S
58 4 17
_get_available_payment_methods()
S
58 4 17
_setup_primary_registrant_prior_to_payment()
S
59 4 15
_sold_out_events()
S
47 2 42
addAttendeeToPrimaryRegistration()
S
54 3 24
_validate_payment()
S
55 3 22
_process_cancelled_payments()
S
64 4 10
remove_ejected_registrations()
S
62 3 12
_display_payment_options()
S
49 1 38
validatePrimaryAttendee()
S
57 2 19
validatePrimaryRegistration()
S
57 2 19
set_hooks()
S
52 1 31
_no_payment_required()
S
53 1 26
_extra_hidden_inputs()
S
53 1 26
_available_payment_method_inputs()
S
56 1 20
_handle_payment_processor_exception()
S
59 1 18
_reset_selected_method_of_payment()
S
64 2 10
_hide_reg_step_submit_button_if_revisit()
S
74 2 5
_maybe_set_completed()
S
75 2 5
getPrimaryAttendee()
S
69 2 7
_save_selected_method_of_payment()
S
68 2 8
translate_js_strings()
S
62 1 14
__construct()
S
60 1 14
switch_spco_billing_form()
S
80 1 3
_redirect_because_event_sold_out()
S
67 1 8
redirect_form()
S
64 1 10
_adjust_registration_status_if_event_old_sold()
S
91 1 2
set_handle_IPN_in_this_request()
S
79 1 3
handle_IPN_in_this_request()
S
82 1 3
set_line_item_display()
S
81 1 3
line_item_display()
S
82 1 3
bypass_recaptcha_for_load_payment_method()
S
69 1 7
get_transaction_details()
S
80 1 3
save_payer_details()
S
80 1 3
__sleep()
S
77 1 3