-
Home
-
Pre-Orders, Product Labels, Buy Now, Quick View, Discount Rules and More for WooCommerce – Merchant
-
2.0.0
-
Code
-
Classes
- Merchant_Product_Labels
Total Complexity |
185 |
Dependencies |
7 |
Dependents |
2 |
Total lines |
1,153 |
Lines of code |
665 |
Logical lines of code |
363 |
Comment lines |
304 |
Methods |
31 |
Properties |
2 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_labels() |
D |
28 |
40 |
117 |
legacy_product_label() |
B |
41 |
17 |
49 |
__construct() |
A |
39 |
14 |
63 |
get_product_sale_data() |
A |
44 |
15 |
40 |
show_label() |
A |
52 |
13 |
23 |
frontend_custom_css() |
A |
43 |
8 |
69 |
migrate_exclusion_list() |
A |
52 |
9 |
23 |
is_pre_order() |
A |
53 |
9 |
22 |
get_shape_based_styles() |
S |
48 |
7 |
29 |
shortcode_handler() |
S |
48 |
5 |
36 |
is_in_category() |
S |
59 |
6 |
14 |
init_translations() |
S |
60 |
5 |
13 |
label() |
S |
52 |
4 |
21 |
admin_enqueue_js() |
S |
64 |
5 |
8 |
admin_enqueue_css() |
S |
63 |
5 |
8 |
single_product_output() |
S |
54 |
2 |
24 |
add_pre_order_option() |
S |
69 |
3 |
6 |
render_admin_preview() |
S |
62 |
2 |
11 |
loop_product_output() |
S |
56 |
1 |
21 |
products_block() |
S |
58 |
1 |
17 |
is_featured() |
S |
79 |
2 |
3 |
is_out_of_stock() |
S |
78 |
2 |
3 |
admin_preview_content() |
S |
62 |
1 |
15 |
is_on_sale() |
S |
79 |
2 |
3 |
is_new() |
S |
69 |
1 |
6 |
enqueue_css() |
S |
77 |
1 |
3 |
enqueue_js() |
S |
77 |
1 |
3 |
single_product_image_gallery_classes() |
S |
77 |
1 |
4 |
admin_custom_css() |
S |
77 |
1 |
4 |
get_module_custom_css() |
S |
77 |
1 |
4 |
remove_on_sale() |
S |
82 |
1 |
3 |