Merchant_Product_Labels C

Total Complexity 106
Dependencies 6
Dependents 0
Total lines 623
Lines of code 347
Logical lines of code 203
Comment lines 187
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_labels()
B
40 23 55
legacy_product_label()
B
40 19 49
percentage_label()
A
46 12 36
__construct()
A
44 9 43
init_translations()
S
60 5 13
is_in_category()
S
62 5 11
label()
S
55 4 18
admin_enqueue_css()
S
65 5 7
admin_enqueue_js()
S
64 5 8
admin_preview_content()
S
56 2 19
frontend_custom_css()
S
58 2 18
render_admin_preview()
S
62 2 11
is_on_sale()
S
79 2 3
is_out_of_stock()
S
78 2 3
is_featured()
S
79 2 3
single_product_output()
S
62 1 13
loop_product_output()
S
62 1 13
admin_custom_css()
S
77 1 4
get_module_custom_css()
S
65 1 8
enqueue_css()
S
77 1 3
products_block()
S
77 1 3
is_new()
S
69 1 6