| blib/lib/Box/Calc/Box.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 87 | 22 | 251 | if $layer->fill_x > $value |
| 102 | 22 | 251 | if $layer->fill_y > $value |
| 222 | 0 | 17820 | if ($count > 99) |
| 227 | 1 | 17819 | if ($item->weight + $self->calculate_weight >= $self->max_weight) |
| 232 | 1 | 17818 | if ($item->z > $self->z - $self->fill_z + $self->layers->[-1]->fill_z) |
| 236 | 17287 | 531 | if ($self->layers->[-1]->pack_item($item)) { } |
| 241 | 21 | 510 | if ($item->z > $self->z - $self->fill_z) { } |