Con_GTM_Tracking D

Total Complexity 209
Dependencies 3
Dependents 2
Total lines 908
Lines of code 802
Logical lines of code 425
Comment lines 70
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
add_gtm_data_layer()
D
12
89 300
begin_datalayer()
D
25
44 148
set_user_data()
C
34 23 97
con_product_list_item_extra_tag()
A
46 9 37
product_thankyou_view()
A
47 9 33
con_item_product()
S
49 6 30
product_cart_view()
S
52 4 25
add_gtm_begin_datalayer_js()
S
55 4 21
con_get_product_category()
S
55 4 20
product_list_view()
S
62 4 11
product_detail_view()
S
62 3 12
con_get_product_category_hierarchy()
S
58 2 17
checkout_step_view()
S
59 2 15
__construct()
S
55 1 19
get_user_data()
S
72 2 6
add_gtm_data_layer_js()
S
67 2 8
enqueue_scripts()
S
77 1 3