YITH_WCBM_Frontend C

Total Complexity 102
Dependencies 2
Dependents 2
Total lines 548
Lines of code 265
Logical lines of code 164
Comment lines 209
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
is_allowed_badge_showing()
B
47 25 26
show_badge_on_product()
A
43 16 45
show_badge_on_product_thumbnail()
A
46 14 36
get_inline_css()
A
47 9 32
get_wpml_parent_id()
S
53 7 24
get_instance()
S
73 3 4
__construct()
S
54 1 20
theme_badge_container_end()
S
69 2 7
product_classes()
S
71 2 6
add_badge_filters()
S
72 2 5
remove_badge_filters()
S
72 2 5
handle_default_wc_on_sale_badge_visibility()
S
77 2 3
sale_flash()
S
79 2 3
theme_badge_container_start()
S
69 2 7
badge_container_end()
S
71 2 5
is_in_sidebar()
S
82 1 3
is_in_email()
S
80 1 3
badge_container_start()
S
82 1 3
set_is_in_sidebar()
S
81 1 3
unset_is_in_minicart()
S
81 1 3
is_default_on_sale_wc_badge_allowed()
S
78 1 3
get_wmpl_badge_id()
S
82 1 3
set_is_in_minicart()
S
81 1 3
add_box_thumb()
S
79 1 3
enqueue_scripts()
S
68 1 7
unset_is_in_sidebar()
S
81 1 3