-
Home
-
Openpay Stores Plugin
-
1.9.2
-
Code
-
Classes
- Openpay_Stores
Total Complexity |
83 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
506 |
Lines of code |
403 |
Logical lines of code |
208 |
Comment lines |
17 |
Methods |
20 |
Properties |
10 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
47 |
9 |
31 |
errorWebhook() |
A |
50 |
8 |
30 |
webhook_handler() |
A |
50 |
8 |
25 |
createWebhook() |
S |
46 |
6 |
38 |
createOpenpayCustomer() |
S |
49 |
6 |
30 |
getOpenpayCustomer() |
S |
54 |
6 |
22 |
error() |
S |
56 |
5 |
19 |
processOpenpayCharge() |
S |
47 |
4 |
33 |
process_admin_options() |
S |
56 |
5 |
17 |
hasAddress() |
S |
70 |
6 |
6 |
init_form_fields() |
S |
41 |
1 |
71 |
process_payment() |
S |
54 |
3 |
21 |
formatAddress() |
S |
55 |
3 |
19 |
createOpenpayCharge() |
S |
60 |
3 |
13 |
validateCurrency() |
S |
66 |
3 |
8 |
payment_scripts() |
S |
67 |
2 |
7 |
isNullOrEmptyString() |
S |
78 |
2 |
3 |
openpay_stores_admin_enqueue() |
S |
77 |
1 |
3 |
payment_fields() |
S |
75 |
1 |
4 |
admin_options() |
S |
81 |
1 |
3 |