Code Analysis: Wootomation - Machine Learning AI 2.0.3

Function Rating Maintainability Complexity Lines of code
Wootomation::ai_suggestions_display()
C
32 24 106
Wootomation_Train::process_product()
A
47 7 35
Wootomation_Sales::get_sales()
S
46 5 37
Wootomation_Train::create_dot()
S
55 6 17
Wootomation_Admin::admin_page_main()
S
45 3 58
Wootomation::register_required_plugins()
S
38 1 84
Wootomation_Train::process_orders()
S
49 4 31
Wootomation::__construct()
S
54 4 19
Wootomation_Train::get_total_pages_orders()
S
63 4 11
Wootomation_Train::get_total_pages_products()
S
63 4 11
Wootomation::maybe_create_suggestions_db_table()
S
55 3 21
Wootomation::maybe_create_indexing_db_table()
S
55 3 21
Wootomation::wt_admin_notices()
S
58 3 19
Wootomation_Train::train()
S
60 3 13
Wootomation_Train::update_db_similarity()
S
53 2 27
Wootomation_Train::update_db_index()
S
56 2 18
Wootomation_Train::eg_schedule_wootomation()
S
71 3 5
Wootomation_Sales::get_cart_items()
S
62 2 11
Wootomation_Sales::get_most_frequent()
S
68 2 7
Wootomation_Admin::add_admin_options()
S
59 1 13
Wootomation_Similarity::magnitude()
S
66 1 8
Wootomation_Admin::wootomation_settings()
S
91 1 2
Wootomation_Admin::wootomation_include_backorders()
S
66 1 8
Wootomation_Admin::wootomation_locations()
S
82 1 3
Wootomation_Admin::init()
S
75 1 4
Wootomation_Admin::wootomation_suggestions_per_page()
S
75 1 4
Wootomation::enqueue_scripts()
S
73 1 4
Wootomation_Sales::get_products()
S
68 1 7
Wootomation::activate()
S
65 1 9
Wootomation_Admin::wootomation_exclude_out_of_stock()
S
66 1 8
Wootomation_Similarity::cosine()
S
67 1 7
Wootomation_Train::finish_training()
S
80 1 3
Wootomation::deactivate()
S
82 1 3
Wootomation::add_settings_links()
S
67 1 8
Wootomation_Sales::get_count_products()
S
69 1 7
Wootomation::init_setup()
S
74 1 5
Wootomation_Train::__construct()
S
66 1 8
Wootomation_Admin::add_admin_page()
S
78 1 3
Wootomation_Similarity::dot()
S
70 1 6
Wootomation::force_retrain()
S
66 1 9
Wootomation_Sales::get_count_shop_orders()
S
69 1 7
Wootomation_Similarity::dot_product()
S
67 1 8
Wootomation_Admin::wootomation_after_cart_table()
S
66 1 8
Wootomation_Admin::wootomation_after_cart_table_title()
S
75 1 4