-
Home
-
Payment forms, Buy now buttons, and Invoicing System | GetPaid
-
2.7.4
-
Code
-
Classes
- GetPaid_REST_Report_Sales_Controller
Total Complexity |
40 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
687 |
Lines of code |
504 |
Logical lines of code |
116 |
Comment lines |
109 |
Methods |
13 |
Properties |
3 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_item_for_response() |
C |
30 |
26 |
116 |
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 |