Code Analysis: Pixel Manager for WooCommerce 1.2.1

Function Rating Maintainability Complexity Lines of code
PMW_Pixels::page_html()
D
20
18 336
PMW_PixelManager::PMW_woocommerce_inject_data_layer_product()
C
32 26 93
PMW_AjaxHelper::filter_pixels_option()
B
45 25 40
PMW_AjaxHelper::validate_pixels()
B
51 22 19
PMW_Header::header_menu()
A
44 15 45
PMW_SettingHelper::add_form_fields()
A
43 14 50
PMW_AjaxHelper::get_post_pmw_pixels_option_sanitize()
A
47 15 35
PMW_AjaxHelper::pmw_pixels_save()
A
46 13 34
PMW_AdminHelper::validate_pixels_plan()
A
49 13 26
PMW_AjaxHelper::pmw_pixels_support_save()
A
43 11 47
PMW_PixelManager::PMW_PixelManagerPageType()
A
50 11 29
PMW_PixelHelper::get_order_total()
A
53 11 22
PMW_Pixel::inject_pixels()
A
51 9 28
PMW_AdminAPIHelper::save_product_store()
A
45 8 41
PMW_AjaxHelper::pmw_check_privecy_policy()
A
52 8 23
PMW_AdminMigrateHelper::check_migrate()
A
55 8 18
PMW_AjaxHelper::validate_pixels_support()
S
60 8 11
PMW_SettingHelper::add_switch_fiels()
S
47 6 38
PMW_SettingHelper::add_switch_fiels_with_text()
S
48 6 34
PMW_PixelHelper::get_user_ip()
S
59 7 16
PMW_SettingHelper::add_text_fiels()
S
48 5 37
PMW_SettingHelper::add_textarea_fiels()
S
48 5 37
PMW_PixelHelper::is_facebook_enable()
S
64 7 9
PMW_PixelHelper::is_pinterest_enable()
S
64 7 9
PMW_PixelHelper::is_snapchat_enable()
S
64 7 9
PMW_PixelHelper::is_pixel_enable()
S
64 7 9
PMW_PixelItemFunction::get_product_details_for_datalayer()
S
47 4 36
PMW_CookieConsentManagement::is_cookie_prevention_active()
S
57 5 18
Pixel_Manager_For_Woocommerce_Admin::includes()
S
60 5 14
PMW_PixelItemFunction::get_brand_name()
S
61 5 12
PMW_CookieConsentManagement::check_borlabs_gave_marketing_consent()
S
61 5 12
PMW_AjaxHelper::pmw_pixels_integration_save()
S
56 4 17
PMW_PixelsSupport::page_html()
S
43 1 60
PMW_AdminHelper::sanitize_option_pmw_general()
S
59 4 14
PMW_CookieConsentManagement::is_moove_cookie_prevention_active()
S
60 4 13
PMW_PixelItemFunction::has_order_bought()
S
58 4 13
PMW_AdminAPIHelper::pmw_api_call()
S
60 4 12
PMW_SnapchatPixelManager::__construct()
S
66 4 7
PMW_Header::is_active_menu()
S
69 4 6
PMW_PixelItemFunction::get_variation_id_or_product_id()
S
67 4 7
Pixel_Manager_For_Woocommerce_Admin::show_page()
S
62 3 11
PMW_PixelItemFunction::get_formatted_variant_text()
S
62 3 11
PMW_PixelItemFunction::get_product_category()
S
62 3 11
PMW_SettingHelper::add_text_fiels_with_switch()
S
56 2 19
PMW_PinterestPixelManager::__construct()
S
68 3 6
PMW_AjaxHelper::get_post_pmw_pixels_integration_option_sanitize()
S
69 3 6
PMW_AjaxHelper::admin_safe_ajax_call()
S
68 3 7
PMW_SettingHelper::get_array_val()
S
69 3 7
Pixel_Manager_For_Woocommerce_Loader::run()
S
66 3 8
PMW_PixelHelper::is_wpml_woocommerce_multi_currency_active()
S
67 3 8
PMW_PixelItemFunction::get_order_from_order_received_page()
S
67 3 9
PMW_PixelItemFunction::get_order_from_query_vars()
S
65 3 9
PMW_SettingHelper::add_button()
S
60 2 14
PMW_PixelManager::__construct()
S
58 2 14
PMW_PixelManager::inject_gtm_data_layer()
S
65 2 14
PMW_Pixel::req_int()
S
61 2 13
PMW_AdminHelper::get_product_data()
S
61 2 13
Pixel_Manager_For_Woocommerce::__construct()
S
61 2 12
PMW_PixelItemFunction::get_order_with_url_order_key()
S
62 2 12
PMW_Header::page_header()
S
57 1 25
PMW_Header::menu_list()
S
55 1 21
PMW_FBPixelManager::inject_general_data_layer()
S
61 1 21
PMW_PinterestPixelManager::inject_general_data_layer()
S
61 1 20
PMW_SnapchatPixelManager::inject_general_data_layer()
S
61 1 19
PMW_Pixels::page_js()
S
70 1 18
PMW_PixelManager::get_product_data_layer_script()
S
66 2 8
PMW_FBPixelManager::__construct()
S
70 2 5
pixel_manager_for_woocommerce_activation_redirect()
S
73 2 5
PMW_AdminHelper::is_pinterest_pixel_id()
S
69 2 7
PMW_CookieConsentManagement::is_cookie_notice_plugin_cookie_prevention_active()
S
67 2 8
PMW_AdminHelper::is_snapchat_pixel_id()
S
69 2 7
PMW_AdminHelper::is_twitter_pixel_id()
S
69 2 7
PMW_PixelManager::PMW_injectproduct_id_tag_for_blocks()
S
68 2 7
PMW_AdminHelper::is_tiktok_pixel_id()
S
69 2 7
PMW_TwitterPixelManager::__construct()
S
70 2 5
PMW_AdminHelper::validate_with_regex()
S
66 2 8
PMW_TiktokPixelManager::__construct()
S
70 2 5
PMW_AdminMigrateHelper::__construct()
S
66 2 9
Pixel_Manager_For_Woocommerce_Admin::__construct()
S
65 2 8
PMW_PixelManager::PMW_injectproduct_id_tag()
S
67 2 8
PMW_PixelManager::req_int()
S
74 2 5
Pixel_Manager_For_Woocommerce_Admin::enqueue_styles()
S
71 2 5
PMW_AdminHelper::is_bing_pixel_id()
S
69 2 7
PMW_AdminHelper::is_facebook_pixel_id()
S
69 2 7
PMW_BingPixelManager::__construct()
S
70 2 5
PMW_PixelItemFunction::get_dyn_r_ids()
S
64 2 9
Pixel_Manager_For_Woocommerce_Admin::enqueue_scripts()
S
71 2 5
PMW_PixelHelper::req_int()
S
73 2 5
PMW_AdminMigrateHelper::includes()
S
73 2 5
PMW_SettingHelper::add_hidden_fiels()
S
64 2 10
PMW_PixelItemFunction::req_int()
S
74 2 5
PMW_PixelItemFunction::get_brand_by_taxonomy()
S
66 2 8
PMW_AjaxHelper::includes()
S
73 2 5
PMW_CookieConsentManagement::is_cookie_law_info_cookie_prevention_active()
S
67 2 8
PMW_CookieConsentManagement::get_cookie()
S
78 2 3
PMW_TiktokPixelManager::inject_general_data_layer()
S
66 1 14
PMW_TwitterPixelManager::inject_general_data_layer()
S
66 1 14
PMW_PixelsRateUS::page_html()
S
63 1 13
PMW_Header::header_notices()
S
64 1 12
PMW_Footer::before_end_footer()
S
75 1 11
PMW_PixelHelper::is_woocommerce_active()
S
80 1 3
Pixel_Manager_For_Woocommerce_Activator::activate()
S
75 1 4
PMW_CookieConsentManagement::set_plugin_prefix()
S
81 1 3
Pixel_Manager_For_Woocommerce_Admin::pmw_page_scripts()
S
72 1 7
PMW_AdminHelper::save_pmw_pixels_option()
S
79 1 3
PMW_AjaxHelper::__construct()
S
66 1 8
PMW_PixelHelper::is_woocommerce_brands_active()
S
80 1 3
PMW_PixelsSupport::__construct()
S
78 1 4
PMW_PixelsSupport::page_js()
S
91 1 2
PMW_PinterestPixelManager::init_in_wp_head()
S
82 1 3
PMW_PixelManager::PMW_create_products_data_object()
S
67 1 10
PMW_TwitterPixelManager::init_in_wp_head()
S
82 1 3
Pixel_Manager_For_Woocommerce::get_version()
S
82 1 3
Pixel_Manager_For_Woocommerce_Admin::pixel_manager()
S
76 1 4
Pixel_Manager_For_Woocommerce::pmw_plugin_action_links()
S
68 1 7
PMW_PixelsSupport::req_int()
S
91 1 2
PMW_PixelItemFunction::get_woo_currency()
S
81 1 3
PMW_FBPixelManager::init_in_wp_head()
S
82 1 3
PMW_PixelItemFunction::log_problematic_product_id()
S
70 1 6
activate_pixel_manager_for_woocommerce()
S
76 1 4
PMW_PixelManager::enqueue_scripts()
S
77 1 3
Pixel_Manager_For_Woocommerce_Loader::add()
S
64 1 10
PMW_SettingHelper::add_section()
S
66 1 9
Pixel_Manager_For_Woocommerce::get_loader()
S
82 1 3
Pixel_Manager_For_Woocommerce_Loader::__construct()
S
77 1 4
PMW_Header::__construct()
S
68 1 7
PMW_AdminHelper::save_pmw_api_store()
S
79 1 3
PMW_AdminMigrateHelper::get_migration()
S
80 1 3
PMW_Footer::__construct()
S
79 1 3
PMW_AdminHelper::get_pmw_pixels_option()
S
80 1 3
PMW_AdminAPIHelper::__construct()
S
91 1 2
PMW_PixelManager::inject_option_data_layer()
S
71 1 8
PMW_AdminHelper::init()
S
72 1 5
PMW_PixelItemFunction::__construct()
S
77 1 4
Pixel_Manager_For_Woocommerce_Deactivator::deactivate()
S
75 1 4
PMW_AdminHelper::__construct()
S
79 1 3
PMW_PixelHelper::get_option()
S
80 1 3
Pixel_Manager_For_Woocommerce::define_admin_hooks()
S
72 1 5
PMW_PixelsSupport::load_html()
S
78 1 4
Pixel_Manager_For_Woocommerce::load_dependencies()
S
68 1 7
PMW_PixelManager::init_in_wp_head()
S
73 1 6
run_pixel_manager_for_woocommerce()
S
77 1 4
Pixel_Manager_For_Woocommerce::get_plugin_name()
S
82 1 3
PMW_PixelsRateUS::page_js()
S
91 1 2
Pixel_Manager_For_Woocommerce::set_locale()
S
75 1 4
Pixel_Manager_For_Woocommerce_Admin::pixel_manager_rate_us()
S
76 1 4
Pixel_Manager_For_Woocommerce_Admin::pixel_manager_support()
S
76 1 4
PMW_PixelsRateUS::__construct()
S
78 1 4
PMW_Pixel::__construct()
S
70 1 6
PMW_TiktokPixelManager::init_in_wp_head()
S
82 1 3
PMW_AdminMigrateHelper::set_migration()
S
79 1 3
PMW_Pixels::req_int()
S
91 1 2
PMW_SnapchatPixelManager::init_in_wp_head()
S
82 1 3
Pixel_Manager_For_Woocommerce_i18n::load_plugin_textdomain()
S
69 1 7
PMW_PixelManager::init_in_wp_body()
S
79 1 7
Pixel_Manager_For_Woocommerce_Admin::admin_menu()
S
68 1 6
PMW_PixelsRateUS::load_html()
S
78 1 4
PMW_Pixels::__construct()
S
78 1 4
deactivate_pixel_manager_for_woocommerce()
S
76 1 4
PMW_Global::__construct()
S
91 1 2
PMW_BingPixelManager::inject_general_data_layer()
S
72 1 7
Pixel_Manager_For_Woocommerce_Loader::add_filter()
S
77 1 3
PMW_PixelHelper::__construct()
S
77 1 4
PMW_AdminAPIHelper::init()
S
91 1 2
Pixel_Manager_For_Woocommerce_Loader::add_action()
S
77 1 3
PMW_BingPixelManager::init_in_wp_head()
S
82 1 3
PMW_PixelsRateUS::req_int()
S
91 1 2
PMW_Pixels::load_html()
S
78 1 4
PMW_Header::before_start_header()
S
83 1 5
Pixel_Manager_For_Woocommerce::run()
S
82 1 3
PMW_PixelHelper::is_yith_wc_brands_active()
S
80 1 3
PMW_AdminHelper::get_pmw_api_store()
S
80 1 3
PMW_AdminAPIHelper::includes()
S
91 1 2