WC_Order_Export_Data_Extractor D

Total Complexity 426
Dependencies 8
Dependents 5
Total lines 2,025
Lines of code 1,599
Logical lines of code 1,061
Comment lines 183
Methods 44
Properties 12

Methods 44

Method Rating Maintainability Complexity Lines of code
sql_get_order_ids_Ver1()
D
6
103 365
fetch_order_products()
D
23
58 152
get_date_range()
D
27
36 139
fetch_order_data()
C
36 31 70
sql_get_product_ids()
C
34 23 87
sql_get_filtered_product_list()
B
37 22 71
sql_build_product_filter()
B
36 17 79
apply_order_filters_to_sql()
B
41 18 50
parse_complex_pairs()
A
42 12 54
get_shipping_methods()
S
50 7 27
get_product_variation()
S
45 6 40
get_customer_order()
S
48 6 33
get_city_state_postcode_field_value()
S
53 6 22
parse_pairs()
S
56 5 17
add_date_filter()
S
61 5 11
get_product_attributes()
S
52 4 22
fetch_order_coupons()
S
55 4 19
get_product_taxonomies()
S
55 4 18
get_shipping_zone()
S
59 4 13
get_quarter_month()
S
61 4 13
get_order_tax_items()
S
53 3 21
get_order_fee_items()
S
53 3 21
get_order_shipping_items()
S
53 3 21
get_product_itemmeta()
S
53 3 21
get_order_custom_fields()
S
53 3 20
get_product_custom_fields()
S
54 3 19
get_user_custom_fields()
S
55 3 18
get_date_meta_for_subscription_filters()
S
59 3 13
get_customer_total_spent_by_email()
S
55 2 20
get_max_order_items()
S
57 2 18
operator_compare_field_and_value()
S
61 3 10
get_customer_order_count_by_email()
S
58 2 15
prepare_for_export()
S
64 2 9
format_date_to_day_end()
S
65 2 9
format_date_to_day_start()
S
65 2 9
get_order_item_taxes_refund()
S
65 2 9
sql_subset()
S
68 2 7
get_order_subtotal_refunded()
S
68 2 7
get_order_shipping_tax_refunded()
S
62 1 12
extract_item_type_and_key()
S
72 1 5
get_sql_queries()
S
80 1 3
start_track_queries()
S
76 1 4
sql_get_order_ids()
S
79 1 3
is_datetime_timestamp()
S
78 1 3