Leyka_Gateway D

Total Complexity 143
Dependencies 4
Dependents 3
Total lines 651
Lines of code 369
Logical lines of code 209
Comment lines 104
Methods 46
Properties 16

Methods 46

Method Rating Maintainability Complexity Lines of code
__get()
D
38 37 53
get_payment_methods()
A
50 14 27
process_form_default()
A
45 10 41
__construct()
S
44 6 43
allocate_gateway_options()
S
52 5 25
_initialize_options()
S
57 5 15
cancel_recurring_subscription_by_link()
S
59 4 14
get_activation_status()
S
63 4 10
remove_payment_method()
S
68 4 7
add_payment_method()
S
64 4 10
cancel_recurring_subscription()
S
60 3 15
get_recurring_subscription_cancelling_link()
S
59 3 13
get_init_recurring_donation()
S
67 3 8
get_supported_currencies()
S
64 3 10
get_options_names()
S
69 2 7
get_payment_method_by_id()
S
78 2 3
get_donation_error_id()
S
75 2 4
set_active_currencies()
S
70 2 6
get_filter_categories()
S
70 2 7
_get_gateway_pm_list()
S
78 2 3
gateway_redirect_page_content()
S
91 1 2
display_donation_specific_data_fields()
S
91 1 2
submission_redirect_type()
S
82 1 3
set_specific_data_value()
S
91 1 2
save_donation_specific_data()
S
91 1 2
add_donation_specific_data()
S
91 1 2
new_donation_specific_data()
S
82 1 3
get_specific_data_value()
S
82 1 3
process_form()
S
100 1 0
log_gateway_fields()
S
91 1 2
get_legacy_donation_error_id()
S
82 1 3
add_gateway()
S
81 1 3
enqueue_gateway_scripts()
S
91 1 2
_set_attributes()
S
100 1 0
_set_options_defaults()
S
98 1 1
_initialize_pm_list()
S
100 1 0
_set_donations_errors()
S
98 1 1
_handle_service_calls()
S
98 1 1
submission_form_data()
S
100 1 0
do_recurring_donation()
S
82 1 3
get_gateway_response_formatted()
S
100 1 0
_set_gateway_pm_list()
S
76 1 4
is_setup_complete()
S
82 1 3
_get_gateway_pm_id()
S
82 1 3
submission_redirect_url()
S
100 1 0
is_currency_active()
S
79 1 3