Leyka_Mixplat_Gateway D

Total Complexity 294
Dependencies 21
Dependents 1
Total lines 1,451
Lines of code 1,071
Logical lines of code 571
Comment lines 71
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
_handle_service_calls()
D
11
80 307
process_form()
D
28
32 122
get_gateway_response_formatted()
C
37 24 67
_handle_single_donation_callback()
B
40 20 52
_handle_rebill_donation_callback()
A
40 15 54
submission_form_data()
A
42 12 47
cancel_recurring_subscription_by_link()
A
52 13 21
_handle_ga_purchase_event()
A
49 8 30
_split_donation()
S
50 6 29
_set_options_defaults()
S
38 2 80
_initialize_pm_list()
S
58 6 17
_split_calculate_total_amount()
S
65 7 7
set_specific_data_value()
S
59 6 15
get_specific_data_value()
S
59 6 14
cancel_recurring_subscription()
S
51 5 24
submission_redirect_url()
S
65 6 8
_split_set_status()
S
57 5 15
_handle_new_donation_callback()
S
59 5 14
_set_donations_errors()
S
49 3 32
_is_split_required()
S
70 5 6
display_donation_specific_data_fields()
S
57 3 20
submission_redirect_type()
S
70 3 6
enqueue_gateway_scripts()
S
66 3 7
save_donation_specific_data()
S
72 3 5
_mixplat_widget_mode()
S
73 3 4
_get_value_if_any()
S
77 3 3
_set_gateway_pm_id()
S
60 2 14
_set_gateway_bt_id()
S
61 2 13
_get_gateway_pm_id()
S
62 2 12
add_donation_specific_data()
S
69 2 7
_set_attributes()
S
60 1 14
localize_js_strings()
S
72 1 5