Code Analysis: UniPixel 1.9.3

Function Rating Maintainability Complexity Lines of code
unipixel_page_setup_google()
B
26
6 303
unipixel_page_setup_meta()
B
27
5 281
unipixel_handle_track_dynamic_event_microsoft()
B
40 19 50
unipixel_handle_platform_update()
B
37 15 76
unipixel_home_page()
A
33 9 129
unipixel_woocommerce_add_to_cart_handler()
A
39 12 68
unipixel_woocommerce_thankyou_handler()
A
42 8 56
unipixel_ensure_logcount_and_platform_settings()
A
39 6 78
unipixel_handle_track_dynamic_event_meta()
A
39 7 62
unipixel_get_generic_woo_purchase_data()
A
43 7 49
unipixel_woocommerce_initiate_checkout_handler()
A
43 6 54
unipixel_inline_script_google_initiate_checkout()
A
47 6 48
unipixel_get_generic_woo_begincheckout_data()
S
44 6 44
unipixel_page_setup_microsoft()
S
39 2 101
unipixel_add_gtm_noscript()
S
53 7 24
unipixel_inline_script_google_addtocart()
S
45 5 53
unipixel_initiate_checkout_once_wrapper()
S
54 7 21
unipixel_inline_script_google_purchase()
S
47 5 50
unipixel_inline_script_meta_initiate_checkout()
S
50 6 34
unipixel_inline_script_meta_addtocart()
S
48 5 40
unipixel_insert_default_woo_events()
S
41 3 69
unipixel_woocommerce_order_completed()
S
46 5 39
unipixel_inline_script_meta_purchase()
S
50 5 35
unipixel_trigger_initiate_checkout_on_page_load()
S
55 6 19
unipixel_handle_update_woo_events_batch()
S
48 5 34
unipixel_get_platform_name()
S
59 6 16
unipixel_handle_session_addtocart_meta()
S
57 6 16
unipixel_handle_session_addtocart_google()
S
57 6 16
unipixel_update_schema()
S
45 3 60
unipixel_enqueue_pixel_google()
S
50 5 28
unipixel_handle_track_dynamic_event_google()
S
41 3 56
unipixel_get_help_icon()
S
41 2 68
unipixel_handle_add_event()
S
45 3 48
unipixel_check_for_schema_update()
S
57 5 16
unipixel_get_generic_woo_addtocart_data()
S
50 4 26
unipixel_enqueue_pixel_meta()
S
54 4 21
unipixel_add_facebook_noscript()
S
56 4 20
unipixel_enqueue_scripts_meta()
S
48 3 33
unipixel_enqueue_scripts_microsoft()
S
48 3 33
unipixel_enqueue_scripts_google()
S
48 3 33
UniPixelLog::cleanup_logs()
S
50 3 31
unipixel_is_woo_event_enabled()
S
53 3 26
unipixel_send_event_google()
S
47 2 39
unipixel_handle_update_event()
S
48 2 37
unipixel_send_event_meta()
S
48 2 36
unipixel_enqueue_pixel_microsoft()
S
56 3 18
unipixel_admin_scripts()
S
56 3 16
UniPixelLog::insert_log()
S
50 2 30
unipixel_add_microsoft_noscript()
S
56 2 21
unipixel_handle_delete_event()
S
55 2 19
UniPixelDB::update_event()
S
64 3 9
unipixel_suppress_admin_notices()
S
60 2 15
unipixel_map_generic_data_to_format_meta()
S
50 1 29
unipixel_check_version_on_admin_init()
S
60 2 14
unipixel_map_generic_data_to_format_meta_initiate_checkout()
S
52 1 26
unipixel_send_event_microsoft()
S
53 1 23
unipixel_map_generic_data_to_format_google()
S
54 1 23
unipixel_map_generic_data_to_format_meta_addtocart()
S
54 1 23
unipixel_map_generic_data_to_format_google_initiate_checkout()
S
54 1 22
unipixel_map_generic_data_to_format_google_addtocart()
S
56 1 20
unipixel_localize_purchase_for_meta()
S
55 1 19
unipixel_localize_initiate_checkout_for_meta()
S
56 1 18
unipixel_localize_purchase_for_google()
S
56 1 18
unipixel_localize_initiate_checkout_for_google()
S
57 1 17
unipixel_metric_log()
S
57 1 17
unipixel_check_version()
S
69 2 7
unipixel_start_session()
S
75 2 5
unipixel_capture_fbclid_as_fbc()
S
65 2 8
unipixel_add_admin_menus()
S
61 1 13
unipixel_handle_get_events()
S
60 1 13
unipixel_activate()
S
63 1 12
unipixel_get_events_for_platform()
S
63 1 11
UniPixelDB::create_event()
S
62 1 11
unipixel_localize_add_to_cart_for_google()
S
65 1 9
UniPixelDB::delete_event()
S
72 1 5
unipixel_localize_add_to_cart_for_meta()
S
64 1 10
prefix_woocommerce_loaded()
S
72 1 5
unipixel_enqueue_common_data_script()
S
66 1 8
unipixel_deactivate()
S
68 1 9
UniPixelLog::__construct()
S
73 1 5
UniPixelDB::get_events_by_platform()
S
68 1 8
unipixel_uninstall()
S
68 1 9
unipixel_page_setup_tiktok()
S
100 1 10
UniPixelDB::get_event()
S
68 1 8
unipixel_enqueue_fontawesome()
S
67 1 9
UniPixelLog::get_platform_name()
S
65 1 10
UniPixelDB::__construct()
S
73 1 5
unipixel_page_setup_pinterest()
S
100 1 10