YandexMoneyCheckoutGateway B

Total Complexity 95
Dependencies 25
Dependents 2
Total lines 735
Lines of code 484
Logical lines of code 234
Comment lines 108
Methods 30
Properties 14

Methods 30

Method Rating Maintainability Complexity Lines of code
process_payment()
B
37 18 70
convertFromCbrf()
A
56 8 16
getBuilder()
S
46 6 38
isPaymentSuccess()
S
62 6 11
get_pages()
S
55 5 20
parseTemplateString()
S
57 5 16
add_payment_method()
S
48 3 36
createPayment()
S
54 4 20
get_success_fail_url()
S
59 4 16
addReceiptAttribute()
S
50 3 31
__construct()
S
50 3 28
processReturnUrl()
S
52 3 25
createMetadata()
S
60 3 14
init_settings()
S
49 1 31
getApiClient()
S
59 2 14
init_form_fields()
S
55 1 22
saveNewPaymentMethod()
S
73 2 4
getCbrfCourses()
S
64 2 10
getAmountByCurrency()
S
68 2 7
payment_fields()
S
74 2 5
getDescription()
S
75 2 4
getTitle()
S
75 2 4
getValidPaidStatuses()
S
73 1 6
scheduled_subscription_payment()
S
67 1 8
getValidForTrialStatuses()
S
73 1 6
admin_options()
S
66 1 9
createDescription()
S
74 1 4
subscription_expired()
S
79 1 3
showMessage()
S
77 1 3
subscription_canceled()
S
79 1 3