WC_Order_Data_Store_CPT D

Total Complexity 165
Dependencies 7
Dependents 0
Total lines 1,168
Lines of code 692
Logical lines of code 301
Comment lines 309
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
update_post_meta()
D
28
36 118
get_wp_query_args()
C
35 23 79
prime_refund_caches_for_order()
A
43 14 49
prime_raw_meta_cache_for_orders()
A
45 10 42
get_orders_generate_customer_meta_query()
A
47 8 39
update()
S
58 7 13
query()
S
51 6 27
release_held_coupons()
S
56 6 19
read_order_data()
S
41 3 54
search_orders()
S
44 3 52
set_coupon_held_keys()
S
66 5 8
compile_orders()
S
59 4 15
get_coupon_held_keys_for_users()
S
68 3 7
get_coupon_held_keys()
S
68 3 7
set_email_sent()
S
64 3 9
set_recorded_sales()
S
68 2 7
set_stock_reduced()
S
68 2 7
create()
S
68 2 7
set_recorded_coupon_usage_counts()
S
68 2 7
get_total_shipping_refunded()
S
60 1 15
set_download_permissions_granted()
S
68 2 7
get_order_key()
S
71 2 6
get_total_tax_refunded()
S
60 1 15
get_total_refunded()
S
61 1 14
get_unpaid_orders()
S
60 1 14
get_post_excerpt()
S
81 1 3
prime_caches_for_orders()
S
73 1 5
get_order_type()
S
80 1 3
set_order_stock_reduced()
S
80 1 3
get_recorded_sales()
S
74 1 4
get_order_stock_reduced()
S
80 1 3
get_recorded_coupon_usage_counts()
S
74 1 4
get_order_id_by_order_key()
S
74 1 4
get_order_count()
S
74 1 4
get_orders()
S
75 1 4
set_new_order_email_sent()
S
80 1 3
get_download_permissions_granted()
S
74 1 4
get_new_order_email_sent()
S
80 1 3
get_email_sent()
S
74 1 4
get_stock_reduced()
S
74 1 4