-
Home
-
YITH WooCommerce Affiliates
-
3.22.0 (latest)
-
Code
-
Classes
- YITH_WCAF_Affiliates_Legacy
| Total Complexity |
44 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
530 |
| Lines of code |
169 |
| Logical lines of code |
107 |
| Comment lines |
270 |
| Methods |
22 |
| Properties |
1 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_role() |
S |
64 |
4 |
9 |
| can_user_see_section() |
S |
64 |
4 |
10 |
| remove_role() |
S |
64 |
3 |
9 |
| add() |
S |
64 |
2 |
10 |
| update() |
S |
65 |
2 |
9 |
| delete() |
S |
67 |
2 |
8 |
| get_affiliate_rate() |
S |
66 |
2 |
8 |
| update_affiliate_rate() |
S |
65 |
2 |
9 |
| get_affiliate_total() |
S |
66 |
2 |
8 |
| update_affiliate_total() |
S |
65 |
2 |
9 |
| get_affiliate_refunds() |
S |
66 |
2 |
8 |
| update_affiliate_refunds() |
S |
65 |
2 |
9 |
| get_affiliate_payments() |
S |
66 |
2 |
8 |
| update_affiliate_payments() |
S |
65 |
2 |
9 |
| get_affiliate_balance() |
S |
66 |
2 |
8 |
| get_affiliate_invoice_profile() |
S |
67 |
2 |
8 |
| get_formatted_affiliate_invoice_profile() |
S |
67 |
2 |
8 |
| get_ref_name() |
S |
75 |
1 |
4 |
| get_default_user_token() |
S |
72 |
1 |
5 |
| has_unpaid_commissions() |
S |
72 |
1 |
5 |
| get_role_name() |
S |
75 |
1 |
4 |
| get_instance() |
S |
75 |
1 |
4 |