PMProGateway_paypal D

Total Complexity 135
Dependencies 3
Dependents 0
Total lines 808
Lines of code 501
Logical lines of code 327
Comment lines 154
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
subscribe()
B
38 16 60
charge()
A
42 13 45
authorize()
A
43 13 41
process()
A
44 10 53
update()
A
46 11 34
pmpro_checkout_default_submit_button()
A
51 11 25
getTransactionDetailsByOrder()
A
46 10 35
PPHttpPost()
S
47 6 32
pmpro_checkout_preheader()
S
56 7 17
cancel()
S
63 6 10
getSubscriptionStatus()
S
54 4 20
refund()
S
57 4 15
void()
S
57 4 15
cancelSubscriptionAtGateway()
S
57 3 15
getTransactionDetails()
S
60 3 13
getTransactionStatus()
S
65 3 10
init()
S
62 2 11
pmpro_gateways()
S
72 2 5
http_api_curl()
S
74 2 4
get_cardinal_jwt()
S
58 1 14
getGatewayOptions()
S
62 1 14
pmpro_payment_option_fields()
S
75 1 4
pmpro_payment_options()
S
73 1 5
__construct()
S
78 1 4