Leyka_Mixplat_Gateway D

Total Complexity 293
Dependencies 23
Dependents 1
Total lines 1,451
Lines of code 1,070
Logical lines of code 570
Comment lines 79
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
_handle_service_calls()
D
11
80 307
process_form()
D
28
32 121
get_gateway_response_formatted()
C
37 24 67
_handle_single_donation_callback()
B
40 20 50
_handle_rebill_donation_callback()
A
40 15 54
cancel_recurring_subscription_by_link()
A
52 13 21
submission_form_data()
A
43 11 46
_handle_ga_purchase_event()
A
49 8 30
_initialize_pm_list()
A
54 8 23
_split_donation()
S
50 6 29
_set_options_defaults()
S
38 2 80
set_specific_data_value()
S
59 6 15
_split_calculate_total_amount()
S
65 7 7
get_specific_data_value()
S
59 6 14
cancel_recurring_subscription()
S
51 5 24
_split_set_status()
S
57 5 15
submission_redirect_url()
S
65 6 8
_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
_get_gateway_pm_id()
S
56 2 19
submission_redirect_type()
S
70 3 6
enqueue_gateway_scripts()
S
62 3 9
save_donation_specific_data()
S
72 3 5
_set_gateway_pm_id()
S
59 2 15
_mixplat_widget_mode()
S
73 3 4
_get_value_if_any()
S
77 3 3
add_donation_specific_data()
S
69 2 7
_set_attributes()
S
60 1 14
localize_js_strings()
S
72 1 5