-
Home
-
Google Analytics for WooCommerce
-
1.8.9
-
Code
-
Classes
- WC_Google_Gtag_JS
Total Complexity |
47 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
498 |
Lines of code |
312 |
Logical lines of code |
92 |
Comment lines |
124 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load_analytics() |
A |
45 |
10 |
36 |
product_get_category_line() |
S |
58 |
7 |
14 |
checkout_process() |
S |
52 |
3 |
25 |
add_transaction_enhanced() |
S |
54 |
3 |
21 |
add_to_cart() |
S |
51 |
2 |
30 |
event_tracking_code() |
S |
51 |
2 |
29 |
product_detail() |
S |
57 |
2 |
19 |
listing_click() |
S |
51 |
1 |
30 |
add_item() |
S |
59 |
2 |
15 |
remove_from_cart() |
S |
60 |
1 |
17 |
listing_impression() |
S |
59 |
1 |
16 |
register_scripts() |
S |
59 |
1 |
16 |
get_list_name() |
S |
76 |
2 |
3 |
get_event_code() |
S |
76 |
2 |
3 |
setup_frontend_scripts() |
S |
67 |
2 |
7 |
get_instance() |
S |
71 |
2 |
6 |
__construct() |
S |
72 |
1 |
5 |
format_event_data() |
S |
65 |
1 |
10 |
variant_data() |
S |
68 |
1 |
7 |
tracker_var() |
S |
79 |
1 |
3 |