Code Analysis: WooCommerce Custom Product Builder or Configurator - Especially PC Builder Toolkit 2.0.0

Function Rating Maintainability Complexity Lines of code
wpadpcbu_query()
B
36 19 78
WPAppsDev\PCBU\Ajax::filter_component_product_process()
B
39 16 65
WPAppsDev\PCBU\Ajax::generate_component_filters_field()
A
38 7 71
wpadpcbu_get_template()
A
46 8 38
WPAppsDev\PCBU\Assets::enqueue_front_scripts()
A
48 7 31
get_component_data()
S
46 6 37
WPAppsDev\PCBU\Installer::setup_pages()
S
48 6 37
WPAppsDev\PCBU\Ajax::pcbuilder_configuration_save_process()
S
44 5 51
WPAppsDev\PCBU\Admin\Product::save_pcbuilder_settings()
S
54 7 20
WPAppsDev\PCBU\Ajax::remove_configuration_process()
S
49 6 33
WPAppsDev\PCBU\Admin\Settings::settings_fields()
S
37 1 99
WPAppsDev\PCBU\DynamicTaxonomy::create_dynamic_taxonomy()
S
52 6 23
WPAppsDev\PCBU\Component::save_custom_fields_data()
S
56 6 19
WPAppsDev\PCBU\Ajax::generate_share_link_process()
S
48 5 33
WPAppsDev\PCBU\Admin\Menu::maybe_change_menu_parent_file()
S
57 6 17
wpadpcbu_is_repeatable_empty()
S
59 6 14
WPAppsDev\PCBU\Component::display_custom_columns_data()
S
50 5 29
WPAppsDev\PCBU\Frontend::load_share_configuration_data()
S
49 4 32
WPAppsDev\PCBU\Ajax::add_components_product_to_cart_process()
S
49 4 32
WPAppsDev\PCBU\Frontend::maybe_register_session()
S
65 6 9
generating_select_options()
S
58 5 15
get_component_filters()
S
58 5 14
WPAppsDev\PCBU\Shortcodes\PcBuildersSearch::render_shortcode()
S
52 4 24
WPAppsDev\PCBU\FiltersGroup::filter_configuration_list()
S
52 4 22
WPAppsDev\PCBU\Ajax::validations()
S
55 4 20
WPAppsDev_Pcbuilder::init_classes()
S
54 4 20
WPAppsDev\PCBU\Ajax::component_validations()
S
56 4 19
WPAppsDev\PCBU\Installer::create_page()
S
56 4 19
WPAppsDev\PCBU\Component::add_terms_query_args()
S
55 4 19
WPAppsDev\PCBU\Admin\Menu::change_menu_order()
S
58 4 16
WPAppsDev\PCBU\Ajax::add_component_product_process()
S
49 3 30
WPAppsDev\PCBU\Assets::register_scripts()
S
64 5 8
wpadpcbu_locate_template()
S
60 4 13
wpadpcbu_print()
S
62 4 12
WPAppsDev\PCBU\Helper\SavedConfigurationManager::create()
S
52 3 27
WPAppsDev\PCBU\Frontend\CustomerDashboard::saved_pcs_content()
S
53 3 21
get_tax_terms_list()
S
55 3 20
WPAppsDev\PCBU\Frontend\CustomerDashboard::view_saved_configurations_content()
S
54 3 20
WPAppsDev\PCBU\Helper\SavedConfigurationManager::update()
S
56 3 19
WPAppsDev\PCBU\Ajax::remove_component_product_process()
S
55 3 19
get_component_filter()
S
58 3 16
WPAppsDev\PCBU\Assets::register_styles()
S
66 4 7
get_settings_pages_id()
S
63 3 12
WPAppsDev\PCBU\Admin\Product::display_pcbulider_settings_fields()
S
60 3 12
WPAppsDev\PCBU\Shortcodes\PcBuilders::render_shortcode()
S
61 3 12
get_required_component_list()
S
52 2 26
WPAppsDev\PCBU\Helper\BuilderManager::builder_actions()
S
50 1 33
wpadpcbu_meta()
S
65 3 9
WPAppsDev\PCBU\Assets::get_prefix()
S
74 3 4
WPAppsDev\PCBU\Component::change_term_order()
S
64 3 10
WPAppsDev_Pcbuilder::init_hooks()
S
60 2 12
WPAppsDev\PCBU\Helper\SavedConfigurationManager::count()
S
62 2 12
WPAppsDev\PCBU\FiltersGroup::get_filters_list_metabox_fields()
S
53 1 26
WPAppsDev\PCBU\Assets::get_scripts()
S
53 1 24
WPAppsDev\PCBU\Assets::get_styles()
S
54 1 24
WPAppsDev\PCBU\Admin\Product::get_features_fields()
S
56 1 21
WPAppsDev\PCBU\Admin\Settings::settings_sections()
S
55 1 21
WPAppsDev\PCBU\Component::__construct()
S
55 1 18
WPAppsDev\PCBU\Ajax::__construct()
S
56 1 18
wpadpcbu_allowed_html()
S
58 1 18
WPAppsDev\PCBU\Installer::create_configuration_table()
S
59 1 16
wpadpcbu_get_option()
S
69 2 7
wpadpcbu_array_insert_after()
S
68 2 6
WPAppsDev_Pcbuilder::activate()
S
64 2 9
WPAppsDev_Pcbuilder::declare_wc_hpos_compatibility()
S
71 2 5
WPAppsDev\PCBU\Helper\SearchManager::top_filter_enable()
S
68 2 7
WPAppsDev_Pcbuilder::init()
S
71 2 6
WPAppsDev_Pcbuilder::check_required_plugin()
S
70 2 6
wpadpcbu_page_link()
S
70 2 7
WPAppsDev_Pcbuilder::wpadpcbu_update_database()
S
68 2 7
WPAppsDev\PCBU\Helper\SavedConfigurationManager::pc_total()
S
68 2 7
WPAppsDev\PCBU\Helper\SearchManager::breadcrumb_enable()
S
68 2 7
WPAppsDev\PCBU\FiltersGroup::columns_data()
S
67 2 9
wpadpcbu_doing_it_wrong()
S
64 2 9
WPAppsDev_Pcbuilder::__isset()
S
78 2 3
WPAppsDev\PCBU\Assets::__construct()
S
66 2 8
get_search_page()
S
69 2 7
WPAppsDev\PCBU\Abstracts\WPAppsDevShortcode::__construct()
S
69 2 6
WPAppsDev\PCBU\Admin\Settings::get_pages_options()
S
66 2 8
WPAppsDev\PCBU\Frontend\CustomerDashboard::add_custom_endpoints()
S
67 2 8
WPAppsDev\PCBU\Helper\BuilderManager::redirect_checkout_enable()
S
68 2 7
WPAppsDev\PCBU\Helper\BuilderManager::breadcrumb_enable()
S
68 2 7
WPAppsDev_Pcbuilder::__get()
S
73 2 5
WPAppsDev_Pcbuilder::define()
S
75 2 5
WPAppsDev\PCBU\Helper\SavedConfigurationManager::single_pc()
S
63 2 10
get_builder_page()
S
69 2 7
WPAppsDev\PCBU\Helper\BuilderManager::get_builder_data()
S
68 2 7
WPAppsDev\PCBU\Helper\BuilderManager::actions_enable()
S
68 2 7
WPAppsDev\PCBU\FiltersGroup::__construct()
S
57 1 15
WPAppsDev\PCBU\Admin\Menu::admin_menu()
S
60 1 14
WPAppsDev\PCBU\Assets::enqueue_admin_scripts()
S
59 1 14
WPAppsDev\PCBU\Admin\Settings::admin_menu()
S
61 1 13
WPAppsDev\PCBU\Component::add_custom_columns()
S
62 1 11
WPAppsDev\PCBU\Shortcodes\PcBuilders::enqueue_scripts()
S
91 1 2
WPAppsDev\PCBU\Helper\SavedConfigurationManager::get_config_by_share_key()
S
67 1 7
WPAppsDev\PCBU\Frontend\CustomerDashboard::__construct()
S
67 1 7
WPAppsDev\PCBU\Admin::__construct()
S
74 1 5
WPAppsDev\PCBU\DynamicTaxonomy::__construct()
S
82 1 3
WPAppsDev\PCBU\Admin\Product::__construct()
S
70 1 5
WPAppsDev_Pcbuilder::includes()
S
91 1 2
WPAppsDev\PCBU\Frontend::__construct()
S
72 1 5
WPAppsDev\PCBU\Helper\SearchManager::start_range()
S
79 1 3
WPAppsDev\PCBU\Admin\Settings::settings_page()
S
69 1 8
WPAppsDev\PCBU\Abstracts\WPAppsDevShortcode::get_shortcode()
S
82 1 3
WPAppsDev_Pcbuilder::define_constants()
S
66 1 8
WPAppsDev\PCBU\Frontend::add_custom_css_code()
S
73 1 8
WPAppsDev\PCBU\Admin\Product::add_product_pcbuilder_metabox()
S
65 1 10
WPAppsDev_Pcbuilder::localization_setup()
S
77 1 3
wpadpcbu_process()
S
82 1 3
WPAppsDev\PCBU\Installer::do_install()
S
75 1 5
WPAppsDev\PCBU\Installer::flush_rewrite()
S
91 1 2
WPAppsDev\PCBU\Helper\BuilderManager::builder_title()
S
78 1 3
WPAppsDev\PCBU\FiltersGroup::display_component_filter_metabox()
S
77 1 4
WPAppsDev\PCBU\Abstracts\WPAppsDevShortcode::render_shortcode()
S
100 1 0
WPAppsDev\PCBU\Helper\BuilderManager::menu_title()
S
78 1 3
WPAppsDev\PCBU\Shortcodes\Shortcodes::get_shortcodes()
S
82 1 3
WPAppsDev\PCBU\Frontend\CustomerDashboard::add_custom_menu_items()
S
68 1 7
WPAppsDev\PCBU\Installer::create_tables()
S
76 1 4
WPAppsDev\PCBU\Shortcodes\PcBuildersSearch::enqueue_scripts()
S
91 1 2
WPAppsDev\PCBU\FiltersGroup::add_filter_groups_metaboxes()
S
66 1 9
WPAppsDev\PCBU\Helper\SearchManager::search_title()
S
71 1 5
WPAppsDev\PCBU\Helper\SearchManager::per_page()
S
79 1 3
WPAppsDev\PCBU\Assets::register_all_scripts()
S
69 1 7
WPAppsDev\PCBU\Shortcodes\Shortcodes::__construct()
S
70 1 6
WPAppsDev_Pcbuilder::wpdb_table_shortcuts()
S
76 1 4
WPAppsDev_Pcbuilder::plugin_action_links()
S
73 1 4
WPAppsDev\PCBU\Component::edit_form_custom_fields()
S
63 1 10
WPAppsDev\PCBU\Helper\SavedConfigurationManager::user_pcs()
S
67 1 7
WPAppsDev_Pcbuilder::init_plugin()
S
74 1 5
WPAppsDev\PCBU\Admin\Settings::__construct()
S
72 1 5
WPAppsDev_Pcbuilder::deactivate()
S
91 1 2
WPAppsDev\PCBU\Helper\BuilderManager::__construct()
S
91 1 2
WPAppsDev_Pcbuilder::__construct()
S
67 1 7
WPAppsDev\PCBU\Frontend\CustomerDashboard::add_custom_query_vars()
S
74 1 5
WPAppsDev\PCBU\Helper\SavedConfigurationManager::delete()
S
68 1 8
WPAppsDev\PCBU\Helper\BuilderManager::table_columns()
S
64 1 9
WPAppsDev\PCBU\Admin\Settings::settings_api_init()
S
75 1 5
wpadpcbu_get_template_html()
S
73 1 5
WPAppsDev\PCBU\Component::add_form_custom_fields()
S
81 1 3
WPAppsDev\PCBU\FiltersGroup::columns_title()
S
69 1 6
WPAppsDev\PCBU\Helper\SearchManager::__construct()
S
91 1 2
WPAppsDev_Pcbuilder::required_plugin_notice()
S
76 1 4
WPAppsDev\PCBU\Helper\SearchManager::end_range()
S
79 1 3
WPAppsDev\PCBU\Admin\Menu::__construct()
S
69 1 6