WC_Razorpay D

Total Complexity 186
Dependencies 12
Dependents 6
Total lines 1,795
Lines of code 1,194
Logical lines of code 591
Comment lines 196
Methods 46
Properties 11

Methods 46

Method Rating Maintainability Complexity Lines of code
update1ccOrderWC()
C
28
23 136
check_razorpay_response()
B
33 19 102
autoEnableWebhook()
B
34 16 94
updateOrder()
A
38 13 70
createOrGetRazorpayOrderId()
A
45 9 44
getOrderCreationData()
A
47 9 33
__construct()
A
46 8 41
updateRecoverCartInfo()
A
44 6 51
init_form_fields()
S
42 3 57
getErrorMessage()
S
52 5 25
createRazorpayOrderId()
S
47 4 37
updateOrderAddress()
S
43 3 50
process_refund()
S
49 4 31
verifyOrderAmount()
S
49 4 31
hostCheckoutScripts()
S
52 4 22
add_notice()
S
56 4 20
process_payment()
S
50 3 31
generateOrderForm()
S
50 3 31
addAdminCheckoutSettingsAlert()
S
57 3 22
enqueueCheckoutScripts()
S
56 3 20
getVersionMetaInfo()
S
57 3 17
getRazorpayPaymentParams()
S
58 3 16
verifySignature()
S
54 2 22
getCustomerInfo()
S
56 2 19
initHooks()
S
55 2 19
webhookAPI()
S
58 2 16
generate_razorpay_form()
S
59 2 15
getDefaultCheckoutArguments()
S
54 1 22
getCustomOrdercreationMessage()
S
67 2 8
getOrderCurrency()
S
69 2 7
getOrderKey()
S
67 2 8
getOrderSessionKey()
S
67 2 8
updateUserAddressInfo()
S
65 2 9
admin_options()
S
68 1 7
handleErrorCase()
S
70 1 6
generateSecret()
S
72 1 5
getShippingZone()
S
75 1 4
redirectUser()
S
74 1 5
get_description()
S
80 1 3
receipt_page()
S
81 1 3
rzpThankYouMessage()
S
81 1 3
getCheckoutArguments()
S
70 1 6
getRazorpayApiInstance()
S
78 1 3
getRedirectUrl()
S
66 1 8
orderArg1CC()
S
75 1 4
getSetting()
S
80 1 3