NCS_Cart_Paypal D

Total Complexity 127
Dependencies 3
Dependents 0
Total lines 851
Lines of code 649
Logical lines of code 385
Comment lines 55
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
run_pdt_check()
C
30 27 112
sc_paypal_process_payment()
C
36 24 75
sc_build_paypal_url()
B
33 14 99
sc_paypal_request()
A
40 12 58
sc_paypal_refund()
A
38 8 68
sc_paypal_cancel_subscription()
A
42 8 51
__construct()
S
47 3 39
handleCurlResponse()
S
57 4 18
paypal_configured()
S
63 5 10
sc_paypal_oauthtoken()
S
49 3 30
doCurlRequest()
S
54 3 21
sc_paypal_pause_restart_subscription()
S
57 3 16
maybe_add_paypal_pay_method()
S
60 3 13
sc_paypal_subscription_save()
S
59 2 14
sandbox_enabled()
S
69 2 7
sc_paypal_payment_method()
S
72 2 6
sc_paypal_sub_item_id()
S
70 2 6
maybe_add_paypal_enabled()
S
70 2 6