Code Analysis: Smart Wishlist For More Convert 1.0.0

Function Rating Maintainability Complexity Lines of code
WLFMC_Frontend::build_custom_css()
D
19
54 254
WLFMC_Offer_Emails::add_emails()
D
31 42 87
WLFMC_Wishlist_Item_Data_Store::query()
D
28
38 122
WLFMC_Shortcode::add_to_wishlist()
D
25
36 147
WLFMC_Admin::__construct()
D
13
2 641
WLFMC_Wishlist_Data_Store::query()
D
27
34 139
WLFMC_Form_Handler::apply_bulk_actions()
C
33 31 85
MCT_Fields::output()
C
34 28 90
WLFMC_Shortcode::wishlist()
C
28
19 144
WLFMC_Form_Handler::add_all_to_cart()
B
39 18 62
WLFMC_Offer_Emails::get_default_content()
B
33 10 174
WLFMC_Wishlist_Data_Store::create()
B
36 16 76
WLFMC_Wishlist_Data_Store::get_default_wishlist()
A
45 16 41
WLFMC_Ajax_Handler::add_to_wishlist()
A
40 13 57
WLFMC_Wishlist_Item_Data_Store::query_products()
A
41 13 57
MCT_Fields::print_field()
A
45 14 37
WLFMC_Wishlist_Data_Store::read_items()
A
42 13 52
WLFMC_Wishlist_Factory::get_current_wishlist()
A
46 14 35
MCT_Admin::save_option()
A
46 13 36
WLFMC::add()
A
41 12 50
WLFMC::get_wishlist_url()
A
47 12 33
MCT_Admin::enqueue_admin_js()
A
40 10 60
MCT_Fields::print_field_repeator()
A
47 12 29
WLFMC_Frontend::alter_add_to_cart_url()
A
47 11 35
WLFMC_Frontend::add_button()
A
40 8 71
WLFMC_Wishlist_Data_Store::read()
A
45 10 39
WLFMC_Wishlist_Data_Store::update()
A
42 9 53
WLFMC_Wishlist_Data_Store::update_raw()
A
49 10 29
WLFMC_Wishlist_Item_Data_Store::update_raw()
A
49 10 29
WLFMC::add_rewrite_rules()
A
51 10 24
WLFMC_Offer_Emails::send_email()
A
39 7 66
WLFMC_Wishlist_Data_Store::clear_caches()
A
52 9 25
WLFMC_Form_Handler::remove_from_wishlist_after_add_to_cart()
A
52 9 24
WLFMC_Wishlist_Item_Data_Store::create()
A
42 7 50
WLFMC_Wishlist_Data_Store::delete()
A
48 8 34
WLFMC_Ajax_Handler::update_quantity()
A
54 9 19
WLFMC_Frontend::format_fragment_options()
A
49 8 30
WLFMC_Wishlist::is_current_user_owner()
A
59 9 14
WLFMC::remove()
A
49 8 29
WLFMC_Wishlist_Item_Data_Store::count_times_added()
A
47 7 38
WLFMC_Session::init_session_cookie()
A
56 8 17
WLFMC_Wishlist_Item::get_price_variation()
A
49 7 31
WLFMC_Wishlist::__construct()
S
50 7 27
WLFMC_Wishlist_Item_Data_Store::update()
S
46 6 40
WLFMC_Ajax_Handler::refresh_fragments()
S
53 7 23
WLFMC_Session::get_session_cookie()
S
53 7 23
WLFMC_Wishlist_Factory::get_wishlist_item()
S
56 7 19
WLFMC_Wishlist::current_user_can()
S
56 7 17
wlfmc_get_template_part()
S
50 6 31
wlfmc_get_privacy_label()
S
50 6 29
WLFMC_Wishlist_Data_Store::search_users()
S
45 5 43
WLFMC::can_user_add_to_wishlist()
S
60 7 11
WLFMC_Frontend::_convert_cookies_to_session()
S
53 6 23
WLFMC_Wishlist_Data_Store::assign_to_user()
S
47 5 35
WLFMC_Cron::send_offer_emails()
S
55 6 18
WLFMC_Wishlist_Item::__construct()
S
57 6 17
WLFMC_Wishlist::has_privacy()
S
58 6 16
MCT_Fields::__construct()
S
63 7 9
WLFMC_Wishlist_Data_Store::generate_default_wishlist()
S
58 6 15
WLFMC_Session::finalize_session()
S
55 5 21
WLFMC_Ajax_Handler::delete_item()
S
55 5 19
WLFMC_Form_Handler::add_to_wishlist()
S
55 5 17
wlfmc_wishlist_install()
S
49 4 32
MCT_Admin::get_main_key_options()
S
57 5 17
WLFMC_Frontend::_update_cookies()
S
57 5 17
WLFMC_Wishlist::map_legacy_offsets()
S
58 5 16
WLFMC::get_pll_wishlist_url()
S
57 5 16
MCT_Fields::html_data_to_string()
S
57 5 16
wlfmc_get_template()
S
60 5 14
WLFMC_Frontend::decode_fragment_options()
S
59 5 14
wlfmc_get_option()
S
60 5 13
MCT_Options::get_option()
S
61 5 12
WLFMC_Admin::snackbar_style()
S
57 1 71
wlfmc_get_hidden_products()
S
49 3 33
WLFMC_Offer_Emails::add_coupon()
S
45 2 47
WLFMC_Admin::admin_enqueue_scripts()
S
55 4 17
WLFMC_Wishlist::add_product()
S
57 4 17
WLFMC::get_current_user_wishlists()
S
57 4 17
WLFMC_Wishlist_Data_Store::generate_slug()
S
57 4 17
WLFMC_Offer_Emails::delete_expired_coupons()
S
50 3 31
MCT_Fields::get_field_option()
S
72 5 4
WLFMC::add_wishlist()
S
63 5 10
wlfmc_object_id()
S
58 4 15
WLFMC_Wishlist_Item::get_product_price()
S
60 4 13
WLFMC_Wishlist::save_items()
S
62 4 12
wlfmc_setcookie()
S
61 4 11
WLFMC_Cron::schedule()
S
62 4 11
WLFMC_Wishlist_Item_Data_Store::read()
S
51 3 26
wlfmc_uninstall()
S
57 3 16
wlfmc_locate_template()
S
58 3 16
MCT_Fields::print_table_fields()
S
59 3 16
WLFMC_Session::set_session_cookie()
S
57 3 16
WLFMC_Admin::install()
S
64 4 10
WLFMC_Wishlist_Item::set_on_sale()
S
69 4 6
MCT_Admin::__construct()
S
67 4 7
WLFMC_Admin::message()
S
57 3 15
WLFMC_Frontend::add_noindex_header()
S
69 4 6
WLFMC_Ajax_Handler::remove_from_wishlist()
S
58 3 15
WLFMC_Frontend::build_css_rule()
S
72 4 4
WLFMC_Form_Handler::process_form_handling()
S
66 4 7
wlfmc_get_privacy_value()
S
61 3 14
WLFMC_Offer_Emails::generate_coupon_code()
S
58 3 14
WLFMC_Wishlist_Data_Store::generate_token()
S
58 3 14
WLFMC_Wishlist_Data_Store::should_be_default()
S
59 3 14
wlfmc_is_single()
S
63 3 12
WLFMC_Wishlist::save()
S
62 3 12
WLFMC_Wishlist_Factory::get_wishlist()
S
62 3 11
WLFMC_Install::_add_items_table()
S
56 2 23
WLFMC_Frontend::get_localize()
S
46 1 38
WLFMC_Cron::get_crons()
S
55 2 22
WLFMC_Install::_add_wishlists_table()
S
57 2 21
WLFMC_Install::_add_offer_table()
S
58 2 20
WLFMC::__construct()
S
57 2 16
WLFMC_Form_Handler::init()
S
59 2 16
WLFMC::get_add_to_wishlist_url()
S
58 2 16
WLFMC_Frontend::add_nocache_headers()
S
73 3 5
WLFMC_Wishlist::add_item()
S
65 3 9
WLFMC_Frontend::add_noindex_robots()
S
69 3 6
WLFMC_Wishlist::offsetSet()
S
65 3 9
WLFMC_Wishlist::offsetUnset()
S
66 3 9
WLFMC_Frontend::register_styles_and_stuffs()
S
63 3 8
WLFMC_Wishlist_Item::map_legacy_offsets()
S
65 3 9
WLFMC_Wishlist_Item::get_formatted_product_price()
S
68 3 6
WLFMC_Offer_Emails::check_for_delete_queue()
S
70 3 6
WLFMC_Frontend::_destroy_serialized_cookies()
S
68 3 7
WLFMC_Wishlist_Item::get_date_added()
S
66 3 8
WLFMC_Wishlist_Item::get_date_added_formatted()
S
67 3 8
WLFMC_Wishlist_Item::offsetUnset()
S
66 3 9
WLFMC_Wishlist_Item::get_original_currency()
S
68 3 7
wlfmc_is_mobile()
S
74 3 4
wlfmc_wpml_object_id()
S
65 3 9
log_me()
S
69 3 7
WLFMC_Form_Handler::remove_from_wishlist()
S
65 3 9
WLFMC_Wishlist_Item::set_wishlist_id()
S
68 3 7
WLFMC_Wishlist::get_formatted_name()
S
67 3 7
WLFMC_Session::get_session_id()
S
66 3 9
WLFMC_Wishlist::get_date_added()
S
68 3 7
WLFMC_Wishlist::get_date_added_formatted()
S
67 3 8
WLFMC_Wishlist::get_expiration()
S
68 3 7
WLFMC_Wishlist::get_expiration_formatted()
S
67 3 8
WLFMC_Wishlist_Item::get_product()
S
66 3 9
WLFMC_Wishlist_Item::offsetSet()
S
65 3 9
WLFMC_Wishlist::get_items()
S
64 3 10
WLFMC_Frontend::add_body_class()
S
65 3 9
WLFMC_Session::update_session_timestamp()
S
61 2 13
WLFMC::get_product_details()
S
63 2 12
WLFMC_Wishlist_Item_Data_Store::delete()
S
61 2 12
WLFMC_Offer_Emails::insert_email()
S
55 1 23
WLFMC_Frontend::__construct()
S
57 1 18
WLFMC_Wishlist_Item_Data_Store::clear_cache()
S
66 2 8
WLFMC_Session::use_secure_cookie()
S
78 2 3
WLFMC_Wishlist_Item::get_formatted_product_name()
S
69 2 7
WLFMC_Wishlist::remove_product()
S
65 2 9
WLFMC_Frontend::enqueue_styles_and_stuffs()
S
69 2 7
WLFMC_Cron::get_instance()
S
72 2 6
wlfmc_is_wishlist_page()
S
69 2 7
WLFMC_Wishlist_Item::get_wishlist_token()
S
69 2 7
wlfmc_str_contains()
S
78 2 3
WLFMC_Wishlist_Factory::get_wishlist_items_count()
S
63 2 10
WLFMC_Cron::delete_expired_coupons()
S
70 2 7
wlfmc_getcookie()
S
70 2 6
WLFMC_Session::maybe_get_session_id()
S
72 2 6
WLFMC_Admin::get_message()
S
68 2 7
WLFMC_Offer_Emails::get_instance()
S
72 2 6
WLFMC_Wishlist::get_url()
S
69 2 7
WLFMC_Session::get_instance()
S
72 2 6
WLFMC::generate_default_wishlist()
S
69 2 7
WLFMC_Wishlist::offsetExists()
S
67 2 8
MCT_Fields::get_instance()
S
72 2 6
WLFMC::get_last_operation_url()
S
68 2 7
WLFMC_Wishlist::get_product()
S
66 2 8
WLFMC_Session::get_session_cookie_name()
S
70 2 6
WLFMC_Session::get_session_expiration()
S
70 2 7
WLFMC_Wishlist_Factory::get_wishlists()
S
63 2 10
WLFMC_Wishlist_Factory::get_default_wishlist()
S
64 2 9
WLFMC_Wishlist_Item::get_wishlist_name()
S
69 2 7
WLFMC_Admin::get_instance()
S
72 2 6
WLFMC_Frontend::print_button()
S
70 2 6
WLFMC_Wishlist::set_prop()
S
70 2 6
WLFMC_Cron::delete_expired_wishlists()
S
70 2 7
WLFMC_Wishlist_Item_Data_Store::filter_orderby_for_wishlist_count()
S
73 2 4
WLFMC_Wishlist::get_total()
S
66 2 8
WLFMC_Wishlist_Item::offsetExists()
S
67 2 8
WLFMC_Wishlist_Factory::generate_wishlist_token()
S
67 2 8
WLFMC_Wishlist::get_item()
S
68 2 7
WLFMC::is_product_in_wishlist()
S
68 2 7
WLFMC_Wishlist_Item::offsetGet()
S
67 2 8
WLFMC_Wishlist_Factory::get_wishlist_items()
S
63 2 10
WLFMC_Exception::getTextualCode()
S
69 2 7
WLFMC_Wishlist_Factory::get_times_current_user_added_count()
S
64 2 9
WLFMC_Wishlist_Factory::get_wishlist_users()
S
63 2 10
MCT_Admin::get_instance()
S
72 2 6
WLFMC_Admin::add_display_post_states()
S
70 2 6
WLFMC_Wishlist_Item::get_user()
S
68 2 7
WLFMC_Wishlist_Item::get_wishlist()
S
69 2 7
WLFMC_Frontend::get_instance()
S
72 2 6
WLFMC_Install::get_instance()
S
72 2 6
WLFMC_Wishlist::remove_item()
S
65 2 9
WLFMC_Wishlist_Item::get_original_price()
S
65 2 9
WLFMC_Wishlist_Factory::get_times_added_count()
S
64 2 9
WLFMC_Wishlist::offsetGet()
S
67 2 8
WLFMC_Ajax_Handler::load_fragments()
S
66 2 8
WLFMC::get_instance()
S
72 2 6
WLFMC_Wishlist_Item::get_wishlist_slug()
S
69 2 7
WLFMC_Session::generate_session_id()
S
66 2 8
WLFMC_Wishlist_Item::set_product_id()
S
68 2 7
WLFMC_Wishlist_Factory::get_wishlist_item_by_product_id()
S
69 2 7
WLFMC_Wishlist_Factory::get_wishlists_count()
S
63 2 10
WLFMC_Admin::show_panel()
S
62 1 14
WLFMC_Admin::add_admin_menu()
S
62 1 12
WLFMC_Ajax_Handler::init()
S
61 1 12
WLFMC::get_wishlist_page_id()
S
73 1 5
WLFMC_Offer_Emails()
S
82 1 3
WLFMC_Wishlist::has_item()
S
78 1 3
wlfmc_install_woocommerce_admin_notice()
S
70 1 7
WLFMC_Wishlist::set_slug()
S
78 1 3
WLFMC_Install::init()
S
75 1 5
WLFMC_Wishlist_Item::get_quantity()
S
78 1 3
WLFMC::generate_wishlist_token()
S
81 1 3
WLFMC_Wishlist_Item::is_on_sale()
S
79 1 3
WLFMC::get_remove_url()
S
79 1 3
WLFMC_Wishlist_Data_Store::delete_items()
S
72 1 5
WLFMC_Frontend::restore_add_to_cart_button()
S
79 1 3
WLFMC_Wishlist_Item_Data_Store::count_products()
S
80 1 3
WLFMC_Wishlist_Item::set_original_currency()
S
80 1 3
WLFMC_Frontend::dashboard_wishlist_link()
S
73 1 4
WLFMC_Install::_add_tables()
S
75 1 5
WLFMC_Wishlist::get_privacy()
S
79 1 3
WLFMC_Wishlist::get_is_default()
S
79 1 3
WLFMC_Wishlist_Item::get_product_id()
S
78 1 3
WLFMC_Wishlist_Item::set_original_price()
S
80 1 3
WLFMC_Wishlist_Data_Store::count()
S
80 1 3
WLFMC_Wishlist_Item::get_position()
S
79 1 3
WLFMC_Wishlist::set_date_added()
S
80 1 3
MCT_Options::__construct()
S
79 1 3
WLFMC_Session::has_session()
S
82 1 3
WLFMC_Shortcode::init()
S
75 1 4
WLFMC_Wishlist_Item::get_origin_wishlist_id()
S
80 1 3
WLFMC_Wishlist_Item::set_date_added()
S
80 1 3
WLFMC_Wishlist_Data_Store::slug_exists()
S
71 1 5
MCT_Admin::get_options()
S
79 1 3
WLFMC_Wishlist::set_user_id()
S
80 1 3
WLFMC_Wishlist_Item::get_user_id()
S
79 1 3
WLFMC_Wishlist::is_default()
S
81 1 3
WLFMC_Install::register_current_version()
S
71 1 6
WLFMC_Wishlist::has_owner()
S
80 1 3
WLFMC_Frontend::wlfmc_wishlist_endpoint_content()
S
80 1 3
WLFMC_Wishlist::set_name()
S
80 1 3
wlfmc_get_wishlist()
S
81 1 3
WLFMC_Frontend::enqueue_scripts()
S
74 1 5
WLFMC_Install::__construct()
S
65 1 9
WLFMC_Wishlist::has_items()
S
76 1 4
wlfmc_is_wishlist()
S
79 1 4
WLFMC_Frontend::init()
S
73 1 6
WLFMC()
S
82 1 3
WLFMC_Wishlist_Item::get_original_product_id()
S
79 1 3
WLFMC_Wishlist_Item::set_user_id()
S
80 1 3
wlfmc_activation_function()
S
83 1 3
WLFMC_Wishlist::set_token()
S
80 1 3
WLFMC::is_multi_wishlist_enabled()
S
82 1 3
WLFMC::add_public_query_var()
S
74 1 5
WLFMC_Wishlist::set_session_id()
S
80 1 3
WLFMC_Wishlist_Data_Store::delete_expired()
S
72 1 5
wlfmc_destroycookie()
S
79 1 3
mct_option_plugin_loader()
S
74 1 5
WLFMC_Install::_add_pages()
S
67 1 8
WLFMC_Wishlist_Item::set_position()
S
79 1 3
WLFMC_Wishlist::get_token()
S
82 1 3
WLFMC_Wishlist::set_is_default()
S
80 1 3
WLFMC::get_available_views()
S
79 1 3
WLFMC_Cron::__construct()
S
79 1 3
MCT_Fields::get_option()
S
80 1 3
WLFMC_Offer_Emails::delete_email_queue()
S
75 1 4
WLFMC::get_products()
S
80 1 3
WLFMC_Frontend()
S
82 1 3
WLFMC_Wishlist::has_product()
S
74 1 4
WLFMC_Wishlist_Factory::generate_default_wishlist()
S
79 1 3
WLFMC_Session::__construct()
S
75 1 4
WLFMC::remove_wishlist()
S
83 1 3
WLFMC_Wishlist_Item::set_quantity()
S
80 1 3
WLFMC_Offer_Emails::set_notsent()
S
66 1 9
WLFMC_Wishlist::count_items()
S
80 1 3
WLFMC_Install()
S
82 1 3
WLFMC_Wishlist::get_session_id()
S
79 1 3
WLFMC::get_wishlist_detail()
S
80 1 3
WLFMC_Offer_Emails::set_sent()
S
66 1 9
WLFMC::get_wishlist_detail_by_token()
S
80 1 3
WLFMC::update_wishlist()
S
83 1 3
WLFMC_Frontend::alter_add_to_cart_button()
S
78 1 3
WLFMC::register_data_stores()
S
73 1 5
WLFMC_Wishlist::get_name()
S
78 1 3
WLFMC_Wishlist_Item_Data_Store::filter_join_for_wishlist_count()
S
72 1 5
WLFMC::count_users_with_wishlists()
S
79 1 3
WLFMC_Admin()
S
82 1 3
WLFMC_Wishlist_Item_Data_Store::count()
S
80 1 3
WLFMC_Session()
S
82 1 3
WLFMC_Session::forget_session()
S
73 1 5
wlfmc_get_cookie_expiration()
S
78 1 3
WLFMC::get_users_with_wishlist()
S
80 1 3
WLFMC_Offer_Emails::__construct()
S
71 1 5
WLFMC_Session::set_session_expiration()
S
75 1 4
WLFMC_Wishlist::get_share_url()
S
79 1 3
WLFMC_Wishlist_Item::get_wishlist_id()
S
79 1 3
WLFMC_Install::is_installed()
S
71 1 5
WLFMC_Frontend::add_endpoint()
S
80 1 3
WLFMC_Wishlist::set_expiration()
S
80 1 3
WLFMC_Wishlist::is_session_based()
S
80 1 3
WLFMC_Offer_Emails::get_email_queue()
S
74 1 4
wlfmc_get_current_url()
S
74 1 4
WLFMC_Wishlist::get_slug()
S
79 1 3
WLFMC_Offer_Emails::get_count_send_queue()
S
75 1 4
WLFMC::get_wishlists()
S
80 1 3
WLFMC_Cron()
S
82 1 3
WLFMC_Wishlist::get_user_id()
S
79 1 3
WLFMC_Wishlist::set_privacy()
S
80 1 3
WLFMC_Wishlist::get_formatted_privacy()
S
72 1 5