WFFN_Ecomm_Tracking_Common D

Total Complexity 250
Dependencies 4
Dependents 0
Total lines 1,129
Lines of code 871
Logical lines of code 372
Comment lines 82
Methods 60
Properties 3

Methods 60

Method Rating Maintainability Complexity Lines of code
fire_conv_api_event()
C
37 24 70
render_gad()
A
46 11 37
render_tiktok()
A
43 8 71
render_snapchat()
A
42 8 69
render_ga()
A
49 9 32
render_fb()
A
45 7 54
getRequestUri()
A
55 8 17
snapchat_code()
A
56 8 16
gad_code()
A
56 8 16
gad_purchase_label()
A
56 8 16
ga_code()
A
56 8 16
tiktok_code()
A
56 8 16
get_user_data()
S
58 8 14
render_pint()
S
46 5 58
get_conversion_api_access_token()
S
59 8 12
is_fb_pixel()
S
59 8 12
is_pint_pixel()
S
59 8 12
get_conversion_api_test_event_code()
S
59 8 12
get_woo_product_content_id()
S
53 5 23
render_gtag_custom_event()
S
67 5 7
fire_tracking()
S
57 2 38
do_track_ga_purchase()
S
67 4 7
do_track_gad_purchase()
S
67 4 7
is_conversion_api()
S
67 4 7
is_enabled_log()
S
67 4 7
is_fb_advanced_tracking_on()
S
69 4 6
is_fb_enable_content_on()
S
69 4 6
do_treat_variable_as_simple()
S
63 4 10
maybe_track_custom_steps_event()
S
63 3 12
maybe_render_conv_api()
S
69 3 7
get_advanced_pixel_data()
S
67 3 9
maybe_track_custom_steps_event_pint()
S
69 3 7
get_user_email()
S
68 3 7
getHour()
S
52 1 29
render()
S
64 2 11
load_gtag()
S
61 1 19
is_enable_custom_event()
S
69 2 7
getEventRequestUri()
S
68 2 7
is_enable_custom_event_gad()
S
69 2 7
is_enable_custom_event_ga()
S
69 2 7
maybe_insert_log()
S
72 2 5
render_fb_view()
S
69 2 10
is_enable_custom_event_pint()
S
69 2 7
maybe_print_snapchat_ecomm()
S
91 1 2
get_generic_event_params_for_conv_api()
S
82 1 3
get_custom_event_name()
S
82 1 3
get_custom_event_params()
S
80 1 3
maybe_print_pint_ecomm()
S
91 1 2
__construct()
S
72 1 5
maybe_ecomm_events()
S
76 1 4
get_event_id()
S
79 1 3
maybe_print_ga_script()
S
82 1 3
should_render()
S
79 1 3
do_track_cp_tiktok()
S
82 1 3
do_track_tiktok()
S
82 1 3
should_render_lead()
S
82 1 3
should_render_view()
S
82 1 3
maybe_print_gtag_script()
S
82 1 3
maybe_print_fb_script()
S
82 1 3
maybe_print_tiktok_ecomm()
S
82 1 3