Code Analysis: Wootomation - Machine Learning AI 1.2.0

Function Rating Maintainability Complexity Lines of code
Wootomation::ai_suggestions_display()
B
33 20 101
Wootomation_Sales::get_sales()
S
45 5 40
Wootomation::register_required_plugins()
S
38 1 84
Wootomation::__construct()
S
54 4 19
Wootomation::wt_admin_notices()
S
59 3 18
Wootomation_Sales::get_combinations()
S
64 3 10
Wootomation_AI::predict()
S
71 3 5
Wootomation_AI::train_csv()
S
61 2 12
Wootomation_Sales::get_cart_items()
S
62 2 11
Wootomation_Admin::admin_page_main()
S
56 1 23
Wootomation_Sales::get_most_frequent()
S
66 2 8
Wootomation::activate()
S
65 2 9
Wootomation_AI::train()
S
66 2 8
Wootomation_AI::get_rules()
S
75 2 4
Wootomation_Admin::add_admin_options()
S
59 1 13
Wootomation_Admin::wootomation_suggestions_per_page()
S
75 1 4
Wootomation_Admin::add_admin_page()
S
78 1 3
Wootomation_Admin::wootomation_settings()
S
91 1 2
Wootomation_Admin::init()
S
75 1 4
Wootomation::add_settings_links()
S
65 1 9
Wootomation_Admin::wootomation_after_cart_table()
S
66 1 8
Wootomation::train_data()
S
71 1 6
Wootomation::enqueue_scripts()
S
73 1 4
Wootomation_Admin::wootomation_locations()
S
82 1 3
Wootomation_Admin::wootomation_include_backorders()
S
66 1 8
Wootomation::deactivate()
S
82 1 3
Wootomation::train_data_ajax()
S
69 1 7
Wootomation_Admin::wootomation_after_cart_table_title()
S
75 1 4
Wootomation_Admin::wootomation_exclude_out_of_stock()
S
66 1 8