WC_Boxpack_Box A

Total Complexity 55
Dependencies 1
Dependents 1
Total lines 1,111
Lines of code 165
Logical lines of code 108
Comment lines 292
Methods 21
Properties 18

Methods 21

Method Rating Maintainability Complexity Lines of code
can_fit()
B
51 20 21
pack()
A
39 14 70
get_volume()
S
69 2 7
set_type()
S
73 2 5
get_length()
S
82 1 3
get_packed_width()
S
82 1 3
get_packed_height()
S
82 1 3
get_outer_length()
S
82 1 3
get_outer_width()
S
82 1 3
get_outer_height()
S
82 1 3
get_weight()
S
82 1 3
__construct()
S
65 1 8
get_width()
S
82 1 3
get_height()
S
82 1 3
set_id()
S
81 1 3
reset_packed_dimensions()
S
74 1 5
set_inner_dimensions()
S
68 1 7
set_max_weight()
S
81 1 3
get_max_weight()
S
80 1 3
set_volume()
S
80 1 3
get_packed_length()
S
82 1 3