WC_Product_Woosb D

Total Complexity 180
Dependencies 0
Dependents 0
Total lines 699
Lines of code 463
Logical lines of code 261
Comment lines 85
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
build_items()
C
35 25 82
get_stock_status()
B
42 23 45
get_stock_quantity()
B
41 21 50
get_backorders()
B
45 19 38
get_manage_stock()
A
48 16 31
get_sale_price()
A
49 11 28
get_sold_individually()
A
52 11 24
add_to_cart_text()
S
54 6 21
get_discount_percentage()
S
60 6 13
add_to_cart_url()
S
58 5 15
has_variables()
S
58 5 15
get_price()
S
63 4 11
is_on_sale()
S
65 4 9
get_ids_str()
S
59 3 14
has_optional()
S
64 3 9
exclude_unpurchasable()
S
66 3 7
get_discount()
S
74 2 4
is_fixed_price()
S
73 2 4
get_discount_amount()
S
67 2 7
needs_shipping()
S
76 2 3
single_add_to_cart_text()
S
62 1 13
get_ids()
S
77 1 3
__construct()
S
73 1 5
is_manage_stock()
S
77 1 3
is_optional()
S
80 1 3
get_type()
S
82 1 3
get_items()
S
79 1 3