InstaWP_Rest_Api_WooCommerce B

Total Complexity 84
Dependencies 5
Dependents 0
Total lines 700
Lines of code 575
Logical lines of code 250
Comment lines 25
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_sales_by_granularity()
A
49 9 32
get_variation_data()
A
42 8 47
get_orders_by_granularity()
A
49 9 31
get_product_data_core()
A
38 6 65
get_graph()
A
44 7 47
get_customers_by_granularity()
A
50 8 30
add_api_routes()
S
36 1 111
get_wc_orders()
S
52 6 26
get_formatted_item_data_core()
S
49 5 29
get_product_data()
S
62 5 11
get_summary()
S
47 3 37
calculate_orders_summary()
S
53 3 24
get_customers()
S
60 3 13
get_orders()
S
61 2 13
get_products()
S
61 2 13
get_wc_products()
S
67 2 8
__construct()
S
70 2 6
calculate_customers_summary()
S
60 1 13
get_customers_registered()
S
60 1 13
get_formatted_item_data()
S
70 1 6