-
Home
-
Openpay Cards Plugin
-
2.7.7
-
Code
-
Classes
- Openpay_Cards
Total Complexity |
173 |
Dependencies |
6 |
Dependents |
6 |
Total lines |
931 |
Lines of code |
756 |
Logical lines of code |
411 |
Comment lines |
34 |
Methods |
34 |
Properties |
17 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processOpenpayCharge() |
B |
36 |
20 |
71 |
error() |
B |
42 |
17 |
50 |
process_payment() |
B |
40 |
16 |
53 |
__construct() |
B |
41 |
16 |
47 |
payment_scripts() |
A |
42 |
9 |
47 |
payment_fields() |
A |
49 |
9 |
29 |
init_form_fields() |
A |
31 |
1 |
149 |
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 |
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 |
getInstallments() |
S |
68 |
2 |
7 |
isNullOrEmptyString() |
S |
78 |
2 |
3 |
get_order_captured_total() |
S |
71 |
2 |
5 |
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 |
74 |
1 |
4 |