Code Analysis: TikTok 1.2.8

Function Rating Maintainability Complexity Lines of code
Tt4b_Menu_Class::tt4b_admin_menu_main()
D
23
33 177
Tt4b_Catalog_Class::generate_product_info()
C
34 26 91
Tt4b_Menu_Class::convert_state()
B
26
6 236
Tt4b_Pixel_Class::get_properties_from_product()
B
39 17 61
tiktok\admin\tts\order_list\OrderList::modify_table()
B
35 15 90
Tt4b_Pixel_Class::inject_initiate_checkout_event()
A
37 13 73
Tt4b_Catalog_Class::catalog_sync_helper()
A
40 10 58
Tt4b_Pixel_Class::inject_view_content_event()
A
38 9 69
tt4b_product_delete()
A
44 10 46
tiktok\admin\tts\order_list\OrderList::add_tiktok_filter()
A
41 8 62
Tt4b_Pixel_Class::inject_purchase_event()
A
39 7 64
Tt4b_Pixel_Class::inject_add_to_cart_event()
A
39 7 62
Tt4b_Mapi_Class::retrieve_eligibility_helper()
A
45 8 42
Tt4b_Catalog_Class::catalog_sync()
A
46 7 40
tiktok\admin\tts\order_detail\OrderDetail::disable_edit()
A
46 6 55
tiktok\admin\tts\order_detail\OrderDetail::is_tiktok_order_detail_page()
A
53 8 23
Tt4b_Pixel_Class::get_user()
A
42 6 52
Logger::maybe_output_pixel_data()
A
57 8 18
variation_content_id_helper()
A
58 8 16
Tt4b_Pixel_Class::track_page_view()
S
44 6 45
Tt4b_Menu_Class::tt4b_store_access_token()
S
49 7 28
Tt4b_Pixel_Class::confirm_to_send_s2s_events()
S
51 6 28
Tt4b_Pixel_Class::print_script()
S
50 5 31
Tt4b_Catalog_Class::initiate_catalog_sync()
S
48 4 39
Onboarding::is_complete()
S
55 5 19
Tt4b_Mapi_Class::retrieve_eligibility_information()
S
49 4 31
tiktok\admin\tts\order_detail\OrderDetail::hide_tiktok_custom_fields()
S
58 5 16
Logger::log_request()
S
62 6 9
Tt4b_Pixel_Class::get_user_ip_address()
S
59 5 13
Tt4b_Catalog_Class::check_and_start_async_action()
S
55 4 25
Tt4b_Mapi_Class::create_open_source_app()
S
49 3 33
Tt4b_Catalog_Class::variable_product_sync()
S
57 4 17
Tt4b_Catalog_Class::get_catalog_processing_status()
S
49 3 32
Tt4b_Mapi_Class::fetch_eligibility()
S
58 4 15
array_insert_after()
S
60 4 14
Tiktokforbusiness::tt_plugin_activate()
S
50 3 28
Tt4b_Pixel_Class::add_ajax_snippet()
S
52 3 24
Tt4b_Menu_Class::get_eligibility_info_for_external_data()
S
48 2 37
Tt4b_Menu_Class::get_address_info_for_external_data()
S
53 3 22
get_edit_link()
S
55 3 21
Tt4b_Mapi_Class::update_business_profile()
S
48 2 36
tiktok\admin\tts\order_detail\OrderDetail::notice()
S
56 3 21
Tt4b_Pixel_Class::prepare_event_code()
S
58 3 18
Tiktokforbusiness::tt_plugin_deactivate()
S
49 2 32
Tiktokforbusiness::init()
S
58 3 14
Tt4b_Menu_Class::get_country_and_currency_for_external_data()
S
59 3 14
Tt4b_Pixel_Class::get_product_subtotal_as_float()
S
62 3 11
Tt4b_Catalog_Class::delete_products_helper()
S
52 2 25
Tt4b_Menu_Class::tt4b_admin_menu()
S
54 2 24
tiktok\admin\tts\order_list\OrderList::load_style_and_script()
S
55 2 22
Tt4b_Pixel_Class::pixel_event_tracking_field_track()
S
58 2 16
Tt4b_Menu_Class::get_user_country()
S
63 3 10
Tt4b_Mapi_Class::get_business_profile()
S
59 2 14
Tiktokforbusiness::add_onboarding_task()
S
63 2 12
Tt4b_Menu_Class::get_extra_data_for_external_data()
S
62 2 11
Tt4b_Pixel_Class::prepare_advanced_matching()
S
57 1 23
Tt4b_Mapi_Class::get_access_token()
S
55 1 20
Tt4b_Pixel_Class::get_pixels()
S
56 1 19
Tt4b_Mapi_Class::mapi_post()
S
57 1 17
Tt4b_Mapi_Class::tbp_post()
S
57 1 16
Tiktokforbusiness::get_settings_link()
S
68 2 7
Logger::log_response()
S
64 2 9
Tt4b_Mapi_Class::mapi_get()
S
58 1 15
Tt4b_Pixel_Class::add_advanced_matching_hashed_info()
S
65 2 9
Tt4b_Pixel_Class::get_and_validate_option()
S
67 2 7
Tt4b_Pixel_Class::set_ttclid()
S
71 2 5
Tiktokforbusiness::tiktok_for_business_get_instance()
S
69 2 7
Tt4b_Menu_Class::load_styles()
S
69 2 6
Logger::doing_ajax()
S
79 2 3
tiktok\admin\tts\order_detail\OrderDetail::init()
S
68 2 8
Onboarding::get_parent_id()
S
72 2 6
Tt4b_Pixel_Class::get_event_id()
S
66 2 8
Logger::log()
S
64 2 9
get_tts_seller_center_origin()
S
60 1 13
Tt4b_Mapi_Class::tts_shop_disconnect()
S
61 1 13
Tt4b_Pixel_Class::get_key()
S
82 1 3
Tiktokforbusiness::initialize_hooks()
S
69 1 7
Tt4b_Mapi_Class::get_user_location()
S
68 1 7
Tiktokforbusiness::get_plugin_file()
S
75 1 4
Onboarding::get_content()
S
82 1 3
Tt4b_Mapi_Class::init()
S
74 1 4
Tt4b_Pixel_Class::filter_add_to_cart_attributes()
S
66 1 8
tt4b_product_trashed()
S
76 1 4
Tiktokforbusiness::plugin_action_links()
S
72 1 5
tt4b_variation_delete()
S
76 1 4
Tt4b_Catalog_Class::init()
S
71 1 5
Tt4b_Catalog_Class::__construct()
S
77 1 4
Tt4b_Pixel_Class::print_event()
S
65 1 8
Onboarding::get_id()
S
82 1 3
Tiktokforbusiness::__construct()
S
82 1 3
Tt4b_Pixel_Class::enqueue_event()
S
75 1 3
Logger::__construct()
S
81 1 3
Onboarding::get_action_url()
S
80 1 3
Onboarding::get_time()
S
82 1 3
Tt4b_Mapi_Class::__construct()
S
74 1 5
tiktok\admin\tts\order_list\OrderList::init()
S
77 1 4
Tt4b_Mapi_Class::generate_cron_string()
S
71 1 5
Onboarding::get_title()
S
79 1 3