-
Home
-
YITH WooCommerce Affiliates
-
3.11.0
-
Code
-
Classes
- YITH_WCAF_Affiliate
| Total Complexity |
201 |
| Dependencies |
13 |
| Dependents |
14 |
| Total lines |
1,871 |
| Lines of code |
776 |
| Logical lines of code |
356 |
| Comment lines |
837 |
| Methods |
86 |
| Properties |
4 |
Methods 86
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
A |
46 |
12 |
35 |
| can_withdraw() |
A |
50 |
11 |
24 |
| get_admin_actions() |
A |
41 |
8 |
68 |
| set_status() |
A |
52 |
11 |
22 |
| get_formatted_invoice_profile() |
A |
46 |
9 |
38 |
| save() |
S |
51 |
7 |
26 |
| get_formatted_name() |
S |
56 |
5 |
18 |
| sync_payments() |
S |
57 |
5 |
17 |
| get_available_balance() |
S |
54 |
4 |
21 |
| set_gateway_preferences() |
S |
57 |
4 |
17 |
| get_user() |
S |
64 |
5 |
10 |
| get_total_balance() |
S |
59 |
3 |
15 |
| get_gateway_preference() |
S |
68 |
4 |
7 |
| count_clicks() |
S |
60 |
3 |
14 |
| set_invoice_profile() |
S |
62 |
3 |
11 |
| get_rate() |
S |
68 |
3 |
7 |
| get_first_name() |
S |
67 |
3 |
8 |
| get_last_name() |
S |
67 |
3 |
8 |
| get_message() |
S |
67 |
3 |
7 |
| get_admin_edit_url() |
S |
65 |
3 |
9 |
| set_token() |
S |
66 |
3 |
8 |
| set_rate() |
S |
68 |
3 |
7 |
| get_formatted_balance() |
S |
63 |
2 |
11 |
| has_active_payments() |
S |
63 |
2 |
11 |
| to_array() |
S |
55 |
1 |
21 |
| get_balance() |
S |
67 |
2 |
7 |
| get_conversion_rate() |
S |
69 |
2 |
7 |
| has_status() |
S |
70 |
2 |
6 |
| get_status() |
S |
66 |
2 |
8 |
| get_formatted_status() |
S |
66 |
2 |
8 |
| is_valid() |
S |
73 |
2 |
4 |
| get_referral_url() |
S |
66 |
2 |
8 |
| get_gateway_preferences() |
S |
67 |
2 |
7 |
| get_invoice_profile() |
S |
65 |
2 |
9 |
| should_notify() |
S |
68 |
2 |
6 |
| has_unpaid_commissions() |
S |
66 |
2 |
8 |
| set_user_id() |
S |
66 |
2 |
9 |
| set_earnings() |
S |
69 |
2 |
7 |
| set_refunds() |
S |
66 |
2 |
9 |
| update_refunds() |
S |
64 |
2 |
10 |
| set_paid() |
S |
66 |
2 |
9 |
| update_paid() |
S |
64 |
2 |
10 |
| set_clicks_count() |
S |
69 |
2 |
7 |
| set_conversions() |
S |
69 |
2 |
7 |
| set_payment_email() |
S |
71 |
2 |
6 |
| get_commissions() |
S |
64 |
1 |
11 |
| count_commissions() |
S |
64 |
1 |
11 |
| get_payments() |
S |
64 |
1 |
11 |
| count_payments() |
S |
64 |
1 |
11 |
| get_clicks() |
S |
64 |
1 |
11 |
| get_token() |
S |
82 |
1 |
3 |
| get_user_id() |
S |
79 |
1 |
3 |
| get_formatted_rate() |
S |
79 |
1 |
3 |
| get_earnings() |
S |
79 |
1 |
3 |
| get_formatted_earnings() |
S |
75 |
1 |
4 |
| get_refunds() |
S |
79 |
1 |
3 |
| get_formatted_refunds() |
S |
75 |
1 |
4 |
| get_total() |
S |
80 |
1 |
3 |
| get_formatted_total() |
S |
75 |
1 |
4 |
| get_paid() |
S |
79 |
1 |
3 |
| get_formatted_paid() |
S |
75 |
1 |
4 |
| get_clicks_count() |
S |
79 |
1 |
3 |
| get_click() |
S |
80 |
1 |
3 |
| get_conversions() |
S |
79 |
1 |
3 |
| get_conversion() |
S |
80 |
1 |
3 |
| get_raw_status() |
S |
79 |
1 |
3 |
| get_enabled() |
S |
80 |
1 |
3 |
| get_banned() |
S |
79 |
1 |
3 |
| is_banned() |
S |
80 |
1 |
3 |
| get_payment_email() |
S |
79 |
1 |
3 |
| get_associated_users() |
S |
65 |
1 |
9 |
| get_coupons() |
S |
75 |
1 |
4 |
| count_coupons() |
S |
74 |
1 |
4 |
| update_earnings() |
S |
75 |
1 |
4 |
| update_total() |
S |
81 |
1 |
3 |
| set_click() |
S |
81 |
1 |
3 |
| increase_clicks() |
S |
75 |
1 |
4 |
| decrease_clicks() |
S |
72 |
1 |
5 |
| set_conversion() |
S |
81 |
1 |
3 |
| increase_conversions() |
S |
75 |
1 |
4 |
| decrease_conversions() |
S |
72 |
1 |
5 |
| set_enabled() |
S |
80 |
1 |
3 |
| set_banned() |
S |
76 |
1 |
4 |
| ban() |
S |
81 |
1 |
3 |
| unban() |
S |
81 |
1 |
3 |
| set_notify() |
S |
75 |
1 |
4 |