-
Home
-
Openpay Cards Plugin
-
2.9.7
-
Code
-
Classes
- Openpay_Cards
| Total Complexity |
185 |
| Dependencies |
6 |
| Dependents |
6 |
| Total lines |
994 |
| Lines of code |
798 |
| Logical lines of code |
429 |
| 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 |
46 |
| init_form_fields() |
A |
30 |
1 |
161 |
| payment_fields() |
A |
49 |
9 |
29 |
| cvvValidation() |
A |
53 |
8 |
21 |
| 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 |
| formatAddress() |
S |
55 |
4 |
19 |
| getClientIp() |
S |
58 |
3 |
17 |
| perform_ssl_check() |
S |
69 |
4 |
5 |
| getOpenpayInstance() |
S |
61 |
3 |
11 |
| getCreditCards() |
S |
63 |
2 |
11 |
| getInstallments() |
S |
68 |
2 |
7 |
| createCreditCard() |
S |
68 |
2 |
8 |
| getProductsDetail() |
S |
64 |
2 |
9 |
| isNullOrEmptyString() |
S |
78 |
2 |
3 |
| 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 |
| getOriginMerchant() |
S |
76 |
1 |
4 |
| getMsi() |
S |
76 |
1 |
3 |
| admin_options() |
S |
81 |
1 |
3 |
| validateCurrency() |
S |
79 |
1 |
3 |
| get_order_auth_amount() |
S |
73 |
1 |
5 |
| get_order_auth_remaining() |
S |
72 |
1 |
5 |
| is_preauthorized_order() |
S |
79 |
1 |
3 |