Code Analysis: WPC Custom Related Products for WooCommerce 3.1.0

Function Rating Maintainability Complexity Lines of code
woocr_init()
D
9
5 860
WPCleverKit::ajax_get_essential_kit()
C
27
19 175
WPCleverWoocr::get_products()
B
35 22 83
WPCleverWoocr::check_apply()
B
42 24 48
WPCleverWoocr::admin_menu_content()
B
28
13 175
WPCleverDashboard::ajax_get_plugins()
A
38 14 64
WPCleverWoocr::rule()
A
44 15 40
WPCleverWoocr::product_data_panels()
A
36 12 85
WPCleverWoocr::related_products()
A
44 14 43
WPCleverWoocr::source()
A
37 10 75
WPCleverWoocr::ajax_get_search_results()
A
46 7 36
WPCleverKit::admin_menu_content()
A
55 8 18
WPCleverWoocr::ajax_add_rule()
A
55 8 17
WPCleverWoocr::search_sku()
S
53 6 21
WPCleverWoocr::rules()
S
47 4 44
WPCleverWoocr::related_products_args()
S
64 6 8
WPCleverWoocr::product_data_li()
S
57 5 14
WPCleverWoocr::__construct()
S
50 4 27
WPCleverWoocr::process_product_meta()
S
63 4 11
WPCleverWoocr::ajax_search_term()
S
56 3 18
WPCleverWoocr::action_links()
S
58 3 14
WPCleverWoocr::row_meta()
S
60 3 13
WPCleverWoocr::generate_key()
S
60 3 12
WPCleverWoocr::admin_enqueue_scripts()
S
57 2 16
WPCleverWoocr::search_exact()
S
72 3 5
WPCleverWoocr::get_setting()
S
65 3 8
WPCleverKit::plugin_index_by_slug()
S
67 3 8
WPCleverWoocr::search_sentence()
S
72 3 5
WPCleverDashboard::admin_menu_content()
S
64 1 22
WPCleverWoocr::instance()
S
72 2 6
WPCleverKit::deactivate_plugin_link()
S
67 2 7
WPCleverKit::activate_plugin_link()
S
67 2 7
WPCleverKit::admin_scripts()
S
63 2 10
WPCleverKit::is_plugin_active()
S
69 2 7
WPCleverKit::is_plugin_installed()
S
68 2 7
WPCleverDashboard::admin_menu()
S
63 1 12
WPCleverWoocr::register_settings()
S
77 1 4
WPCleverKit::__construct()
S
72 1 5
WPCleverDashboard::__construct()
S
72 1 5
woocr_notice_wc()
S
100 1 7
WPCleverWoocr::product_data_tabs()
S
68 1 7
WPCleverKit::install_plugin_link()
S
78 1 3
WPCleverWoocr::get_settings()
S
79 1 3
WPCleverWoocr::admin_menu()
S
70 1 6
WPCleverMenu::__construct()
S
100 1 2
WPCleverKit::admin_menu()
S
70 1 6
WPCleverDashboard::enqueue_scripts()
S
66 1 8