hit_Boxpack_Box A

Total Complexity 52
Dependencies 1
Dependents 1
Total lines 382
Lines of code 166
Logical lines of code 104
Comment lines 136
Methods 23
Properties 19

Methods 23

Method Rating Maintainability Complexity Lines of code
can_fit()
B
51 20 21
pack()
A
40 9 62
set_type()
S
73 2 5
get_volume()
S
67 2 8
__construct()
S
64 1 9
get_width()
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
get_length()
S
82 1 3
get_height()
S
82 1 3
set_packtype()
S
81 1 3
get_packtype()
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
76 1 4
set_volume()
S
80 1 3
get_packed_length()
S
82 1 3