YITH_WCBM_Frontend C

Total Complexity 112
Dependencies 1
Dependents 3
Total lines 579
Lines of code 268
Logical lines of code 163
Comment lines 227
Methods 28
Properties 5

Methods 28

Method Rating Maintainability Complexity Lines of code
is_allowed_badge_showing()
C
45 31 27
show_badge_on_product_thumbnail()
A
46 15 35
show_badge_on_product()
A
45 13 38
get_wpml_parent_id()
S
53 7 24
is_default_on_sale_wc_badge_allowed()
S
64 7 8
get_inline_css()
S
53 5 24
badge_container_end()
S
67 3 7
get_instance()
S
73 3 4
__construct()
S
53 1 21
handle_default_wc_on_sale_badge_visibility()
S
77 2 3
theme_badge_container_start()
S
69 2 7
product_classes()
S
71 2 6
add_badge_filters()
S
72 2 5
remove_badge_filters()
S
72 2 5
theme_badge_container_end()
S
69 2 7
sale_flash()
S
79 2 3
handle_sale_flash_rendering_on_blocks()
S
68 2 7
delete_badges_inline_css_transient()
S
80 1 3
enqueue_scripts()
S
68 1 7
get_wmpl_badge_id()
S
82 1 3
badge_container_start()
S
82 1 3
add_box_thumb()
S
79 1 3
is_in_email()
S
80 1 3
unset_is_in_sidebar()
S
81 1 3
set_is_in_sidebar()
S
81 1 3
unset_is_in_minicart()
S
81 1 3
set_is_in_minicart()
S
81 1 3
is_in_sidebar()
S
82 1 3