-
Home
-
Pre-Orders, Product Labels, Buy Now, Quick View, Discount Rules and More for WooCommerce – Merchant
-
1.9.17
-
Code
-
Classes
- Merchant_Clear_Cart
| Total Complexity |
85 |
| Dependencies |
7 |
| Dependents |
0 |
| Total lines |
683 |
| Lines of code |
397 |
| Logical lines of code |
192 |
| Comment lines |
175 |
| Methods |
20 |
| Properties |
2 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
B |
36 |
21 |
68 |
| frontend_custom_css() |
A |
38 |
9 |
95 |
| print_button() |
A |
49 |
11 |
27 |
| clear_cart_ajax_handler() |
S |
52 |
7 |
23 |
| admin_preview_content() |
S |
43 |
2 |
66 |
| should_load_assets() |
S |
68 |
6 |
6 |
| localize_script() |
S |
53 |
3 |
21 |
| get_module_custom_css() |
S |
54 |
3 |
18 |
| shortcode_handler() |
S |
62 |
3 |
12 |
| init_translations() |
S |
69 |
2 |
6 |
| admin_enqueue_css() |
S |
72 |
2 |
5 |
| admin_enqueue_js() |
S |
71 |
2 |
5 |
| render_admin_preview() |
S |
68 |
2 |
7 |
| button_cart_page() |
S |
72 |
2 |
6 |
| button_side_cart() |
S |
72 |
2 |
6 |
| button_mini_cart() |
S |
72 |
2 |
6 |
| enqueue_css() |
S |
69 |
2 |
6 |
| enqueue_scripts() |
S |
69 |
2 |
6 |
| cart_count_fragment() |
S |
76 |
1 |
4 |
| admin_custom_css() |
S |
77 |
1 |
4 |