blib/lib/Box/Calc/Box.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
87 | 94 | 1455 | if $layer->fill_x > $value |
102 | 94 | 1455 | if $layer->fill_y > $value |
222 | 0 | 46184 | if ($count > 5) |
227 | 1 | 46183 | if ($item->weight + $self->calculate_weight >= $self->max_weight) |
232 | 1 | 46182 | if ($item->z > $self->z - $self->fill_z + $self->layers->[-1]->fill_z) |
236 | 44886 | 1296 | if ($self->layers->[-1]->pack_item($item)) { } |
241 | 50 | 1246 | if ($item->z > $self->z - $self->fill_z) { } |