-
Home
-
Google Analytics for WooCommerce
-
1.5.1
-
Code
-
Classes
- WC_Google_Analytics
Total Complexity |
78 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
599 |
Lines of code |
396 |
Logical lines of code |
156 |
Comment lines |
123 |
Methods |
21 |
Properties |
0 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init_form_fields() |
A |
32 |
8 |
131 |
tracking_code_display() |
A |
52 |
13 |
21 |
enhanced_ecommerce_enabled() |
S |
58 |
7 |
17 |
add_to_cart() |
S |
51 |
6 |
24 |
track_options() |
S |
52 |
5 |
23 |
disable_tracking() |
S |
75 |
5 |
3 |
remove_from_cart_attributes() |
S |
58 |
4 |
15 |
load_admin_assets() |
S |
60 |
4 |
13 |
loop_add_to_cart() |
S |
55 |
3 |
19 |
__construct() |
S |
48 |
2 |
32 |
init_options() |
S |
53 |
2 |
26 |
get_ecommerce_tracking_code() |
S |
58 |
2 |
16 |
show_options_info() |
S |
68 |
3 |
6 |
listing_click() |
S |
68 |
2 |
7 |
checkout_process() |
S |
71 |
2 |
6 |
product_detail() |
S |
69 |
2 |
7 |
get_tracking_instance() |
S |
71 |
2 |
6 |
listing_impression() |
S |
68 |
2 |
7 |
remove_from_cart() |
S |
72 |
2 |
6 |
get_standard_tracking_code() |
S |
72 |
1 |
6 |
utm_nooverride() |
S |
72 |
1 |
5 |