WWP_Dashboard B

Total Complexity 79
Dependencies 4
Dependents 2
Total lines 882
Lines of code 458
Logical lines of code 194
Comment lines 283
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
get_total_wholesale_revenue()
A
42 12 48
get_dashboard_data()
A
34 7 100
get_total_wholesale_orders()
A
44 10 42
get_recent_wholesale_orders()
A
47 8 34
get_top_wholesale_customers()
S
49 7 29
get_wws_plugins_license_statuses()
S
46 5 38
activate_plugin()
S
57 4 18
get_wholesale_user_ids()
S
63 4 11
load_back_end_styles_and_scripts()
S
54 3 23
internationalization()
S
47 1 35
handle_custom_query_var()
S
63 3 10
permissions_check()
S
69 3 6
wc_navigation_bar()
S
63 2 11
instance()
S
71 2 6
rest_api_dashboard()
S
64 1 11
is_wholesale_dashboard_disabled()
S
79 1 3
__construct()
S
80 1 3
enable_dashboard_cache()
S
79 1 3
clear_cache()
S
70 1 7
clear_cache_on_new_orders()
S
82 1 3
_wholesale_orders_meta_query()
S
65 1 10
run()
S
67 1 7