WC_Razorpay B

Total Complexity 86
Dependencies 6
Dependents 1
Total lines 939
Lines of code 589
Logical lines of code 240
Comment lines 128
Methods 34
Properties 9

Methods 34

Method Rating Maintainability Complexity Lines of code
createOrGetRazorpayOrderId()
A
48 8 37
updateOrder()
A
48 7 34
check_razorpay_response()
S
45 6 44
init_form_fields()
S
40 3 69
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
process_payment()
S
51 3 29
generateOrderForm()
S
51 3 29
getRazorpayPaymentParams()
S
59 3 15
getOrderCreationData()
S
58 3 14
enqueueCheckoutScripts()
S
57 2 20
getCustomerInfo()
S
56 2 19
createRazorpayOrderId()
S
57 2 18
generate_razorpay_form()
S
59 2 15
initHooks()
S
59 2 14
getDefaultCheckoutArguments()
S
53 1 22
getOrderCurrency()
S
69 2 7
__construct()
S
65 2 10
getOrderKey()
S
67 2 8
getCustomOrdercreationMessage()
S
67 2 8
verifySignature()
S
62 1 11
getCheckoutArguments()
S
70 1 6
redirectUser()
S
74 1 5
handleErrorCase()
S
72 1 5
get_description()
S
80 1 3
admin_options()
S
68 1 7
getRazorpayApiInstance()
S
78 1 3
receipt_page()
S
81 1 3
getOrderSessionKey()
S
80 1 3
getRedirectUrl()
S
78 1 3
getSetting()
S
80 1 3