Cartflows_Tracking A

Total Complexity 70
Dependencies 2
Dependents 0
Total lines 634
Lines of code 381
Logical lines of code 195
Comment lines 119
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
trigger_other_ga_events()
A
49 7 32
add_facebook_pixel_tracking_code()
S
49 6 39
get_required_product_data_for_fb()
S
48 6 33
add_google_analytics_tracking_code()
S
53 6 26
trigger_other_fb_events()
S
52 6 25
get_required_product_data_for_ga()
S
52 6 24
prepare_purchase_data_fb_response()
S
51 4 26
prepare_viewcontent_data_fb_response()
S
54 4 20
get_ga_purchase_transactions_data()
S
49 3 31
get_ga_offer_purchase_transactions_data()
S
49 3 31
prepare_cart_data_fb_response()
S
50 3 26
prepare_cart_data_ga_response()
S
56 2 19
add_localize_vars()
S
64 3 9
send_ga_data_if_enabled()
S
68 3 6
trigger_viewcontent_events()
S
63 2 11
get_instance()
S
71 2 6
add_tracking_code()
S
68 2 8
__construct()
S
69 1 6
format_number()
S
77 1 3