WC_Product_Woosb D

Total Complexity 163
Dependencies 0
Dependents 0
Total lines 516
Lines of code 380
Logical lines of code 229
Comment lines 12
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
build_items()
B
37 20 70
get_stock_status()
B
45 19 36
get_stock_quantity()
A
47 16 30
get_backorders()
A
48 15 30
get_manage_stock()
A
49 14 28
get_sale_price()
A
48 11 31
get_sold_individually()
A
55 11 17
get_discount_percentage()
S
64 7 8
has_variables()
S
60 5 13
add_to_cart_text()
S
59 5 13
get_price()
S
65 5 9
add_to_cart_url()
S
62 5 10
get_ids_str()
S
58 4 15
has_optional()
S
61 4 12
is_on_sale()
S
70 4 6
exclude_unpurchasable()
S
65 4 8
get_discount_amount()
S
65 3 8
get_discount()
S
74 2 4
is_fixed_price()
S
70 2 5
get_ids()
S
74 1 4
__construct()
S
73 1 5
is_manage_stock()
S
74 1 4
is_optional()
S
80 1 3
get_type()
S
82 1 3
single_add_to_cart_text()
S
71 1 5
get_items()
S
79 1 3