WFFN_Ecomm_Tracking D

Total Complexity 323
Dependencies 6
Dependents 1
Total lines 1,419
Lines of code 1,001
Logical lines of code 556
Comment lines 149
Methods 58
Properties 4

Methods 58

Method Rating Maintainability Complexity Lines of code
maybe_save_order_data()
D
22
30 207
maybe_save_order_data_general()
C
32 22 100
get_total_order_value()
B
45 22 35
update_ga4_event_data()
A
45 15 38
get_traffic_source()
A
50 12 28
should_render()
A
52 12 24
get_user_data()
A
53 12 18
purchase_custom_aud_params()
A
49 8 31
is_disable_shipping()
A
56 8 17
is_disable_taxes()
A
56 8 17
maybe_print_tracking_code()
S
55 7 21
get_object_terms()
S
56 7 18
should_render_view()
S
58 7 16
maybe_print_fb_script()
S
52 4 24
get_purchase_params()
S
55 4 18
do_track_ga_view()
S
63 5 10
do_track_gad_view()
S
63 5 10
maybe_print_gtag_script()
S
68 5 6
do_track_tiktok_view()
S
63 5 10
do_track_pint_view()
S
63 5 10
do_track_snapchat_view()
S
63 5 10
do_track_fb_view()
S
63 5 10
get_advanced_pixel_data()
S
62 4 13
get_content_id()
S
62 4 12
render_general_data()
S
62 4 12
get_current_order()
S
62 4 11
maybe_clear_local_storage_for_tracking_log()
S
55 2 34
get_utms()
S
62 4 10
do_track_snapchat()
S
67 4 7
get_contents_for_conv_api()
S
65 4 9
do_track_fb_synced_purchase()
S
67 4 7
do_track_gad_purchase()
S
67 4 7
do_track_ga_purchase()
S
67 4 7
do_track_cp_tiktok()
S
67 4 7
do_track_tiktok()
S
67 4 7
maybe_print_snapchat_ecomm()
S
65 4 9
do_track_fb_general_event()
S
67 4 7
do_track_pint()
S
67 4 7
get_custom_event_params()
S
59 3 15
do_track_fb_purchase_event()
S
67 4 7
get_localstorage_hash()
S
62 3 11
update_order_event_pushed()
S
63 3 11
is_enable_custom_event_pint()
S
70 3 6
is_enable_custom_event()
S
70 3 6
is_enable_custom_event_ga()
S
70 3 6
is_enable_custom_event_gad()
S
70 3 6
maybe_print_pint_ecomm()
S
69 3 6
maybe_print_tiktok_ecomm()
S
69 3 6
is_ga4_tracking()
S
67 3 7
get_event_data()
S
60 2 14
render()
S
61 2 14
get_generic_event_params_for_conv_api()
S
62 2 12
get_instance()
S
71 2 6
is_purchase_event_pushed()
S
68 2 7
tracking_log_js()
S
80 1 3
gad_product_id()
S
72 1 5
get_custom_event_name()
S
82 1 3
__construct()
S
69 1 6