RZP_Webhook B

Total Complexity 80
Dependencies 5
Dependents 1
Total lines 626
Lines of code 330
Logical lines of code 202
Comment lines 137
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
process()
C
33 22 96
paymentAuthorized()
A
42 12 51
virtualAccountCredited()
A
44 11 42
paymentPending()
A
47 10 32
refundedCreated()
A
42 8 52
shouldConsumeWebhook()
S
64 5 8
getPaymentEntity()
S
59 2 15
getOrderAmountAsInteger()
S
69 2 6
checkIsObject()
S
66 2 9
__construct()
S
76 1 4
paymentFailed()
S
83 1 3
subscriptionCancelled()
S
83 1 3
subscriptionPaused()
S
83 1 3
subscriptionResumed()
S
83 1 3
subscriptionCharged()
S
83 1 3