YandexMoneyCheckoutPayment B

Total Complexity 77
Dependencies 23
Dependents 1
Total lines 517
Lines of code 366
Logical lines of code 257
Comment lines 75
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
processNotification()
C
32 24 110
prepareToken()
A
46 10 38
addGateways()
A
47 9 37
changeOrderStatusToProcessing()
S
50 6 29
processCallback()
S
52 6 24
changeOrderStatusToCancelled()
S
52 5 24
cancelPayment()
S
59 4 15
initRouter()
S
57 3 18
checkPaymentStatus()
S
55 2 19
getApiClient()
S
59 2 14
loadGateways()
S
59 1 15
getAccountSavedPaymentMethodsListItem()
S
67 2 7
__construct()
S
74 1 5
render()
S
67 1 8
validStatuses()
S
79 1 3