Code Analysis: WPC Custom Related Products for WooCommerce 3.0.0

Function Rating Maintainability Complexity Lines of code
woocr_init()
D
9
5 861
WPCleverKit::essential_kit_content()
C
26
20 194
WPCleverWoocr::get_products()
B
35 22 83
WPCleverWoocr::check_apply()
B
42 24 48
WPCleverWoocr::admin_menu_content()
B
29 12 159
WPCleverMenu::welcome_content()
B
37 14 77
WPCleverWoocr::related_products()
A
44 14 43
WPCleverWoocr::rule()
A
46 13 37
WPCleverWoocr::source()
A
37 10 76
WPCleverWoocr::product_data_panels()
A
39 8 69
WPCleverWoocr::combination()
A
46 9 38
WPCleverWoocr::ajax_get_search_results()
A
46 7 36
WPCleverWoocr::search_sku()
S
53 6 21
WPCleverWoocr::__construct()
S
47 5 33
WPCleverWoocr::rules()
S
48 4 44
WPCleverWoocr::ajax_add_combination()
S
61 6 10
WPCleverWoocr::product_data_li()
S
57 5 14
WPCleverWoocr::process_product_meta()
S
58 4 17
WPCleverWoocr::related_products_args()
S
65 5 8
WPCleverWoocr::ajax_search_term()
S
56 3 18
WPCleverWoocr::ajax_add_rule()
S
65 4 8
WPCleverWoocr::action_links()
S
58 3 14
WPCleverWoocr::row_meta()
S
60 3 13
WPCleverWoocr::search_sentence()
S
72 3 5
WPCleverWoocr::get_setting()
S
65 3 8
WPCleverWoocr::search_exact()
S
72 3 5
WPCleverMenu::admin_footer()
S
100 1 24
WPCleverKit::is_plugin_installed()
S
68 2 7
WPCleverKit::is_plugin_active()
S
68 2 7
WPCleverWoocr::instance()
S
72 2 6
WPCleverKit::deactivate_plugin_link()
S
66 2 7
WPCleverKit::activate_plugin_link()
S
66 2 7
WPCleverWoocr::admin_enqueue_scripts()
S
60 1 13
WPCleverMenu::admin_menu()
S
63 1 12
WPCleverWoocr::product_data_tabs()
S
68 1 7
WPCleverWoocr::get_settings()
S
79 1 3
WPCleverDashboard::__construct()
S
79 1 3
WPCleverKit::install_plugin_link()
S
77 1 3
WPCleverKit::admin_scripts()
S
75 1 4
WPCleverMenu::__construct()
S
76 1 4
WPCleverWoocr::register_settings()
S
77 1 4
WPCleverDashboard::enqueue_scripts()
S
79 1 3
WPCleverKit::admin_menu()
S
70 1 6
WPCleverKit::__construct()
S
76 1 4
WPCleverWoocr::admin_menu()
S
70 1 6
woocr_notice_wc()
S
100 1 7