GA4WP_Main D

Total Complexity 327
Dependencies 4
Dependents 1
Total lines 1,675
Lines of code 1,465
Logical lines of code 765
Comment lines 96
Methods 52
Properties 9

Methods 52

Method Rating Maintainability Complexity Lines of code
get_tracking_code()
D
33 36 92
product_impression()
D
27
28 159
order_refunded()
B
37 16 73
completed_purchase()
B
36 14 78
__construct()
A
43 14 51
adding_conversion_info()
A
51 13 24
disable_tracking()
A
52 13 23
get_product_details()
A
46 12 33
begin_checkout()
A
42 9 54
capture_js()
A
54 11 23
added_product()
A
43 9 46
making_remote_request()
A
52 10 23
get_cid()
A
51 10 23
viewed_product()
A
45 7 42
get_list_name()
A
56 8 19
user_login()
A
46 6 48
user_signup()
S
46 6 45
get_tracking_id()
S
50 6 32
get_special_tracking_code()
S
51 6 25
avoid_multi_trigger()
S
54 6 22
removed_product()
S
48 5 34
viewed_cart()
S
48 5 33
changed_quantity()
S
53 5 22
filled_checkout_form()
S
48 3 51
get_product_variation_attributes()
S
57 5 17
init_default_params()
S
60 5 13
viewed_shop()
S
57 4 18
wrote_review()
S
55 3 19
commented()
S
55 3 19
processing_payment()
S
57 3 17
log_error()
S
57 3 17
ga4wp_set_transient()
S
59 3 16
order_failed()
S
58 3 16
get_request_args()
S
57 2 16
lost_password()
S
59 2 15
wrong_coupon_applied()
S
59 2 15
print_js()
S
67 3 9
user_login_errors()
S
59 2 15
estimated_shipping()
S
60 2 14
viewed_account()
S
60 2 14
applied_coupon()
S
60 2 14
removed_coupon()
S
60 2 14
changed_password()
S
60 2 14
viewed_order()
S
60 2 14
user_logout()
S
60 2 14
order_cancelled()
S
60 2 14
viewed_signup_form()
S
60 2 14
ga4wp_esc()
S
67 2 7
get_event_hooks()
S
67 2 8
ga4wp_get_user_agent()
S
78 2 3
added_shipping_method()
S
63 1 12
added_payment_method()
S
63 1 12