Openpay_Cards D

Total Complexity 136
Dependencies 3
Dependents 3
Total lines 740
Lines of code 598
Logical lines of code 309
Comment lines 32
Methods 25
Properties 11

Methods 25

Method Rating Maintainability Complexity Lines of code
error()
B
42 17 50
__construct()
B
41 17 44
processOpenpayCharge()
A
39 12 57
payment_fields()
A
48 12 31
process_payment()
A
45 10 39
payment_scripts()
A
44 9 41
init_form_fields()
A
32 1 137
getCreditCardList()
S
50 7 27
createOpenpayCharge()
S
50 7 26
createOpenpayCustomer()
S
49 6 30
getOpenpayCustomer()
S
53 6 23
hasAddress()
S
70 6 6
formatAddress()
S
55 3 19
perform_ssl_check()
S
69 4 5
action_woocommerce_checkout_create_order()
S
69 3 6
getCreditCards()
S
63 2 11
isNullOrEmptyString()
S
78 2 3
getOpenpayInstance()
S
67 2 7
getProductsDetail()
S
64 2 9
createCreditCard()
S
68 2 8
getInstallments()
S
68 2 7
admin_options()
S
81 1 3
openpay_cards_admin_enqueue()
S
77 1 3
validateCurrency()
S
79 1 3
getMsi()
S
76 1 3