Total Complexity | 8 |
Dependencies | 3 |
Dependents | 2 |
Total lines | 43 |
Lines of code | 32 |
Logical lines of code | 19 |
Comment lines | 1 |
Methods | 6 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 59 | 3 | 16 | |
set_max_weight() | 81 | 1 | 3 | |
add_item() | 79 | 1 | 3 | |
pack_items() | 77 | 1 | 4 | |
get_packable_items() | 81 | 1 | 3 | |
get_result() | 81 | 1 | 3 |