WC_Boxpack S

Total Complexity 40
Dependencies 4
Dependents 0
Total lines 757
Lines of code 121
Logical lines of code 73
Comment lines 244
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
pack()
A
41 14 58
item_sorting()
S
65 5 9
box_sorting()
S
65 5 9
volume_based_sorting()
S
70 3 6
get_packages()
S
80 2 3
order_boxes()
S
71 2 6
order_items()
S
71 2 6
order_by_volume()
S
71 2 6
__construct()
S
77 1 4
clear_items()
S
81 1 3
clear_boxes()
S
81 1 3
add_item()
S
77 1 3
add_box()
S
72 1 5