Leyka_Gateway D

Total Complexity 130
Dependencies 4
Dependents 3
Total lines 563
Lines of code 325
Logical lines of code 184
Comment lines 88
Methods 42
Properties 15

Methods 42

Method Rating Maintainability Complexity Lines of code
__get()
C
41 33 41
get_payment_methods()
A
50 14 27
process_form_default()
A
45 10 41
allocate_gateway_options()
S
52 5 24
remove_payment_method()
S
67 5 7
cancel_recurring_subscription_by_link()
S
59 4 14
__construct()
S
46 2 37
cancel_recurring_subscription()
S
60 3 15
get_activation_status()
S
63 4 10
add_payment_method()
S
64 4 10
get_recurring_subscription_cancelling_link()
S
59 3 13
get_countries()
S
77 3 3
_initialize_options()
S
65 3 8
is_country_supported()
S
71 3 5
get_init_recurring_donation()
S
65 3 9
get_payment_method_by_id()
S
78 2 3
_get_gateway_pm_list()
S
78 2 3
get_options_names()
S
69 2 7
get_filter_categories()
S
70 2 7
do_recurring_donation()
S
82 1 3
add_gateway()
S
81 1 3
new_donation_specific_data()
S
82 1 3
add_donation_specific_data()
S
91 1 2
save_donation_specific_data()
S
91 1 2
set_specific_data_value()
S
91 1 2
get_specific_data_value()
S
82 1 3
display_donation_specific_data_fields()
S
91 1 2
gateway_redirect_page_content()
S
91 1 2
submission_redirect_type()
S
82 1 3
enqueue_gateway_scripts()
S
91 1 2
get_gateway_response_formatted()
S
100 1 0
_set_attributes()
S
100 1 0
_set_options_defaults()
S
98 1 1
_initialize_pm_list()
S
100 1 0
log_gateway_fields()
S
91 1 2
submission_form_data()
S
100 1 0
submission_redirect_url()
S
100 1 0
_handle_service_calls()
S
98 1 1
_get_gateway_pm_id()
S
82 1 3
is_setup_complete()
S
82 1 3
_set_gateway_pm_list()
S
76 1 4
process_form()
S
100 1 0