Code Analysis: UniPixel 1.6.1

Function Rating Maintainability Complexity Lines of code
unipixel_handle_track_dynamic_event_microsoft()
B
40 19 50
unipixel_handle_platform_update()
A
40 14 63
unipixel_home_page()
A
33 9 129
unipixel_update_schema()
A
34 7 121
unipixel_page_setup_google()
A
36 4 130
unipixel_handle_track_dynamic_event_meta()
A
40 6 61
unipixel_page_setup_microsoft()
S
39 2 101
unipixel_page_setup_meta()
S
40 2 96
unipixel_woocommerce_order_completed()
S
46 5 39
unipixel_enqueue_pixel_google()
S
50 5 28
unipixel_handle_track_dynamic_event_google()
S
41 3 56
unipixel_check_for_schema_update()
S
57 5 16
unipixel_add_gtm_noscript()
S
54 4 23
unipixel_enqueue_scripts_microsoft()
S
48 3 33
unipixel_enqueue_scripts_google()
S
48 3 33
unipixel_enqueue_scripts_meta()
S
48 3 33
UniPixelLog::cleanup_logs()
S
50 3 31
unipixel_send_event_google()
S
47 2 39
unipixel_send_event_meta()
S
48 2 36
unipixel_enqueue_pixel_microsoft()
S
56 3 18
unipixel_enqueue_pixel_meta()
S
56 3 18
UniPixelLog::insert_log()
S
50 2 30
unipixel_admin_scripts()
S
56 3 15
unipixel_handle_update_event()
S
51 2 27
unipixel_handle_add_event()
S
51 2 26
unipixel_add_facebook_noscript()
S
56 2 21
unipixel_add_microsoft_noscript()
S
56 2 21
UniPixelDB::update_event()
S
64 3 9
unipixel_suppress_admin_notices()
S
60 2 15
unipixel_handle_delete_event()
S
60 2 12
unipixel_send_event_microsoft()
S
53 1 23
unipixel_check_version()
S
69 2 7
unipixel_add_admin_menus()
S
59 1 14
unipixel_handle_get_events()
S
60 1 13
unipixel_get_events_for_platform()
S
63 1 11
UniPixelDB::create_event()
S
62 1 11
unipixel_enqueue_common_data_script()
S
66 1 8
UniPixelDB::get_event()
S
68 1 8
unipixel_activate()
S
77 1 4
unipixel_page_setup_tiktok()
S
100 1 10
UniPixelLog::__construct()
S
73 1 5
UniPixelDB::get_events_by_platform()
S
68 1 8
unipixel_page_setup_pinterest()
S
100 1 10
UniPixelDB::delete_event()
S
72 1 5
UniPixelLog::get_platform_name()
S
65 1 10
UniPixelDB::__construct()
S
73 1 5