Code Analysis: TikTok 1.0.15

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
38 10 70
Tt4b_Pixel_Class::inject_purchase_event()
A
38 8 71
tiktok\admin\tts\order_list\OrderList::add_tiktok_filter()
A
41 8 62
Tt4b_Pixel_Class::inject_view_content_event()
A
40 7 63
Tt4b_Catalog_Class::catalog_sync()
A
45 7 46
Tt4b_Pixel_Class::inject_add_to_cart_event()
A
40 6 60
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
tiktok\admin\tts\order_detail\OrderDetail::disable_edit()
S
50 5 36
Tt4b_Catalog_Class::initiate_catalog_sync()
S
47 4 48
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
Tt4b_Mapi_Class::update_business_profile()
S
49 2 36
get_edit_link()
S
55 3 21
Tt4b_Mapi_Class::fetch_eligibility()
S
61 3 12
tiktok\admin\tts\order_detail\OrderDetail::notice()
S
58 2 18
Tt4b_Pixel_Class::pixel_event_tracking_field_track()
S
58 2 16
Tiktokforbusiness::tt_plugin_deactivate()
S
50 1 30
Tt4b_Mapi_Class::get_business_profile()
S
59 2 14
Tiktokforbusiness::initialize_hooks()
S
60 2 13
check_woocommerce_install()
S
62 2 13
Tt4b_Mapi_Class::get_access_token()
S
55 1 20
Tt4b_Mapi_Class::mapi_post()
S
57 1 17
Tiktokforbusiness::init()
S
63 2 10
Tt4b_Pixel_Class::get_advanced_matching_hashed_email()
S
67 2 8
Tt4b_Mapi_Class::mapi_get()
S
58 1 15
Tt4b_Pixel_Class::get_and_validate_option()
S
67 2 7
Logger::log_response()
S
64 2 9
Tt4b_Pixel_Class::get_ttclid()
S
67 2 8
Tt4b_Pixel_Class::set_ttclid()
S
71 2 5
tiktok_for_business_get_instance()
S
70 2 7
Tt4b_Menu_Class::load_styles()
S
64 2 9
Tiktokforbusiness::maybe_show_admin_notice()
S
66 2 10
Logger::doing_ajax()
S
79 2 3
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\tts\order_detail\OrderDetail::init()
S
75 1 5
tiktok\admin\tts\order_list\OrderList::init()
S
77 1 4
tt4b_product_trashed()
S
76 1 4
update_tt4b_version_admin_notice()
S
74 1 7
Tt4b_Mapi_Class::init()
S
74 1 4
Tt4b_Mapi_Class::__construct()
S
77 1 4
Tt4b_Catalog_Class::init()
S
74 1 4
Tt4b_Pixel_Class::get_pixels()
S
63 1 10
Logger::log()
S
71 1 5
Tt4b_Mapi_Class::generate_cron_string()
S
71 1 5
Logger::__construct()
S
77 1 4
tt4b_product_untrashed()
S
76 1 4
Tt4b_Catalog_Class::__construct()
S
77 1 4