WFFN_Ecomm_Tracking_Common D

Total Complexity 222
Dependencies 4
Dependents 0
Total lines 967
Lines of code 730
Logical lines of code 328
Comment lines 78
Methods 54
Properties 2

Methods 54

Method Rating Maintainability Complexity Lines of code
fire_conv_api_event()
B
38 20 65
render_gad()
A
48 11 32
render_snapchat()
A
44 8 60
render_ga()
A
51 9 26
render_fb()
A
46 7 48
ga_code()
A
56 8 16
gad_code()
A
56 8 16
snapchat_code()
A
56 8 16
tiktok_code()
A
56 8 16
get_conversion_api_test_event_code()
S
59 8 12
is_pint_pixel()
S
59 8 12
is_fb_pixel()
S
59 8 12
get_conversion_api_access_token()
S
59 8 12
render_tiktok()
S
47 5 54
getRequestUri()
S
58 7 14
render_pint()
S
49 4 47
get_woo_product_content_id()
S
53 5 23
get_user_data()
S
61 5 12
render_gtag_custom_event()
S
67 5 7
do_treat_variable_as_simple()
S
63 4 10
is_fb_advanced_tracking_on()
S
69 4 6
is_fb_enable_content_on()
S
69 4 6
do_track_ga_purchase()
S
67 4 7
do_track_gad_purchase()
S
67 4 7
is_enabled_log()
S
67 4 7
is_conversion_api()
S
67 4 7
maybe_track_custom_steps_event()
S
63 3 12
maybe_render_conv_api()
S
68 3 7
get_user_email()
S
68 3 7
maybe_track_custom_steps_event_pint()
S
69 3 7
getHour()
S
52 1 29
load_gtag()
S
61 1 19
gad_purchase_label()
S
74 2 4
is_enable_custom_event()
S
69 2 7
is_enable_custom_event_ga()
S
69 2 7
render_fb_view()
S
69 2 10
is_enable_custom_event_pint()
S
69 2 7
maybe_insert_log()
S
72 2 5
render()
S
66 2 10
is_enable_custom_event_gad()
S
69 2 7
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
75 1 4
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
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
get_advanced_pixel_data()
S
82 1 3
maybe_print_snapchat_ecomm()
S
91 1 2