WFFN_Ecomm_Tracking D

Total Complexity 233
Dependencies 5
Dependents 1
Total lines 1,104
Lines of code 804
Logical lines of code 417
Comment lines 128
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
maybe_save_order_data()
C
26
26 161
maybe_save_order_data_general()
C
32 22 100
get_total_order_value()
B
45 22 35
purchase_custom_aud_params()
A
43 15 47
get_traffic_source()
A
50 12 28
render_gad()
A
49 8 34
render_js_to_track_referer()
S
51 7 27
get_object_terms()
S
57 7 16
gad_code()
S
59 7 13
should_render()
S
61 7 12
maybe_print_tracking_code()
S
56 6 19
is_disable_shipping()
S
62 5 11
is_disable_taxes()
S
62 5 11
get_purchase_params()
S
52 4 23
maybe_print_fb_script()
S
53 4 23
get_user_data()
S
55 4 19
get_advanced_pixel_data()
S
62 4 13
render_general_data()
S
62 4 12
maybe_clear_local_storage_for_tracking_log()
S
59 2 33
get_contents_for_conv_api()
S
65 4 9
get_utms()
S
62 4 10
do_treat_variable_as_simple()
S
67 4 7
maybe_print_gad_script()
S
69 4 6
do_track_ga_purchase()
S
67 4 7
maybe_print_ga_script()
S
69 4 6
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
do_track_gad_purchase()
S
67 4 7
update_order_event_pushed()
S
63 3 11
get_localstorage_hash()
S
67 3 7
get_generic_event_params()
S
60 2 13
get_woo_product_content_id()
S
61 2 12
render()
S
64 2 11
get_instance()
S
71 2 6
gad_purchase_label()
S
74 2 4
is_purchase_event_pushed()
S
68 2 7
__construct()
S
67 1 7
get_generic_event_params_for_conv_api()
S
67 1 8
gad_product_id()
S
72 1 5
should_render_view()
S
82 1 3