WC_Razorpay C

Total Complexity 114
Dependencies 7
Dependents 4
Total lines 1,201
Lines of code 783
Logical lines of code 326
Comment lines 139
Methods 38
Properties 9

Methods 38

Method Rating Maintainability Complexity Lines of code
autoEnableWebhook()
B
35 14 96
check_razorpay_response()
A
42 8 57
updateOrder()
A
47 8 38
createOrGetRazorpayOrderId()
A
48 8 37
init_form_fields()
S
37 3 85
getOrderCreationData()
S
51 6 25
process_refund()
S
49 4 31
verifyOrderAmount()
S
50 4 29
getErrorMessage()
S
53 4 23
hostCheckoutScripts()
S
52 4 22
add_notice()
S
56 4 20
generateOrderForm()
S
50 3 31
process_payment()
S
52 3 28
enqueueCheckoutScripts()
S
56 3 20
getVersionMetaInfo()
S
57 3 17
getRazorpayPaymentParams()
S
59 3 15
verifySignature()
S
56 2 19
createRazorpayOrderId()
S
56 2 19
getCustomerInfo()
S
56 2 19
initHooks()
S
56 2 17
webhookAPI()
S
58 2 16
generate_razorpay_form()
S
59 2 15
getDefaultCheckoutArguments()
S
54 1 22
__construct()
S
65 2 10
getOrderCurrency()
S
69 2 7
getOrderKey()
S
67 2 8
getCustomOrdercreationMessage()
S
67 2 8
admin_options()
S
68 1 7
handleErrorCase()
S
72 1 5
rzpThankYouMessage()
S
81 1 3
getRazorpayApiInstance()
S
78 1 3
redirectUser()
S
74 1 5
get_description()
S
80 1 3
receipt_page()
S
81 1 3
getOrderSessionKey()
S
80 1 3
getRedirectUrl()
S
66 1 8
getCheckoutArguments()
S
70 1 6
getSetting()
S
80 1 3