WPSC_Purchase_Log D

Total Complexity 216
Dependencies 5
Dependents 46
Total lines 1,610
Lines of code 820
Logical lines of code 488
Comment lines 410
Methods 73
Properties 27

Methods 73

Method Rating Maintainability Complexity Lines of code
fetch_stats()
B
35 16 86
delete()
A
47 8 33
__construct()
A
50 8 31
set()
A
51 8 28
get_log_by_meta()
A
55 8 19
save()
S
45 6 44
buyers_state_and_postcode()
S
54 7 20
payment_method()
S
56 7 18
save_meta()
S
53 6 22
get_gateway_data()
S
47 5 36
shipping_state_and_postcode()
S
55 6 19
get_items()
S
55 6 18
fetch()
S
52 5 23
buyers_name()
S
59 4 14
update_item()
S
57 3 17
remove_item()
S
58 3 16
shipping_name()
S
63 4 10
delete_caches()
S
60 3 13
set_gateway_name()
S
62 3 11
shipping_method()
S
63 3 11
get_item_from_product_id()
S
64 3 10
update_downloadable_status()
S
60 2 15
can_edit()
S
67 3 7
get_column_format()
S
66 3 9
buyers_city()
S
67 3 7
buyers_email()
S
67 3 7
buyers_address()
S
67 3 7
buyers_phone()
S
67 3 7
get_meta()
S
70 3 6
shipping_city()
S
67 3 7
shipping_address()
S
67 3 7
shipping_country()
S
65 3 9
shipping()
S
64 3 10
buyers_country()
S
67 3 7
set_shipping_method_names()
S
61 2 13
get_previous_log_id()
S
63 2 11
get_next_log_id()
S
63 2 11
add_refund_note()
S
69 2 6
form_data()
S
70 2 6
add_note()
S
67 2 8
get_total_refunded()
S
75 2 4
get_subtotal()
S
67 2 8
taxes()
S
68 2 7
discount()
S
68 2 7
get_stats_for_product()
S
65 2 9
update_caches()
S
64 2 9
set_meta_props()
S
64 2 9
get_item()
S
67 2 8
get()
S
70 2 6
init_items()
S
68 2 7
get_data_format()
S
68 2 7
is_closed_order()
S
79 1 3
get_remaining_refund()
S
79 1 3
is_order_received()
S
79 1 3
total_price()
S
74 1 4
get_total()
S
78 1 3
is_incomplete_sale()
S
79 1 3
is_accepted_payment()
S
79 1 3
convert_date_args()
S
81 1 3
is_job_dispatched()
S
79 1 3
is_order_status_completed()
S
68 1 8
is_refund_pending()
S
79 1 3
update_cache()
S
80 1 3
is_payment_declined()
S
79 1 3
delete_cache()
S
75 1 4
set_total_shipping()
S
69 1 6
is_refunded()
S
79 1 3
is_transaction_completed()
S
80 1 3
prepare_get()
S
78 1 3
prepare_get_data()
S
79 1 3
prepare_get_meta()
S
79 1 3
get_cart_contents()
S
75 1 4
have_downloads_locked()
S
69 1 6