-
Home
-
Openpay Cards Plugin
-
2.9.4
-
Code
-
Classes
- Openpay_Cards
Total Complexity |
182 |
Dependencies |
6 |
Dependents |
6 |
Total lines |
988 |
Lines of code |
792 |
Logical lines of code |
423 |
Comment lines |
39 |
Methods |
35 |
Properties |
37 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
B |
38 |
21 |
62 |
processOpenpayCharge() |
B |
35 |
20 |
72 |
error() |
B |
42 |
17 |
50 |
__construct() |
B |
41 |
17 |
47 |
payment_scripts() |
A |
42 |
9 |
47 |
init_form_fields() |
A |
30 |
1 |
161 |
payment_fields() |
A |
49 |
9 |
29 |
setSettings() |
S |
50 |
7 |
30 |
validateNewCard() |
S |
49 |
7 |
27 |
process_admin_options() |
S |
50 |
6 |
26 |
getCreditCardList() |
S |
51 |
6 |
26 |
createOpenpayCharge() |
S |
53 |
6 |
22 |
createOpenpayCustomer() |
S |
51 |
5 |
27 |
getOpenpayCustomer() |
S |
55 |
5 |
20 |
hasAddress() |
S |
70 |
6 |
6 |
cvvValidation() |
S |
57 |
5 |
15 |
formatAddress() |
S |
55 |
4 |
19 |
getClientIp() |
S |
59 |
3 |
16 |
perform_ssl_check() |
S |
69 |
4 |
5 |
getOpenpayInstance() |
S |
61 |
3 |
11 |
getCreditCards() |
S |
63 |
2 |
11 |
getProductsDetail() |
S |
64 |
2 |
9 |
createCreditCard() |
S |
68 |
2 |
8 |
isNullOrEmptyString() |
S |
78 |
2 |
3 |
getInstallments() |
S |
68 |
2 |
7 |
get_order_captured_total() |
S |
75 |
2 |
4 |
openpay_cards_admin_enqueue() |
S |
77 |
1 |
3 |
action_woocommerce_checkout_create_order() |
S |
78 |
1 |
3 |
admin_options() |
S |
81 |
1 |
3 |
getMsi() |
S |
76 |
1 |
3 |
validateCurrency() |
S |
79 |
1 |
3 |
getOriginMerchant() |
S |
76 |
1 |
4 |
get_order_auth_amount() |
S |
73 |
1 |
5 |
get_order_auth_remaining() |
S |
72 |
1 |
5 |
is_preauthorized_order() |
S |
79 |
1 |
3 |