Code Analysis: TikTok 1.0.16

Function Rating Maintainability Complexity Lines of code
Tt4b_Menu_Class::tt4b_admin_menu_main()
D
22
28 216
Tt4b_Catalog_Class::catalog_sync_helper()
C
30 23 125
tt4b_product_sync()
C
32 23 109
Tt4b_Menu_Class::convert_state()
B
26
6 238
tiktok\admin\tts\order_list\OrderList::modify_table()
A
38 12 73
Tt4b_Pixel_Class::inject_start_checkout()
A
37 11 75
Tt4b_Pixel_Class::inject_purchase_event()
A
37 9 76
Tt4b_Pixel_Class::inject_view_content_event()
A
39 8 68
tiktok\admin\tts\order_list\OrderList::add_tiktok_filter()
A
41 8 62
Tt4b_Pixel_Class::inject_add_to_cart_event()
A
39 7 65
Tt4b_Catalog_Class::catalog_sync()
A
45 7 46
Tt4b_Mapi_Class::retrieve_eligibility_helper()
A
46 7 39
tt4b_product_delete()
A
48 7 36
Logger::maybe_output_pixel_data()
A
57 8 18
Tt4b_Menu_Class::tt4b_store_access_token()
S
49 7 28
tiktok\admin\tts\order_detail\OrderDetail::is_tiktok_order_detail_page()
S
54 7 21
Tt4b_Pixel_Class::confirm_to_send_s2s_events()
S
51 6 28
tiktok\admin\tts\order_detail\OrderDetail::disable_edit()
S
50 5 36
Tt4b_Catalog_Class::initiate_catalog_sync()
S
47 4 48
tiktok\admin\Tasks\Onboarding::is_complete()
S
55 5 19
Logger::log_request()
S
62 6 9
Tt4b_Mapi_Class::create_open_source_app()
S
49 3 33
Tt4b_Catalog_Class::get_catalog_processing_status()
S
49 3 32
array_insert_after()
S
60 4 14
Tt4b_Mapi_Class::retrieve_eligibility_information()
S
50 3 28
tiktok\admin\tts\order_detail\OrderDetail::hide_tiktok_custom_fields()
S
61 4 13
Tiktokforbusiness::tt_plugin_activate()
S
51 3 26
get_edit_link()
S
55 3 21
Tt4b_Mapi_Class::update_business_profile()
S
49 2 36
Tt4b_Mapi_Class::fetch_eligibility()
S
61 3 12
tiktok\admin\tts\order_detail\OrderDetail::notice()
S
58 2 18
Tiktokforbusiness::tt_plugin_deactivate()
S
50 1 31
Tt4b_Pixel_Class::pixel_event_tracking_field_track()
S
58 2 16
Tt4b_Mapi_Class::get_business_profile()
S
59 2 14
Tiktokforbusiness::initialize_hooks()
S
59 2 14
check_woocommerce_install()
S
62 2 13
Tiktokforbusiness::add_onboarding_task()
S
65 2 11
Tiktokforbusiness::init()
S
62 2 11
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
tiktok\admin\Tasks\Onboarding::get_parent_id()
S
72 2 6
Logger::log_response()
S
64 2 9
tiktok_for_business_get_instance()
S
70 2 7
Tiktokforbusiness::maybe_show_admin_notice()
S
66 2 10
Tt4b_Mapi_Class::mapi_get()
S
58 1 15
Tt4b_Pixel_Class::get_and_validate_option()
S
67 2 7
Tt4b_Pixel_Class::get_advanced_matching_hashed_email()
S
67 2 8
Logger::doing_ajax()
S
79 2 3
Tt4b_Pixel_Class::get_ttclid()
S
67 2 8
Tt4b_Pixel_Class::set_ttclid()
S
71 2 5
Tt4b_Menu_Class::load_styles()
S
64 2 9
get_tts_seller_center_origin()
S
60 1 13
Tt4b_Mapi_Class::tts_shop_disconnect()
S
61 1 13
Tt4b_Menu_Class::tt4b_admin_menu()
S
63 1 12
tiktok\admin\Tasks\Onboarding::get_action_url()
S
80 1 3
tiktok\admin\Tasks\Onboarding::get_time()
S
82 1 3
tiktok\admin\Tasks\Onboarding::get_title()
S
79 1 3
Logger::log()
S
71 1 5
tiktok\admin\tts\order_detail\OrderDetail::init()
S
75 1 5
update_tt4b_version_admin_notice()
S
74 1 7
Tt4b_Catalog_Class::__construct()
S
77 1 4
Tt4b_Mapi_Class::__construct()
S
77 1 4
tiktok\admin\Tasks\Onboarding::get_id()
S
82 1 3
Tt4b_Mapi_Class::init()
S
74 1 4
tiktok\admin\Tasks\Onboarding::get_content()
S
82 1 3
tt4b_product_untrashed()
S
76 1 4
Logger::__construct()
S
77 1 4
Tt4b_Catalog_Class::init()
S
74 1 4
tt4b_product_trashed()
S
76 1 4
Tt4b_Mapi_Class::generate_cron_string()
S
71 1 5
tiktok\admin\tts\order_list\OrderList::init()
S
77 1 4