WC_Razorpay D

Total Complexity 165
Dependencies 12
Dependents 6
Total lines 1,647
Lines of code 1,103
Logical lines of code 527
Comment lines 185
Methods 44
Properties 9

Methods 44

Method Rating Maintainability Complexity Lines of code
update1ccOrderWC()
B
31 19 113
check_razorpay_response()
B
35 16 88
autoEnableWebhook()
B
35 14 96
updateOrder()
A
39 14 67
createOrGetRazorpayOrderId()
A
45 9 45
getOrderCreationData()
A
48 9 31
init_form_fields()
S
37 3 85
__construct()
S
48 5 36
verifyOrderAmount()
S
49 4 31
process_refund()
S
49 4 31
updateOrderAddress()
S
45 3 45
getErrorMessage()
S
52 4 25
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
createRazorpayOrderId()
S
53 2 23
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
updateUserAddressInfo()
S
65 2 9
getOrderSessionKey()
S
67 2 8
getOrderKey()
S
67 2 8
getOrderCurrency()
S
69 2 7
getCustomOrdercreationMessage()
S
67 2 8
getRedirectUrl()
S
66 1 8
getRazorpayApiInstance()
S
78 1 3
redirectUser()
S
74 1 5
rzpThankYouMessage()
S
81 1 3
receipt_page()
S
81 1 3
get_description()
S
80 1 3
admin_options()
S
68 1 7
orderArg1CC()
S
75 1 4
getShippingZone()
S
75 1 4
handleErrorCase()
S
70 1 6
getCheckoutArguments()
S
70 1 6
getSetting()
S
80 1 3