-
Home
-
Openpay Stores Plugin
-
1.11.3
-
Code
-
Classes
- Openpay_Stores
| Total Complexity |
80 |
| Dependencies |
5 |
| Dependents |
0 |
| Total lines |
508 |
| Lines of code |
403 |
| Logical lines of code |
213 |
| Comment lines |
17 |
| Methods |
21 |
| Properties |
10 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createWebhook() |
A |
44 |
7 |
47 |
| errorWebhook() |
A |
50 |
8 |
30 |
| webhook_handler() |
A |
50 |
8 |
25 |
| __construct() |
S |
48 |
6 |
30 |
| createOpenpayCustomer() |
S |
51 |
5 |
27 |
| getOpenpayCustomer() |
S |
55 |
5 |
21 |
| error() |
S |
56 |
5 |
19 |
| process_admin_options() |
S |
55 |
5 |
18 |
| processOpenpayCharge() |
S |
47 |
4 |
33 |
| hasAddress() |
S |
70 |
6 |
6 |
| init_form_fields() |
S |
42 |
1 |
64 |
| formatAddress() |
S |
55 |
4 |
19 |
| process_payment() |
S |
54 |
3 |
21 |
| createOpenpayCharge() |
S |
60 |
3 |
13 |
| payment_scripts() |
S |
67 |
2 |
7 |
| isNullOrEmptyString() |
S |
78 |
2 |
3 |
| getOpenpayInstance() |
S |
67 |
2 |
7 |
| openpay_stores_admin_enqueue() |
S |
77 |
1 |
3 |
| admin_options() |
S |
81 |
1 |
3 |
| payment_fields() |
S |
75 |
1 |
4 |
| validateCurrency() |
S |
79 |
1 |
3 |