WC_Admin_Report C

Total Complexity 116
Dependencies 0
Dependents 5
Total lines 779
Lines of code 481
Logical lines of code 279
Comment lines 157
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
get_order_report_data()
D
18
60 216
calculate_current_range()
A
41 12 59
prepare_chart_data()
A
44 12 45
sales_sparkline()
A
37 6 81
get_currency_tooltip()
S
57 5 18
check_current_range_nonce()
S
59 4 12
set_cached_query()
S
61 3 12
get_cached_query()
S
63 3 10
add_update_transients_hook()
S
72 2 5
enable_big_selects()
S
67 2 8
maybe_update_transients()
S
69 2 6
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