line |
true |
false |
branch |
168
|
11 |
25 |
if (ref $_[0] eq 'HASH') { }
|
175
|
3 |
33 |
if (defined $categories) { }
|
251
|
18 |
42 |
if (defined $category)
|
252
|
13 |
5 |
unless $category eq $box_type->category
|
255
|
41 |
0 |
if ($item_x <= $box_type_x and $item_y <= $box_type_y and $item_z <= $box_type_z)
|
259
|
1 |
17 |
unless (scalar @viable)
|
420
|
0 |
0 |
unless $a->z <=> $b->z or $a->x <=> $b->x
|
448
|
0 |
0 |
unless $Box::Calc::b->[0]{'z'} <=> $Box::Calc::a->[0]{'z'}
|
475
|
0 |
92 |
unless $Box::Calc::a->[0]{'z'} <=> $Box::Calc::b->[0]{'z'}
|
502
|
0 |
0 |
unless $Box::Calc::b->[0]{'A'} <=> $Box::Calc::a->[0]{'A'}
|
679
|
0 |
6 |
if (scalar @{$kind;} == 1) { }
|
687
|
6 |
6 |
if ($count == 1) { }
|
748
|
44923 |
0 |
if ($item->x > 0 and $item->y > 0) { }
|
750
|
44923 |
0 |
if ($box->x >= $item->y and $box->y >= $item->x)
|
756
|
0 |
44916 |
if ($new_count_per_layer > $original_count_per_layer or $original_x_per_layer == 0 or $original_y_per_layer == 0)
|
771
|
50 |
44873 |
unless ($box->pack_item($item))
|
772
|
15 |
35 |
if ($countdown) { }
|
777
|
0 |
35 |
if (scalar @{$self->boxes;} > $item_count)
|