-
Home
-
YITH WooCommerce Affiliates
-
3.17.0 (latest)
-
Code
-
Classes
- YITH_WCAF_Commission
Total Complexity |
179 |
Dependencies |
15 |
Dependents |
4 |
Total lines |
1,382 |
Lines of code |
599 |
Logical lines of code |
302 |
Comment lines |
557 |
Methods |
68 |
Properties |
7 |
Methods 68
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_admin_actions() |
A |
40 |
13 |
60 |
sync_affiliate() |
A |
48 |
14 |
31 |
set_status() |
A |
51 |
10 |
24 |
__construct() |
A |
55 |
8 |
18 |
get_refund_partials() |
S |
58 |
6 |
16 |
get_order_item() |
S |
60 |
6 |
14 |
get_notes() |
S |
54 |
5 |
22 |
to_array() |
S |
57 |
5 |
17 |
save() |
S |
55 |
4 |
19 |
delete() |
S |
58 |
4 |
16 |
get_order() |
S |
64 |
5 |
10 |
get_product() |
S |
64 |
5 |
10 |
get_affiliate() |
S |
64 |
5 |
10 |
restore() |
S |
62 |
3 |
12 |
update_refunds() |
S |
63 |
3 |
11 |
update_amount() |
S |
63 |
3 |
11 |
get_last_edit() |
S |
68 |
3 |
7 |
get_admin_edit_url() |
S |
65 |
3 |
9 |
set_rate() |
S |
68 |
3 |
7 |
get_created_at() |
S |
68 |
3 |
7 |
can_be_paid() |
S |
78 |
3 |
3 |
trash() |
S |
68 |
3 |
7 |
add_note() |
S |
61 |
2 |
13 |
set_refunds() |
S |
69 |
2 |
7 |
set_amount() |
S |
69 |
2 |
7 |
set_affiliate_id() |
S |
66 |
2 |
9 |
set_line_total() |
S |
69 |
2 |
7 |
get_order_edit_url() |
S |
69 |
2 |
7 |
get_created_time() |
S |
69 |
2 |
7 |
get_formatted_status() |
S |
65 |
2 |
8 |
get_edited_time() |
S |
69 |
2 |
7 |
get_available_status_changes() |
S |
67 |
2 |
8 |
has_status() |
S |
70 |
2 |
6 |
get_status() |
S |
66 |
2 |
8 |
get_product_url() |
S |
69 |
2 |
7 |
get_product_edit_url() |
S |
69 |
2 |
7 |
can_change_status() |
S |
68 |
2 |
7 |
get_currency() |
S |
69 |
2 |
7 |
get_formatted_amount() |
S |
63 |
1 |
12 |
get_shortened_status() |
S |
63 |
1 |
11 |
get_formatted_line_total() |
S |
65 |
1 |
11 |
get_payments() |
S |
64 |
1 |
11 |
get_amount() |
S |
79 |
1 |
3 |
get_line_item_id() |
S |
79 |
1 |
3 |
get_formatted_rate() |
S |
80 |
1 |
3 |
is_trashed() |
S |
80 |
1 |
3 |
get_rate() |
S |
79 |
1 |
3 |
set_created_at() |
S |
80 |
1 |
3 |
set_last_edit() |
S |
80 |
1 |
3 |
get_refunds_from_partials() |
S |
80 |
1 |
3 |
get_product_name() |
S |
79 |
1 |
3 |
get_product_id() |
S |
79 |
1 |
3 |
get_affiliate_id() |
S |
79 |
1 |
3 |
set_order_item_id() |
S |
81 |
1 |
3 |
get_refunds() |
S |
79 |
1 |
3 |
is_paid() |
S |
80 |
1 |
3 |
set_product_name() |
S |
80 |
1 |
3 |
set_product_id() |
S |
76 |
1 |
4 |
set_line_item_id() |
S |
76 |
1 |
4 |
set_order_id() |
S |
76 |
1 |
4 |
get_inactive_payments() |
S |
67 |
1 |
8 |
get_active_payments() |
S |
67 |
1 |
8 |
is_assigned() |
S |
80 |
1 |
3 |
get_order_item_id() |
S |
80 |
1 |
3 |
is_unassigned() |
S |
80 |
1 |
3 |
is_dead() |
S |
80 |
1 |
3 |
get_order_id() |
S |
79 |
1 |
3 |
get_line_total() |
S |
79 |
1 |
3 |