GA4WP_Main D

Total Complexity 273
Dependencies 4
Dependents 1
Total lines 1,239
Lines of code 1,150
Logical lines of code 656
Comment lines 50
Methods 35
Properties 8

Methods 35

Method Rating Maintainability Complexity Lines of code
get_tracking_code()
C
37 28 70
integration_notification()
C
32 20 144
completed_purchase()
B
36 15 77
get_product_details()
B
42 16 47
__construct()
A
43 14 50
adding_conversion_info()
A
51 13 24
disable_tracking()
A
52 13 23
begin_checkout()
A
42 10 50
init_default_params()
A
48 11 32
making_remote_request()
A
51 11 25
capture_js()
A
54 11 23
viewed_product()
A
44 9 44
viewed_cart()
A
44 9 41
get_cid()
A
51 10 23
user_login()
A
44 7 48
user_signup()
A
45 7 44
filled_checkout_form()
S
46 4 55
avoid_multi_trigger()
S
54 6 22
get_tracking_id()
S
53 5 25
viewed_shop()
S
53 5 22
get_product_variation_attributes()
S
57 5 17
processing_payment()
S
51 4 24
wrote_review()
S
53 4 22
commented()
S
53 4 22
viewed_account()
S
54 4 20
viewed_signup_form()
S
54 4 20
order_failed()
S
54 4 19
get_request_args()
S
51 3 28
user_logout()
S
56 3 17
ga4wp_set_transient()
S
59 3 16
added_shipping_method()
S
57 2 18
added_payment_method()
S
57 2 18
print_js()
S
67 3 9
get_event_hooks()
S
67 2 8
ga4wp_get_user_agent()
S
78 2 3