WCCS_Product_Helpers B

Total Complexity 96
Dependencies 4
Dependents 1
Total lines 548
Lines of code 286
Logical lines of code 172
Comment lines 179
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get_related_products()
A
50 12 23
get_percentage_badge_value()
A
49 10 30
is_on_sale()
A
54 10 20
wc_get_price_including_tax()
S
52 6 26
wc_get_price_excluding_tax()
S
52 6 26
wc_get_price_to_display()
S
53 6 24
wc_get_price_html()
S
60 4 15
get_available_variations()
S
59 4 14
delete_product_transients()
S
60 4 14
wc_get_price()
S
61 4 13
wc_get_regular_price()
S
61 4 13
wc_get_sale_price()
S
61 4 13
wc_get_variation_prices()
S
61 4 13
is_variable_product()
S
65 4 8
is_variation_product()
S
65 4 8
wc_get_product_term_ids()
S
67 4 7
woocommerce_available_variation()
S
70 2 6
get_parent_id()
S
72 2 6
define_hooks()
S
74 1 4
__construct()
S
81 1 3