WC_Order_Item B

Total Complexity 90
Dependencies 6
Dependents 4
Total lines 613
Lines of code 244
Logical lines of code 137
Comment lines 281
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
get_formatted_meta_data()
B
45 17 33
__construct()
A
52 10 22
offsetGet()
A
51 9 26
calculate_taxes()
S
51 6 25
get_cogs_value_per_unit_tooltip_text()
S
53 5 22
offsetSet()
S
58 5 16
offsetUnset()
S
60 5 14
offsetExists()
S
66 5 7
calculate_cogs_value()
S
61 4 12
get_cogs_value_html()
S
62 3 11
set_cogs_value()
S
72 3 5
get_cogs_value()
S
76 3 3
is_type()
S
77 2 3
calculate_cogs_value_core()
S
68 1 8
has_cogs()
S
82 1 3
get_order_id()
S
79 1 3
get_quantity()
S
82 1 3
get_tax_status()
S
82 1 3
get_name()
S
79 1 3
apply_changes()
S
76 1 4
get_type()
S
82 1 3
set_name()
S
79 1 3
set_order_id()
S
79 1 3
get_order()
S
80 1 3
get_tax_class()
S
82 1 3
get_all_formatted_meta_data()
S
79 1 3