-
Home
-
Google Analytics for WooCommerce
-
1.6.1
-
Code
-
Classes
- WC_Google_Analytics
Total Complexity |
83 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
673 |
Lines of code |
439 |
Logical lines of code |
169 |
Comment lines |
146 |
Methods |
23 |
Properties |
0 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init_form_fields() |
A |
31 |
8 |
145 |
tracking_code_display() |
A |
52 |
13 |
22 |
add_to_cart() |
A |
47 |
7 |
34 |
enhanced_ecommerce_enabled() |
S |
58 |
7 |
17 |
track_options() |
S |
51 |
5 |
25 |
get_ecommerce_tracking_code() |
S |
54 |
4 |
21 |
loop_add_to_cart() |
S |
54 |
4 |
19 |
disable_tracking() |
S |
75 |
5 |
3 |
remove_from_cart_attributes() |
S |
58 |
4 |
15 |
load_admin_assets() |
S |
60 |
4 |
13 |
init_options() |
S |
52 |
2 |
28 |
show_options_info() |
S |
68 |
3 |
6 |
__construct() |
S |
49 |
1 |
29 |
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 |
is_setup_complete() |
S |
80 |
1 |
3 |
add_wc_setup_task() |
S |
68 |
1 |
9 |