Code Analysis: WPC Product Options for WooCommerce 1.6.2

Function Rating Maintainability Complexity Lines of code
WPCleverKit::ajax_get_essential_kit()
C
27
21 177
Wpcpo_Cart::add_to_cart_validation()
B
45 18 38
WPCleverDashboard::ajax_get_plugins()
B
37 16 66
Wpcpo_Cart::before_calculate_totals()
B
37 15 77
Wpcpo_Cart::get_item_data()
A
47 16 32
Wpcpo_Frontend::get_fields()
A
45 14 41
Wpcpo_Backend::admin_menu_content()
A
36 9 95
Wpcpo_Frontend::get_label_price()
A
48 12 29
Wpcpo_Cart::add_cart_item_data()
A
51 11 24
Wpcpo_Calculate::calculate()
A
52 10 22
Wpcpo_Cart::order_line_item()
A
58 9 13
Wpcpo_Cart::cart_item_subtotal()
A
54 8 20
WPCleverKit::admin_menu_content()
A
55 8 18
Wpcpo_Backend::validate()
S
57 7 16
Wpcpo_Backend::custom_column_value()
S
56 7 15
Wpcpo_Frontend::display()
S
54 6 20
wpcpo_init()
S
56 5 17
Wpcpo_Cart::cart_item_price()
S
58 5 16
Wpcpo_Frontend::init()
S
57 5 16
Wpcpo_Frontend::total_price_settings()
S
56 5 16
Wpcpo_Frontend::get_min_max_step_attr()
S
58 5 15
Wpcpo_Backend::save_product_options()
S
60 5 14
Wpcpo_Frontend::enqueue_scripts()
S
43 2 54
Wpcpo_Backend::ajax_search_term()
S
56 4 18
Wpcpo_Backend::get_field()
S
55 4 18
Wpcpo_Frontend::get_required_fields()
S
62 4 12
Wpcpo_Frontend::get_min_max_attr()
S
61 4 12
Wpcpo_Backend::enqueue_scripts()
S
57 3 16
Wpcpo_Frontend::__construct()
S
59 3 13
Wpcpo_Backend::row_meta()
S
60 3 13
Wpcpo_Backend::action_links()
S
59 3 13
Wpcpo_Backend::generate_key()
S
60 3 12
Wpcpo_Backend::register_postype()
S
49 1 31
Wpcpo_Calculate::callback()
S
66 3 8
WPCleverKit::plugin_index_by_slug()
S
67 3 8
Wpcpo_Backend::get_setting()
S
65 3 8
Wpcpo_Backend::sanitize_array()
S
63 3 10
Wpcpo_Frontend::add_to_cart_link()
S
63 3 10
Wpcpo_Cart::upload_dir()
S
59 2 14
WPCleverDashboard::admin_menu_content()
S
64 1 22
Wpcpo_Frontend::js_datetime_format()
S
55 1 20
Wpcpo_Backend::__construct()
S
54 1 19
Wpcpo_Frontend::get_fields_in_product()
S
68 2 7
Wpcpo_Backend::instance()
S
72 2 6
Wpcpo_Backend::ajax_add_field()
S
71 2 5
Wpcpo_Cart::instance()
S
72 2 6
Wpcpo_Backend::get_option_value()
S
71 2 6
WPCleverKit::is_plugin_installed()
S
68 2 7
WPCleverKit::admin_scripts()
S
63 2 10
WPCleverKit::deactivate_plugin_link()
S
67 2 7
WPCleverKit::is_plugin_active()
S
69 2 7
Wpcpo_Backend::fields_meta()
S
71 2 5
Wpcpo_Cart::get_cart_item_from_session()
S
70 2 6
Wpcpo_Frontend::instance()
S
72 2 6
Wpcpo_Backend::get_field_value()
S
71 2 6
WPCleverKit::activate_plugin_link()
S
67 2 7
WPCleverDashboard::admin_menu()
S
63 1 12
Wpcpo_Cart::__construct()
S
61 1 11
Wpcpo_Cart::word_count()
S
71 1 5
Wpcpo_Backend::configuration_meta()
S
80 1 3
Wpcpo_Backend::get_settings()
S
79 1 3
Wpcpo_Backend::ajax_add_option()
S
70 1 6
Wpcpo_Backend::get_options()
S
75 1 4
Wpcpo_Frontend::display_variable_before()
S
74 1 4
WPCleverMenu::__construct()
S
100 1 2
Wpcpo_Frontend::display_variable_after()
S
74 1 4
Wpcpo_Backend::product_data_panels()
S
80 1 3
Wpcpo_Backend::add_meta_box()
S
64 1 10
wpcpo_notice_wc()
S
100 1 7
Wpcpo_Cart::before_mini_cart_contents()
S
82 1 3
Wpcpo_Calculate::compute()
S
74 1 4
Wpcpo_Backend::get_option()
S
76 1 4
WPCleverDashboard::__construct()
S
72 1 5
WPCleverWpcpo::__construct()
S
74 1 5
WPCleverKit::admin_menu()
S
70 1 6
WPCleverKit::__construct()
S
72 1 5
WPCleverKit::install_plugin_link()
S
78 1 3
Wpcpo_Cart::clean_custom_price()
S
79 1 3
Wpcpo_Backend::custom_column()
S
65 1 9
Wpcpo_Backend::init()
S
82 1 3
Wpcpo_Backend::admin_menu()
S
70 1 6
WPCleverDashboard::enqueue_scripts()
S
66 1 8
Wpcpo_Cart::get_custom_price()
S
82 1 3
Wpcpo_Cart::handle_upload()
S
65 1 8
Wpcpo_Backend::product_data_tabs()
S
68 1 7
Wpcpo_Backend::register_settings()
S
81 1 3