-
Home
-
YITH WooCommerce Affiliates
-
3.7.0
-
Code
-
Classes
- YITH_WCAF_Affiliate
Total Complexity |
181 |
Dependencies |
12 |
Dependents |
17 |
Total lines |
1,771 |
Lines of code |
706 |
Logical lines of code |
323 |
Comment lines |
821 |
Methods |
84 |
Properties |
4 |
Methods 84
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set_status() |
A |
52 |
11 |
22 |
get_admin_actions() |
A |
42 |
8 |
61 |
get_formatted_invoice_profile() |
A |
46 |
9 |
38 |
__construct() |
S |
50 |
7 |
28 |
save() |
S |
51 |
7 |
26 |
get_formatted_name() |
S |
56 |
5 |
18 |
sync_payments() |
S |
57 |
5 |
17 |
set_gateway_preferences() |
S |
57 |
4 |
17 |
get_user() |
S |
64 |
5 |
10 |
get_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 |
can_withdraw() |
S |
76 |
3 |
3 |
get_first_name() |
S |
67 |
3 |
8 |
get_admin_edit_url() |
S |
65 |
3 |
9 |
get_rate() |
S |
68 |
3 |
7 |
get_message() |
S |
67 |
3 |
7 |
set_token() |
S |
66 |
3 |
8 |
get_last_name() |
S |
67 |
3 |
8 |
set_rate() |
S |
68 |
3 |
7 |
has_active_payments() |
S |
63 |
2 |
11 |
to_array() |
S |
55 |
1 |
21 |
get_gateway_preferences() |
S |
67 |
2 |
7 |
get_invoice_profile() |
S |
65 |
2 |
9 |
get_referral_url() |
S |
66 |
2 |
8 |
should_notify() |
S |
68 |
2 |
6 |
set_user_id() |
S |
66 |
2 |
9 |
is_valid() |
S |
73 |
2 |
4 |
update_refunds() |
S |
64 |
2 |
10 |
set_payment_email() |
S |
71 |
2 |
6 |
set_conversions() |
S |
69 |
2 |
7 |
set_clicks_count() |
S |
69 |
2 |
7 |
update_paid() |
S |
64 |
2 |
10 |
set_paid() |
S |
66 |
2 |
9 |
set_refunds() |
S |
66 |
2 |
9 |
has_unpaid_commissions() |
S |
66 |
2 |
8 |
get_conversion_rate() |
S |
69 |
2 |
7 |
set_earnings() |
S |
69 |
2 |
7 |
has_status() |
S |
70 |
2 |
6 |
get_status() |
S |
66 |
2 |
8 |
get_formatted_status() |
S |
66 |
2 |
8 |
get_clicks() |
S |
64 |
1 |
11 |
count_payments() |
S |
64 |
1 |
11 |
get_payments() |
S |
64 |
1 |
11 |
count_commissions() |
S |
64 |
1 |
11 |
get_commissions() |
S |
64 |
1 |
11 |
get_refunds() |
S |
79 |
1 |
3 |
increase_clicks() |
S |
75 |
1 |
4 |
decrease_clicks() |
S |
72 |
1 |
5 |
get_paid() |
S |
79 |
1 |
3 |
set_conversion() |
S |
81 |
1 |
3 |
increase_conversions() |
S |
75 |
1 |
4 |
decrease_conversions() |
S |
72 |
1 |
5 |
get_formatted_balance() |
S |
75 |
1 |
4 |
set_banned() |
S |
76 |
1 |
4 |
set_enabled() |
S |
80 |
1 |
3 |
ban() |
S |
81 |
1 |
3 |
unban() |
S |
81 |
1 |
3 |
get_formatted_total() |
S |
75 |
1 |
4 |
get_total() |
S |
80 |
1 |
3 |
get_formatted_refunds() |
S |
75 |
1 |
4 |
set_notify() |
S |
75 |
1 |
4 |
get_user_id() |
S |
79 |
1 |
3 |
set_click() |
S |
81 |
1 |
3 |
get_formatted_paid() |
S |
75 |
1 |
4 |
get_clicks_count() |
S |
79 |
1 |
3 |
count_coupons() |
S |
74 |
1 |
4 |
get_token() |
S |
82 |
1 |
3 |
get_formatted_rate() |
S |
79 |
1 |
3 |
get_associated_users() |
S |
65 |
1 |
9 |
get_earnings() |
S |
79 |
1 |
3 |
get_payment_email() |
S |
79 |
1 |
3 |
get_coupons() |
S |
75 |
1 |
4 |
is_banned() |
S |
80 |
1 |
3 |
get_click() |
S |
80 |
1 |
3 |
get_banned() |
S |
79 |
1 |
3 |
get_enabled() |
S |
80 |
1 |
3 |
get_raw_status() |
S |
79 |
1 |
3 |
update_earnings() |
S |
75 |
1 |
4 |
update_total() |
S |
81 |
1 |
3 |
get_conversion() |
S |
80 |
1 |
3 |
get_conversions() |
S |
79 |
1 |
3 |
get_formatted_earnings() |
S |
75 |
1 |
4 |