-
Home
-
YITH WooCommerce Affiliates
-
3.22.0 (latest)
-
Code
-
Classes
- YITH_WCAF_Payments
| Total Complexity |
40 |
| Dependencies |
8 |
| Dependents |
8 |
| Total lines |
534 |
| Lines of code |
183 |
| Logical lines of code |
90 |
| Comment lines |
246 |
| Methods |
15 |
| Properties |
7 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| register_payment() |
B |
37 |
16 |
80 |
| get_readable_status() |
S |
60 |
4 |
12 |
| get_commission_payments() |
S |
62 |
4 |
12 |
| get_available_statuses() |
S |
51 |
2 |
30 |
| count_payments() |
S |
66 |
2 |
9 |
| get_payment_commissions() |
S |
69 |
2 |
7 |
| per_status_count() |
S |
65 |
2 |
9 |
| get_inactive_statuses() |
S |
79 |
1 |
3 |
| get_active_statuses() |
S |
79 |
1 |
3 |
| get_pending_statuses() |
S |
79 |
1 |
3 |
| get_completed_statuses() |
S |
79 |
1 |
3 |
| get_payment_statuses() |
S |
79 |
1 |
3 |
| get_available_status_changes() |
S |
79 |
1 |
3 |
| get_payments() |
S |
80 |
1 |
3 |
| get_payment() |
S |
80 |
1 |
3 |