WC_Order_Item B

Total Complexity 80
Dependencies 4
Dependents 4
Total lines 528
Lines of code 207
Logical lines of code 115
Comment lines 242
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
get_formatted_meta_data()
B
45 17 33
offsetGet()
A
51 9 26
__construct()
A
55 8 18
calculate_taxes()
S
51 6 25
offsetSet()
S
58 5 16
offsetUnset()
S
60 5 14
offsetExists()
S
66 5 7
calculate_cogs_value()
S
61 4 12
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_type()
S
82 1 3
get_quantity()
S
82 1 3
get_all_formatted_meta_data()
S
79 1 3
apply_changes()
S
76 1 4
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_tax_status()
S
82 1 3
get_name()
S
79 1 3