Leyka_Paypal_Gateway D

Total Complexity 320
Dependencies 33
Dependents 1
Total lines 1,977
Lines of code 1,465
Logical lines of code 688
Comment lines 159
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
_handle_service_calls()
D
4
98 472
process_form()
C
21
19 243
_handle_webhook_payment()
C
37 25 71
set_specific_data_value()
B
46 21 35
_get_donation_by()
B
45 19 40
get_specific_data_value()
B
47 19 33
save_donation_specific_data()
A
51 15 26
_handle_webhook_subscription()
A
46 14 40
display_donation_specific_data_fields()
A
39 9 86
_handle_webhook_donation()
A
45 12 39
get_gateway_response_formatted()
A
45 8 40
_donation_error()
A
54 9 20
_get_donation_web_experience_profile_id()
S
46 6 41
cancel_recurring_subscription()
S
47 6 35
add_donation_specific_data()
S
52 6 29
_set_options_defaults()
S
39 2 80
enqueue_gateway_scripts()
S
55 5 19
submission_redirect_url()
S
59 5 15
cancel_recurring_subscription_by_link()
S
59 4 14
localize_js_strings()
S
54 3 20
_get_api_context()
S
59 3 13
_get_gateway_pm_id()
S
64 3 10
_add_to_payment_log()
S
65 2 8
_initialize_pm_list()
S
73 2 5
_set_attributes()
S
60 1 14
get_gateway_submit()
S
80 1 3
submission_form_data()
S
82 1 3
_create_webhooks()
S
91 1 2
_get_payer()
S
65 1 9