GA4WP_Main D

Total Complexity 387
Dependencies 4
Dependents 1
Total lines 1,843
Lines of code 1,645
Logical lines of code 869
Comment lines 84
Methods 52
Properties 9

Methods 52

Method Rating Maintainability Complexity Lines of code
product_impression()
D
27
30 159
get_tracking_code()
D
33 34 92
order_refunded()
C
30 28 119
completed_purchase()
B
35 18 90
get_product_details()
B
44 19 39
begin_checkout()
B
38 15 71
__construct()
A
43 14 51
get_special_tracking_code()
A
47 13 34
adding_conversion_info()
A
51 13 24
disable_tracking()
A
52 13 23
capture_js()
A
54 11 23
added_product()
A
43 9 46
get_cid()
A
51 10 23
making_remote_request()
A
52 10 23
viewed_product()
A
44 8 45
get_request_args()
A
49 9 28
viewed_cart()
A
46 8 39
added_payment_method()
A
44 7 47
added_shipping_method()
A
44 7 47
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
avoid_multi_trigger()
S
54 6 22
removed_product()
S
48 5 34
changed_quantity()
S
53 5 22
filled_checkout_form()
S
48 3 51
viewed_shop()
S
55 5 21
get_product_variation_attributes()
S
57 5 17
init_default_params()
S
64 5 9
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
print_js()
S
67 3 9
user_login_errors()
S
59 2 15
lost_password()
S
59 2 15
wrong_coupon_applied()
S
59 2 15
order_cancelled()
S
60 2 14
viewed_signup_form()
S
60 2 14
user_logout()
S
60 2 14
changed_password()
S
60 2 14
viewed_account()
S
60 2 14
removed_coupon()
S
60 2 14
applied_coupon()
S
60 2 14
estimated_shipping()
S
60 2 14
viewed_order()
S
60 2 14
ga4wp_get_user_agent()
S
78 2 3
get_event_hooks()
S
67 2 8
ga4wp_esc()
S
67 2 7