Code Analysis: Totals Report for WooCommerce 1.0.2

Function Rating Maintainability Complexity Lines of code
TRWC_Report_Admin::render_report_page()
C
28
17 167
TRWC_Report::process_variable_product()
A
47 10 37
TRWC_Report_Export::maybe_export_report()
A
47 9 38
TRWC_Report::process_product_categories()
A
48 9 34
TRWC_Report::calculate_derived_metrics()
S
51 5 32
trwc_check_dependencies()
S
60 6 13
TRWC_Report_Export::export_csv()
S
47 4 33
TRWC_Report::process_simple_product()
S
57 5 17
TRWC_Report::is_product_low_stock()
S
58 5 15
TRWC_Report::generate_report()
S
52 4 25
TRWC_Report::process_product()
S
56 4 18
trwc_is_woocommerce_active()
S
61 4 13
trwc_activate()
S
60 4 13
trwc_admin_notice()
S
62 3 12
TRWC_Report_Admin::enqueue_admin_assets()
S
53 2 26
TRWC_Report_Admin::render_export_buttons()
S
56 2 19
TRWC_Report_Admin::format_metric_label()
S
58 2 15
TRWC_Report_Export::array_to_xml()
S
63 3 10
TRWC_Report_Admin::__construct()
S
63 3 10
trwc_after_plugin_row()
S
59 2 14
TRWC_Report::initialize_report_structure()
S
59 1 16
TRWC_Report_Export::get_instance()
S
71 2 6
TRWC_Report_Admin::get_instance()
S
71 2 6
trwc_modify_plugin_description()
S
67 2 7
TRWC_Report::get_instance()
S
71 2 6
TRWC_Report_Admin::show_class_load_error()
S
66 1 12
TRWC_Report::clear_cached_report()
S
81 1 3
trwc_init()
S
76 1 5
TRWC_Report_Admin::add_admin_menu()
S
65 1 10
TRWC_Report_Export::export_json()
S
72 1 5
TRWC_Report_Export::__construct()
S
79 1 3
trwc_deactivate()
S
100 1 2
TRWC_Report::__construct()
S
79 1 3
TRWC_Report_Export::export_xml()
S
67 1 7