Leyka_Paypal_Gateway D

Total Complexity 320
Dependencies 32
Dependents 1
Total lines 1,943
Lines of code 1,430
Logical lines of code 700
Comment lines 162
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
_handle_service_calls()
D
4
98 465
process_form()
C
21
19 241
_handle_webhook_payment()
C
37 25 71
set_specific_data_value()
B
49 21 25
_get_donation_by()
B
44 19 42
get_specific_data_value()
B
50 19 23
save_donation_specific_data()
A
53 15 23
_handle_webhook_subscription()
A
46 14 38
display_donation_specific_data_fields()
A
39 9 86
_handle_webhook_donation()
A
46 10 38
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
_set_options_defaults()
S
39 2 80
add_donation_specific_data()
S
56 6 19
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
get_recurring_subscription_cancelling_link()
S
64 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