-
Home
-
Wallet for WooCommerce
-
1.5.13 (latest)
-
Code
-
Classes
- Woo_Wallet_Wallet
| Total Complexity |
52 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
319 |
| Lines of code |
209 |
| Logical lines of code |
106 |
| Comment lines |
96 |
| Methods |
10 |
| Properties |
3 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| recode_transaction() |
A |
38 |
14 |
70 |
| wallet_cashback() |
A |
47 |
10 |
36 |
| wallet_credit_purchase() |
A |
46 |
7 |
36 |
| woocommerce_order_processed() |
S |
54 |
6 |
20 |
| process_cancelled_order() |
S |
54 |
6 |
20 |
| get_wallet_balance() |
S |
59 |
4 |
13 |
| set_user_id() |
S |
80 |
2 |
3 |
| __construct() |
S |
80 |
1 |
3 |
| credit() |
S |
75 |
1 |
4 |
| debit() |
S |
75 |
1 |
4 |