Leyka_Gateway C

Total Complexity 125
Dependencies 3
Dependents 2
Total lines 519
Lines of code 300
Logical lines of code 170
Comment lines 82
Methods 41
Properties 15

Methods 41

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
__construct()
S
47 2 36
get_activation_status()
S
63 4 10
add_payment_method()
S
64 4 10
get_init_recurrent_donation()
S
63 4 10
cancel_recurring_subscription()
S
59 3 15
_initialize_options()
S
65 3 8
get_countries()
S
77 3 3
is_country_supported()
S
71 3 5
get_options_names()
S
69 2 7
_get_gateway_pm_list()
S
78 2 3
get_filter_categories()
S
70 2 7
get_payment_method_by_id()
S
78 2 3
get_recurring_subscription_cancelling_link()
S
82 1 3
enqueue_gateway_scripts()
S
91 1 2
add_gateway()
S
81 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
_set_attributes()
S
100 1 0
do_recurring_donation()
S
82 1 3
_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
process_form()
S
100 1 0
_handle_service_calls()
S
98 1 1
is_setup_complete()
S
82 1 3
cancel_recurring_subscription_by_link()
S
91 1 2
_set_gateway_pm_list()
S
76 1 4
get_gateway_response_formatted()
S
100 1 0
_get_gateway_pm_id()
S
82 1 3