WC_Admin_Report C

Total Complexity 120
Dependencies 1
Dependents 2
Total lines 799
Lines of code 492
Logical lines of code 285
Comment lines 167
Methods 17
Properties 8

Methods 17

Method Rating Maintainability Complexity Lines of code
get_order_report_data()
D
17
62 218
prepare_chart_data()
A
43 13 45
calculate_current_range()
A
41 12 59
get_sales_sparkline()
A
39 4 79
get_currency_tooltip()
S
57 5 18
check_current_range_nonce()
S
59 4 12
set_cached_query()
S
61 3 12
sales_sparkline()
S
59 3 11
get_cached_query()
S
63 3 10
maybe_update_transients()
S
69 2 6
add_update_transients_hook()
S
72 2 5
enable_big_selects()
S
67 2 8
get_main_chart()
S
98 1 1
get_chart_legend()
S
82 1 3
get_chart_widgets()
S
82 1 3
get_export_button()
S
98 1 1
output_report()
S
98 1 1