YITH_WCAF_Commission D

Total Complexity 171
Dependencies 15
Dependents 6
Total lines 1,331
Lines of code 592
Logical lines of code 290
Comment lines 535
Methods 65
Properties 6

Methods 65

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
get_refund_partials()
S
58 6 16
get_order_item()
S
60 6 14
__construct()
S
51 5 28
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_formatted_line_total()
S
60 2 15
can_be_paid()
S
78 3 3
trash()
S
68 3 7
set_rate()
S
68 3 7
get_last_edit()
S
68 3 7
get_created_at()
S
68 3 7
get_admin_edit_url()
S
65 3 9
add_note()
S
61 2 13
get_created_time()
S
69 2 7
get_status()
S
66 2 8
set_affiliate_id()
S
66 2 9
set_refunds()
S
69 2 7
set_line_total()
S
69 2 7
has_status()
S
70 2 6
set_amount()
S
69 2 7
get_edited_time()
S
69 2 7
get_currency()
S
69 2 7
get_available_status_changes()
S
67 2 8
get_formatted_status()
S
65 2 8
can_change_status()
S
68 2 7
get_formatted_amount()
S
63 1 12
get_shortened_status()
S
63 1 11
get_payments()
S
64 1 11
get_line_item_id()
S
79 1 3
get_affiliate_id()
S
79 1 3
set_last_edit()
S
80 1 3
set_created_at()
S
80 1 3
get_formatted_rate()
S
80 1 3
get_amount()
S
79 1 3
get_refunds_from_partials()
S
80 1 3
get_order_item_id()
S
80 1 3
get_product_name()
S
79 1 3
get_rate()
S
79 1 3
is_assigned()
S
80 1 3
get_refunds()
S
79 1 3
set_order_item_id()
S
81 1 3
set_product_name()
S
80 1 3
is_unassigned()
S
80 1 3
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
get_product_id()
S
79 1 3
get_line_total()
S
79 1 3
get_order_id()
S
79 1 3
is_trashed()
S
80 1 3
is_paid()
S
80 1 3
is_dead()
S
80 1 3
set_product_id()
S
76 1 4