GetPaid_REST_Report_Sales_Controller S

Total Complexity 32
Dependencies 4
Dependents 1
Total lines 663
Lines of code 486
Logical lines of code 103
Comment lines 105
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
B
33 18 98
get_item_schema()
A
32 1 155
query_invoice_totals()
S
47 1 43
query_refunded_totals()
S
47 1 43
query_report_data()
S
49 1 28
query_invoice_counts()
S
53 1 24
query_coupon_counts()
S
54 1 23
query_item_counts()
S
54 1 23
count_refunded_items()
S
59 1 16
register_namespace_routes()
S
60 1 15
get_items_permissions_check()
S
69 2 6
get_report_data()
S
72 2 6
get_items()
S
70 1 6