Cartflows_Tracking D

Total Complexity 135
Dependencies 2
Dependents 0
Total lines 1,123
Lines of code 696
Logical lines of code 371
Comment lines 225
Methods 29
Properties 5

Methods 29

Method Rating Maintainability Complexity Lines of code
prepare_viewcontent_data_tiktok_response()
A
42 13 49
trigger_other_tiktok_events()
A
47 10 38
add_tiktok_pixel_tracking_code()
A
49 8 34
trigger_other_gads_events()
A
49 7 33
trigger_other_ga_events()
A
49 7 32
add_facebook_pixel_tracking_code()
S
49 6 39
get_required_product_data_for_fb()
S
48 6 33
add_google_ads_tracking_code()
S
52 6 28
add_google_analytics_tracking_code()
S
53 6 26
trigger_other_fb_events()
S
52 6 25
get_required_product_data_for_ga()
S
52 6 24
prepare_purchase_data_tiktok_response()
S
48 5 35
prepare_purchase_data_fb_response()
S
49 5 30
prepare_identify_data_for_tiktok()
S
56 5 18
add_localize_vars()
S
58 5 15
prepare_cart_data_fb_response()
S
50 4 26
prepare_cart_data_tiktok_response()
S
51 4 26
prepare_viewcontent_data_fb_response()
S
54 4 20
get_gads_purchase_transactions_data()
S
49 3 32
get_ga_purchase_transactions_data()
S
49 3 31
trigger_tiktok_viewcontent_events()
S
59 3 16
prepare_cart_data_gads_response()
S
54 2 21
prepare_cart_data_ga_response()
S
56 2 19
trigger_viewcontent_events()
S
63 2 11
get_instance()
S
71 2 6
add_tracking_code()
S
65 2 10
__construct()
S
66 1 8
format_number()
S
77 1 3
trigger_gads_viewcontent_events()
S
67 1 8