-
Home
-
WC Vendors – WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors
-
2.5.6
-
Code
-
Classes
- WCV_Reports
Total Complexity |
54 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
635 |
Lines of code |
400 |
Logical lines of code |
151 |
Comment lines |
149 |
Methods |
12 |
Properties |
5 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_total_commissions_and_revenue() |
C |
29 |
20 |
149 |
get_top_vendors() |
A |
39 |
8 |
67 |
get_total_orders() |
S |
42 |
4 |
65 |
get_product_totals_by_orders() |
S |
47 |
5 |
41 |
get_pending_approval() |
S |
49 |
5 |
31 |
get_period() |
S |
61 |
3 |
14 |
get_total_commissions() |
S |
67 |
2 |
7 |
get_total_revenue() |
S |
67 |
2 |
7 |
get_vendor_rating() |
S |
69 |
2 |
7 |
__construct() |
S |
72 |
1 |
5 |
set_period() |
S |
77 |
1 |
4 |
clear_total_commissions_and_revenue_cache() |
S |
81 |
1 |
3 |