WFFN_Ecomm_Tracking D

Total Complexity 251
Dependencies 3
Dependents 1
Total lines 1,198
Lines of code 839
Logical lines of code 456
Comment lines 139
Methods 45
Properties 4

Methods 45

Method Rating Maintainability Complexity Lines of code
maybe_save_order_data()
C
24
24 194
maybe_save_order_data_general()
C
32 22 100
get_total_order_value()
B
45 22 35
get_traffic_source()
A
50 12 28
get_user_data()
A
53 12 18
is_disable_shipping()
A
56 8 17
is_disable_taxes()
A
56 8 17
purchase_custom_aud_params()
S
51 7 27
get_object_terms()
S
56 7 18
should_render()
S
61 7 12
maybe_print_tracking_code()
S
56 6 19
should_render_view()
S
62 5 12
maybe_print_fb_script()
S
52 4 24
get_purchase_params()
S
52 4 23
do_track_ga_view()
S
63 5 10
do_track_snapchat_view()
S
63 5 10
maybe_print_gtag_script()
S
68 5 6
do_track_gad_view()
S
63 5 10
do_track_fb_view()
S
63 5 10
get_content_id()
S
61 4 13
get_advanced_pixel_data()
S
62 4 13
render_general_data()
S
62 4 12
maybe_clear_local_storage_for_tracking_log()
S
58 2 36
get_utms()
S
62 4 10
get_custom_event_params()
S
59 3 15
do_track_pint()
S
67 4 7
do_track_tiktok()
S
67 4 7
do_track_snapchat()
S
67 4 7
do_track_fb_general_event()
S
67 4 7
do_track_fb_purchase_event()
S
67 4 7
do_track_fb_synced_purchase()
S
67 4 7
get_contents_for_conv_api()
S
65 4 9
is_ga4_tracking()
S
67 4 7
update_order_event_pushed()
S
63 3 11
get_localstorage_hash()
S
62 3 11
maybe_print_tiktok_ecomm()
S
69 3 6
maybe_print_pint_ecomm()
S
69 3 6
maybe_print_snapchat_ecomm()
S
66 3 9
render()
S
61 2 14
get_instance()
S
71 2 6
is_purchase_event_pushed()
S
68 2 7
gad_product_id()
S
72 1 5
get_generic_event_params_for_conv_api()
S
67 1 8
get_custom_event_name()
S
82 1 3
__construct()
S
69 1 6