Code Analysis: WooCommerce Product Table Lite 3.9.7

Function Rating Maintainability Complexity Lines of code
wcpt_enqueue_scripts()
D
3
62 804
WC_Shortcode_Product_Table::parse_query_args()
D
10
85 329
wcpt_search()
D
16
47 308
WC_Shortcode_Product_Table::product_loop()
D
17
50 263
wcpt_update_table_data()
D
22
49 185
wcpt_process_cart_payload()
D
24
50 163
WC_Shortcode_Product_Table::parse_attributes()
D
22
41 199
WCPT_Taxonomy_Walker::start_el()
D
30 35 108
wcpt_check_sort_match()
D
38 34 59
wcpt_parse_style()
C
32 26 112
wcpt_update_settings_data()
C
32 25 102
wcpt_parse_style_2()
C
34 25 97
wcpt_update_user_filters()
B
39 21 69
wcpt_style_division()
B
34 17 109
wcpt_search_orderby()
B
38 19 67
wcpt_cart()
B
36 18 81
wcpt_get_sorting_html_classes()
B
43 20 48
wcpt_min_spec_warning()
B
33 13 146
wcpt_search__combine()
B
39 18 67
wcpt_search__query()
B
36 15 85
WCPT_Taxonomy_Walker::walk()
B
43 16 52
wcpt_parse_navigation()
B
37 14 79
wcpt_presets__duplicate_preset_to_table()
B
41 16 49
wcpt_parse_2()
B
43 16 47
wcpt_settings__search()
A
39 13 74
wcpt_elm_type_list()
A
39 13 70
wcpt_find_closests_matching_product_variation()
A
40 13 64
wcpt_shortcode_product_table()
A
42 14 49
wcpt_include_taxonomy_walker()
A
26
2 228
WCPT_Taxonomy_Walker::__construct()
A
45 14 44
wcpt_get_terms()
A
42 12 55
wcpt_clear_nav_filter()
A
48 13 34
wcpt_qv2_reset()
A
49 13 28
wcpt_get_archive_query_string()
A
45 12 41
wcpt_parse_elements_style()
A
44 11 45
wcpt_sc_error_checks()
A
47 11 39
wcpt_check_if_nav_has_filter()
A
52 12 23
wcpt_salient_qty_width_fix()
A
50 11 28
wcpt_get_table_query_string()
A
46 10 41
wcpt_add_to_cart()
A
44 9 48
wcpt_get_grouped_product_price()
A
46 9 37
wcpt_maybe_apply_sortby_relevance()
A
51 9 28
wcpt_parse_columns_style()
A
45 8 43
wcpt_get_nav_elms_ref()
A
51 9 27
wcpt_save_table_settings()
A
45 8 38
wcpt_get_the_browser()
A
53 9 23
wcpt_get_col_elms_ref()
A
53 9 23
wcpt_style__filter_heading_hover()
A
48 8 36
wcpt_get_variations()
A
49 8 30
wcpt_redirect_to_table_editor()
A
57 9 15
wcpt_icon()
A
50 8 28
wcpt_editor_page()
A
38 4 83
wcpt_device_columns_empty()
A
55 8 22
wcpt_presets__set_preset_required_meta_flag()
A
55 8 20
wcpt_react_app_get_product_taxonomies()
A
48 7 33
WC_Shortcode_Product_Table::ensure_device()
S
52 7 25
wcpt_get_translation()
S
52 7 24
wcpt_get_nav_filter()
S
54 7 23
wcpt_ajax()
S
53 7 21
wcpt_content__max_width()
S
56 7 18
wcpt_include_new_child_categories()
S
57 7 16
wcpt__woocommerce_add_error()
S
51 6 28
wcpt_get_product_custom_fields()
S
51 6 27
wcpt_print_license_key_markup()
S
46 4 54
wcpt_get_column_sort_filter_info()
S
53 6 21
wcpt_ensure_default_settings()
S
39 2 81
wcpt_get_settings_data()
S
56 6 19
wcpt_is_template_empty()
S
57 6 18
wcpt_get_column_sorting_info()
S
57 6 16
wcpt_navigation_filter()
S
49 5 31
wcpt_insert_import_export_markup()
S
52 5 30
wcpt_settings_page()
S
52 5 28
wcpt_style__search_bar_width()
S
60 6 13
wcpt_include_descendant_slugs()
S
52 5 28
wcpt_correct_menu_highlight()
S
61 6 12
wcpt_preset__maybe_display_message()
S
48 4 39
wcpt_get_device()
S
57 5 18
wcpt_get_all_image_sizes()
S
57 5 16
wcpt_get_table_data()
S
58 5 15
wcpt_get_cart_item_quantity()
S
59 5 15
wcpt_lite_auto_scroll()
S
60 5 15
WC_Shortcode_Product_Table::lazy_load()
S
58 5 15
wcpt_new_ids()
S
59 5 13
wcpt_is_default_relabel()
S
61 5 12
wcpt_product_cat_options_walker()
S
53 4 27
wcpt_parse_media_query_toggle()
S
49 3 39
wcpt_simulate_get_products()
S
52 4 24
wcpt_price_decimal()
S
54 4 22
wcpt_presets__get_grid_markup()
S
47 2 50
wcpt_get_attribute_terms_ajax()
S
55 4 20
WC_Shortcode_Product_Table::get_products()
S
56 4 18
wcpt_get_product_terms_by_menu_order()
S
57 4 17
WC_Shortcode_Product_Table::get_transient_name()
S
56 4 17
wcpt_extract_id_from_shortcode()
S
59 4 16
wcpt_get_terms_ajax()
S
50 3 31
wcpt_get_price_to_display()
S
52 3 31
wcpt_find_matching_product_variation()
S
58 4 15
wcpt_esc_attr()
S
64 5 9
wcpt_enqueue_admin_scripts()
S
48 3 29
wcpt_table_inherit_columns()
S
60 4 14
wcpt_duplicate_post_link()
S
60 4 13
wcpt_decrypt()
S
60 4 12
wcpt_is_incomplete_variation()
S
62 4 11
wcpt_get_post_meta_min_max()
S
52 3 26
wcpt_get_cheapest_variation()
S
63 4 11
wcpt_safari_dollar_fix()
S
63 4 11
wcpt_get_most_expensive_variation()
S
63 4 11
wcpt_sortby_get_matching_option_index()
S
64 4 11
wcpt_react_app_format_term_with_children()
S
54 3 22
wcpt_react_app_get_product_tables_select_options()
S
55 3 21
wcpt_variation_table_override_params()
S
44 1 50
wcpt_console_log()
S
59 3 18
wcpt_qv2_admin_enqueue()
S
55 3 18
wcpt_price()
S
56 3 18
wcpt_general_placeholders__print_placeholders()
S
53 2 33
wcpt_react_app_get_product_authors()
S
57 3 18
wcpt_react_app_get_taxonomy_terms_with_children()
S
58 3 17
wcpt_get_product_form()
S
58 3 16
wcpt_print_icon_dopdown()
S
57 3 16
wcpt_refresh_custom_fields()
S
64 4 10
wcpt_encrypt()
S
62 4 10
wcpt_preset__is_table_editor_page()
S
70 4 6
wcpt_relabel_items()
S
64 4 10
wcpt_cull_query_vars()
S
65 4 9
wcpt_get_product_details_in_cart_including_variations()
S
60 3 14
wcpt_parse_custom_css()
S
50 2 29
wcpt_save_global_settings()
S
59 3 13
WC_Shortcode_Product_Table::nav_later()
S
60 3 13
wcpt_item_styles()
S
60 3 13
wcpt_all_variations_out_of_stock()
S
61 3 13
wcpt_parse_ctx_2()
S
61 3 13
wcpt_get_shop_table_id()
S
62 3 12
wcpt_get_current_product_index()
S
62 3 12
wcpt_register_post_type()
S
47 1 39
wcpt_presets_enqueue_scripts()
S
56 2 20
wcpt_get_table_id_from_name()
S
58 2 17
wcpt_get_device_columns()
S
69 3 6
wcpt_style_prop_val_filter()
S
69 3 6
wcpt_get_current_sorting()
S
67 3 7
wcpt_preset__required()
S
65 3 9
wcpt_set_shortcode_column()
S
64 3 10
wcpt_get_shortcode_element_manager()
S
67 3 7
wcpt_module_is_disabled()
S
66 3 9
wcpt_get_default_variation()
S
63 3 10
wcpt_get_template_from_theme()
S
67 3 8
wcpt_get_device_columns_2()
S
69 3 6
wcpt_suggest_uninstall_lite()
S
63 3 10
wcpt_paginate_links()
S
64 3 9
wcpt_pro_option()
S
62 2 13
wcpt_set_permitted_shortcode_attributes()
S
53 1 27
wcpt_woo_hack_invoke_private_method()
S
60 2 12
wcpt_shortcode_column()
S
64 2 11
wcpt_corner_options()
S
56 1 22
wcpt_hook_menu_pages()
S
65 2 8
wcpt_addons_page()
S
71 2 6
wcpt_truncate_string()
S
66 2 8
wcpt_get_navigation_elements()
S
71 2 6
wcpt_pro_badge()
S
73 2 7
wcpt_general_placeholders__parse()
S
69 2 7
wcpt_whitelist_url_params_php()
S
69 2 7
wcpt_pro_checkbox()
S
67 2 9
wcpt_woocommerce_available_variation_filter()
S
67 2 7
wcpt_pro_radio()
S
67 2 9
wcpt_compatibility__woocommerce_product_search()
S
71 2 6
wcpt_get_column_elements()
S
71 2 6
WC_Shortcode_Product_Table::get_cache()
S
71 2 6
wcpt_jupiter_remove_image_regen_handler()
S
70 2 6
wcpt_pro_cover()
S
74 2 5
wcpt_remove_product_table_shortcode()
S
70 2 6
wcpt_get_column_by_index()
S
67 2 8
wcpt_lightspeed_cache_compatibility_fix()
S
73 2 5
WC_Shortcode_Product_Table::set_cache()
S
71 2 6
wcpt_shortcode_attributes__use_default_search()
S
67 2 8
wcpt_get_product_form_modal()
S
68 2 7
wcpt_whitelist_url_params_js()
S
70 2 6
wcpt_clear_product_transients()
S
73 2 5
wcpt_row_buttons()
S
70 2 6
wcpt_print_styles()
S
61 1 12
WC_Shortcode_Product_Table::get_content()
S
81 1 3
wcpt_shortcode_column_sortable()
S
77 1 4
wcpt_esc_tag()
S
78 1 3
wcpt_admin_print_scripts()
S
68 1 10
WCPT_Taxonomy_Walker::end_lvl()
S
82 1 3
wcpt_activate()
S
79 1 4
wcpt_search_args__use_default_search()
S
77 1 4
WC_Shortcode_Product_Table::__construct()
S
76 1 4
wcpt_cart_widget()
S
80 1 3
wcpt_get_cart()
S
81 1 3
wcpt_get_icon()
S
72 1 5
WCPT_Taxonomy_Walker::end_el()
S
82 1 3
wcpt_exclude_selectors_from_prefetch()
S
72 1 6
wcpt_jupiter_reattach_image_regen_handler()
S
79 1 3
wcpt_custom_shortcode_textarea()
S
70 1 9
wcpt_is_plugin_active()
S
78 1 3
wcpt_load_textdomain()
S
78 1 3
wcpt_woocommerce_photoswipe()
S
82 1 3
wcpt_do_inner_shortcode()
S
76 1 4
WCPT_Taxonomy_Walker::start_lvl()
S
82 1 3
wcpt_how_to_use_link()
S
71 1 8
WC_Shortcode_Product_Table::get_nav_markup()
S
80 1 3
wcpt_collect_disabled_modules()
S
76 1 4