Code Analysis: Product Catalog Sync for WooCommerce 1.2.2

Function Rating Maintainability Complexity Lines of code
Webtoffee_Product_Feed_Sync_Admin::render()
D
23
24 244
WT_Fb_Catalog_Manager_Settings::get_fb_categories()
D
12
2 538
Webtoffee_Product_Feed_Sync_Admin::wt_fbfeed_ajax_upload()
B
34 15 89
WT_Facebook_Catalog_Product::prepare_variants_for_item()
A
41 15 59
WT_Facebook_Catalog_Product::prepare_product()
A
43 11 44
ProductFeed_Uninstall_Feedback::deactivate_scripts()
A
38 3 127
Webtoffee_Product_Feed_Sync_Admin::list_batch_logs()
A
42 6 69
Webtoffee_Product_Feed_Sync_Review_Request::check_condition()
S
55 7 19
WT_Facebook_Catalog_Product::get_checkout_url()
S
50 6 31
WT_Facebook_Catalog_Product::get_product_description()
S
61 7 12
wt_fbfeed_render_categories()
S
46 5 42
wt_fbfeed_render_attributes()
S
46 5 41
Webtoffee_Product_Feed_Sync_Admin::wt_fbfeed_attribute_mapping()
S
52 6 22
Webtoffee_Product_Feed_Sync_Admin::wt_fbfeed_category_mapping()
S
52 6 22
WT_Fb_Catalog_Manager_Settings::wt_fbfeed_category_mapping()
S
52 6 22
ProductFeed_Uninstall_Feedback::send_uninstall_reason()
S
47 5 34
Webtoffee_Product_Feed_Sync_Review_Request::process_user_action()
S
56 6 18
WT_Facebook_Catalog_Product::sanitize_variant_name()
S
57 6 17
WT_Facebook_Catalog_Product::get_product_categories()
S
54 5 21
Webtoffee_Product_Feed_Sync_Admin::wt_fbfeed_ajax_save_category()
S
53 5 21
Webtoffee_Product_Feed_Sync_Admin::wt_fbfeed_batch_status()
S
55 5 17
wt_fb_attribute_dropdown()
S
57 5 15
wt_fb_category_dropdown()
S
57 5 15
WT_Facebook_Catalog_Product::prepare_additional_product_data()
S
59 5 13
WT_Facebook_Catalog_Product::is_all_caps()
S
60 5 13
WT_Fb_Catalog_Manager_Settings::wt_fbfeed_process_upload()
S
48 3 33
WT_Facebook_Catalog_Product::prepare_brand()
S
57 4 17
WT_Facebook_Catalog_Product::add_sale_price()
S
56 4 16
WT_Facebook_Catalog_Product::get_all_image_urls()
S
60 4 14
WT_Facebook_Catalog_Product::get_price_plus_tax()
S
61 4 11
Webtoffee_Product_Feed_Sync_Admin::enqueue_scripts()
S
53 3 21
ProductFeed_Uninstall_Feedback::get_uninstall_reasons()
S
46 1 47
Webtoffee_Product_Feed_Sync_Review_Request::add_banner_scripts()
S
50 1 46
WT_Facebook_Catalog_Product::process_item_update()
S
58 3 16
Webtoffee_Product_Feed_Sync_Admin::wt_log_data_change()
S
61 3 13
Webtoffee_Product_Feed_Sync_Admin::get_tabs()
S
62 3 11
WT_Fb_Catalog_Manager_Settings::get_all_wc_attributes()
S
62 3 11
Webtoffee_Product_Feed_Sync_Admin::get_external_business_id()
S
62 3 11
Webtoffee_Product_Feed_Sync_Review_Request::show_banner()
S
56 2 24
wt_fbfeed_category_form_fields()
S
58 2 19
Webtoffee_Product_Feed_Sync_Admin::handle_disconnect()
S
55 2 19
wt_fbfeed_category_form_save()
S
65 3 9
WT_Facebook_Catalog_Product::get_variant_option_name()
S
68 3 6
Webtoffee_Product_Feed_Sync_Admin::get_business_name()
S
65 3 8
WT_Facebook_Catalog_Product::make_url()
S
67 3 7
Webtoffee_Product_Feed_Sync_Admin::enqueue_styles()
S
68 3 6
Webtoffee_Product_Feed_Sync_Loader::run()
S
66 3 8
Webtoffee_Product_Feed_Sync_Review_Request::__construct()
S
58 2 14
Webtoffee_Product_Feed_Sync::__construct()
S
61 2 13
Webtoffee_Product_Feed_Sync_Admin::add_productfeed_action_links()
S
60 2 12
Webtoffee_Product_Feed_Sync_Admin::get_connect_parameters_extras()
S
58 1 17
Webtoffee_Product_Feed_Sync_Admin::get_timezone_string()
S
66 2 8
WT_Facebook_Catalog_Product::get_store_name()
S
75 2 4
WT_Facebook_Catalog_Product::get_fb_retailer_id()
S
71 2 5
WT_Facebook_Catalog_Product::is_variable_type()
S
78 2 3
Webtoffee_Product_Feed_Sync_Admin::wt_get_wc_path()
S
67 2 8
Webtoffee_Product_Feed_Sync_Admin::get_percent_complete()
S
77 2 3
Webtoffee_Product_Feed_Sync_Admin::get_product_categories()
S
65 2 9
WT_Facebook_Catalog_Product::is_variation_type()
S
78 2 3
wt_schedule_midnight_sync()
S
72 2 5
Webtoffee_Product_Feed_Sync_Admin::get_product_tags()
S
63 2 10
Webtoffee_Product_Feed_Sync_Review_Request::set_vars()
S
63 2 10
Webtoffee_Product_Feed_Sync_Review_Request::on_activate()
S
74 2 5
WT_Facebook_Catalog_Product::get_inventory()
S
65 2 9
Webtoffee_Product_Feed_Sync::load_dependencies()
S
60 1 14
Webtoffee_Product_Feed_Sync::define_admin_hooks()
S
61 1 11
Webtoffee_Product_Feed_Sync_Admin::get_connect_parameters()
S
62 1 11
Webtoffee_Product_Feed_Sync_Admin::__construct()
S
77 1 4
WT_Fb_Catalog_Manager_Settings::load_attributes()
S
75 1 4
Webtoffee_Product_Feed_Sync::set_locale()
S
75 1 4
Webtoffee_Product_Feed_Sync_Activator::activate()
S
89 1 2
Webtoffee_Product_Feed_Sync_Admin::is_connected()
S
80 1 3
Webtoffee_Product_Feed_Sync_Public::enqueue_scripts()
S
91 1 2
Webtoffee_Product_Feed_Sync_Admin::update_fb_catalog_id()
S
80 1 3
Webtoffee_Product_Feed_Sync_Loader::__construct()
S
77 1 4
WT_Facebook_Catalog_Product::prepare_product_data()
S
72 1 5
Webtoffee_Product_Feed_Sync::get_loader()
S
82 1 3
Webtoffee_Product_Feed_Sync::get_plugin_name()
S
82 1 3
WT_Facebook_Catalog_Product::__construct()
S
78 1 3
Webtoffee_Product_Feed_Sync_Admin::update_fb_access_token()
S
80 1 3
Webtoffee_Product_Feed_Sync_Public::__construct()
S
77 1 4
Webtoffee_Product_Feed_Sync::get_version()
S
82 1 3
Webtoffee_Product_Feed_Sync_Admin::get_total_exported()
S
78 1 3
WT_Facebook_Catalog_Product::prepare_product_variation_data()
S
68 1 7
Webtoffee_Product_Feed_Sync::get_plugin_base_name()
S
82 1 3
activate_webtoffee_product_feed()
S
76 1 4
Webtoffee_Product_Feed_Sync_Loader::add_action()
S
77 1 3
Webtoffee_Product_Feed_Sync_Admin::get_fb_user_id()
S
80 1 3
Webtoffee_Product_Feed_Sync_Admin::get_fb_catalog_id()
S
79 1 3
Webtoffee_Product_Feed_Sync_Admin::get_scopes()
S
69 1 7
Webtoffee_Product_Feed_Sync_Admin::update_fb_business_id()
S
80 1 3
WT_Facebook_Catalog_Product::clean_product_name()
S
67 1 7
Webtoffee_Product_Feed_Sync_Admin::get_access_token()
S
75 1 4
Webtoffee_Product_Feed_Sync_Admin::update_fb_user_id()
S
80 1 3
Webtoffee_Product_Feed_Sync_Review_Request::on_deactivate()
S
81 1 3
Webtoffee_Product_Feed_Sync::define_public_hooks()
S
72 1 5
run_webtoffee_product_feed()
S
77 1 4
Webtoffee_Product_Feed_Sync_Loader::add_filter()
S
77 1 3
deactivate_webtoffee_product_feed()
S
76 1 4
Webtoffee_Product_Feed_Sync_Loader::add()
S
64 1 10
wt_fbfeed_midnight_sync_process()
S
73 1 5
Webtoffee_Product_Feed_Sync_Admin::get_settings_url()
S
80 1 3
Webtoffee_Product_Feed_Sync_i18n::load_plugin_textdomain()
S
69 1 7
ProductFeed_Uninstall_Feedback::__construct()
S
75 1 4
Webtoffee_Product_Feed_Sync_Admin::add_menu_item()
S
72 1 4
Webtoffee_Product_Feed_Sync_Admin::get_batch_limit()
S
79 1 3
Webtoffee_Product_Feed_Sync_Review_Request::reset_start_date()
S
80 1 3
WT_Fb_Catalog_Manager_Settings::get_settings_url()
S
80 1 3
Webtoffee_Product_Feed_Sync::run()
S
82 1 3
Webtoffee_Product_Feed_Sync_Admin::get_connect_url()
S
79 1 3
Webtoffee_Product_Feed_Sync_Deactivator::deactivate()
S
89 1 2
Webtoffee_Product_Feed_Sync_Admin::get_fb_catalog_details()
S
81 1 3
Webtoffee_Product_Feed_Sync_Review_Request::update_banner_state()
S
80 1 3
Webtoffee_Product_Feed_Sync_Admin::get_batch_status()
S
63 1 10
Webtoffee_Product_Feed_Sync_Admin::get_client_id()
S
82 1 3
WT_Fb_Catalog_Manager_Settings::__construct()
S
91 1 2
Webtoffee_Product_Feed_Sync_Admin::get_disconnect_url()
S
78 1 3
Webtoffee_Product_Feed_Sync_Public::enqueue_styles()
S
91 1 2