SPC_Product C

Total Complexity 118
Dependencies 2
Dependents 1
Total lines 456
Lines of code 322
Logical lines of code 180
Comment lines 51
Methods 34
Properties 6

Methods 34

Method Rating Maintainability Complexity Lines of code
get_price()
B
44 18 44
get_options()
A
49 12 31
__construct()
A
52 12 23
get_option_item_price()
S
58 8 14
get_price_formatted()
S
55 7 18
create()
S
52 5 25
option_is_required()
S
61 5 12
set_price()
S
58 4 16
get_shipping()
S
68 4 6
get_image_html()
S
62 3 11
get_category_name()
S
67 3 9
get_category()
S
65 3 9
get_category_id()
S
67 3 9
get_price_level()
S
65 3 9
get_image_url()
S
69 2 7
set_category()
S
69 2 7
get_qty_discounts()
S
69 2 7
set_taxable()
S
79 2 3
is_taxable()
S
77 2 3
get_display_name()
S
64 2 9
get_description()
S
71 2 6
has_image()
S
79 2 3
get_prices()
S
80 1 3
get_regular_price()
S
79 1 3
set_shipping()
S
80 1 3
get_content()
S
81 1 3
can_purchase()
S
79 1 3
set_type()
S
80 1 3
classes()
S
66 1 8
set_price_level()
S
80 1 3
get_type()
S
80 1 3
get_image_id()
S
80 1 3
allow_store_image_select()
S
79 1 3
needs_shipping()
S
78 1 3