Total Complexity | 9 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 41 |
Lines of code | 26 |
Logical lines of code | 8 |
Comment lines | 0 |
Methods | 8 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_item() | 66 | 2 | 8 | |
__construct() | 80 | 1 | 3 | |
set_max_weight() | 81 | 1 | 3 | |
get_max_weight() | 82 | 1 | 3 | |
set_result() | 81 | 1 | 3 | |
get_result() | 82 | 1 | 3 | |
get_packable_items() | 82 | 1 | 3 | |
pack_items() | 100 | 1 | 0 |