Code Analysis: WPC Product Quantity for WooCommerce 5.0.7

Function Rating Maintainability Complexity Lines of code
woopq_init()
D
3
5 1,410
WPCleverWoopq::rule()
C
26
22 180
WPCleverWoopq::admin_menu_content()
C
22
15 282
WPCleverKit::ajax_get_essential_kit()
C
26
21 189
WPCleverWoopq::get_max()
B
41 18 56
WPCleverWoopq::get_values()
B
37 16 70
WPCleverWoopq::add_to_cart_validation()
B
44 18 38
WPCleverWoopq::get_min()
A
42 15 50
WPCleverDashboard::ajax_get_plugins()
A
38 13 66
WPCleverDashboard::ajax_get_suggestion()
A
39 11 60
WPCleverWoopq::bulk_update_variation()
A
50 13 26
WPCleverWoopq::check_roles()
A
48 12 35
WPCleverWoopq::get_value()
A
47 11 36
WPCleverWoopq::get_step()
A
47 11 36
WPCleverWoopq::check_apply()
A
49 11 31
WPCleverWoopq::get_type()
A
50 9 30
WPCleverWoopq::duplicate_variation()
A
52 9 26
WPCleverWoopq::product_settings()
A
40 5 73
WPCleverWoopq::ajax_add_rule()
A
53 8 21
WPCleverKit::admin_menu_content()
A
55 8 18
WPCleverWoopq::add_to_cart_message_html()
S
50 7 24
WPCleverWoopq::get_quantity()
S
58 7 14
WPCleverWoopq::product_data_panels()
S
55 5 22
WPCleverWoopq::get_stock_status()
S
57 5 16
WPCleverWoopq::quantity_input_args()
S
54 4 20
WPCleverWoopq::__construct()
S
44 2 43
WPCleverWoopq::get_product_setting()
S
60 4 12
WPCleverWoopq::loop_add_to_cart_args()
S
63 4 11
WPCleverWoopq::ajax_search_term()
S
56 3 18
WPCleverWoopq::qty_in_cart()
S
64 4 9
WPCleverWoopq::quantity_input_min_admin()
S
64 4 9
WPCleverWoopq::quantity_input_step_admin()
S
64 4 9
WPCleverWoopq::row_meta()
S
60 3 13
WPCleverWoopq::generate_key()
S
60 3 12
WPCleverWoopq::action_links()
S
60 3 12
WPCleverWoopq::sanitize_array()
S
63 3 10
WPCleverWoopq::get_setting()
S
65 3 8
WPCleverKit::plugin_index_by_slug()
S
67 3 8
WPCleverWoopq::admin_enqueue_scripts()
S
61 2 12
WPCleverDashboard::admin_menu_content()
S
63 1 25
WPCleverWoopq::wpcsm_locations()
S
56 1 17
WPCleverWoopq::quantity_input_template()
S
71 2 6
WPCleverWoopq::quantity_input_step()
S
72 2 6
WPCleverKit::admin_scripts()
S
63 2 10
WPCleverWoopq::quantity_input_min()
S
72 2 6
WPCleverKit::is_plugin_active()
S
69 2 7
WPCleverKit::is_plugin_installed()
S
68 2 7
WPCleverWoopq::quantity_input_max()
S
72 2 6
WPCleverWoopq::data_attributes()
S
67 2 7
WPCleverWoopq::save_variation_settings()
S
68 2 7
WPCleverKit::activate_plugin_link()
S
67 2 7
WPCleverWoopq::process_product_meta()
S
68 2 7
WPCleverWoopq::instance()
S
72 2 6
WPCleverKit::deactivate_plugin_link()
S
67 2 7
WPCleverDashboard::admin_menu()
S
63 1 12
WPCleverWoopq::variation_settings()
S
64 1 11
WPCleverKit::install_plugin_link()
S
78 1 3
WPCleverKit::__construct()
S
72 1 5
WPCleverDashboard::__construct()
S
70 1 6
WPCleverWoopq::enqueue_scripts()
S
62 1 10
WPCleverKit::admin_menu()
S
70 1 6
WPCleverWoopq::product_data_tabs()
S
68 1 7
WPCleverWoopq::get_global_setting()
S
75 1 4
WPCleverWoopq::get_settings()
S
79 1 3
woopq_notice_wc()
S
100 1 7
WPCleverWoopq::before_variations_form()
S
68 1 7
WPCleverWoopq::clean_value()
S
79 1 3
WPCleverWoopq::rest_shop_order_schema()
S
75 1 4
WPCleverWoopq()
S
82 1 3
WPCleverWoopq::init()
S
78 1 3
WPCleverDashboard::enqueue_scripts()
S
66 1 8
WPCleverMenu::__construct()
S
100 1 2
WPCleverWoopq::admin_menu()
S
70 1 6
WPCleverWoopq::register_settings()
S
81 1 3