WFFN_Ecomm_Tracking_Common D

Total Complexity 256
Dependencies 4
Dependents 0
Total lines 1,493
Lines of code 1,230
Logical lines of code 382
Comment lines 91
Methods 61
Properties 3

Methods 61

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