-
Home
-
YITH WooCommerce Compare
-
3.0.0 (latest)
-
Code
-
Classes
- YITH_WooCompare_Ajax_Handler
Total Complexity |
30 |
Dependencies |
4 |
Dependents |
3 |
Total lines |
220 |
Lines of code |
111 |
Logical lines of code |
48 |
Comment lines |
70 |
Methods |
11 |
Properties |
1 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init() |
A |
51 |
10 |
24 |
remove_product() |
S |
61 |
4 |
11 |
get_handlers() |
S |
55 |
3 |
22 |
maybe_remove_product() |
S |
66 |
3 |
8 |
add_product() |
S |
62 |
2 |
11 |
should_use_wc_ajax() |
S |
70 |
2 |
6 |
maybe_add_product() |
S |
65 |
2 |
9 |
get_current_action() |
S |
78 |
1 |
3 |
reload_compare() |
S |
75 |
1 |
4 |
deny_service() |
S |
80 |
1 |
3 |
get_updated_templates() |
S |
64 |
1 |
10 |