| blib/lib/Algorithm/BinPack.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 0 | 1 | unless checkargs($self, 'binsize') |
| 82 | 2 | 13 | unless checkargs($item, ('label', 'size')) |
| 84 | 8 | 5 | if (exists $$item{'bin'}) { } |
| 88 | 2 | 6 | if ($size > $max_binsize) |
| 93 | 1 | 5 | unless ($bin =~ /^\d+$/) |
| 99 | 2 | 3 | if ($size + $binsize > $max_binsize) |
| 109 | 0 | 5 | if ($$self{'fudge'}) |
| 131 | 3 | 5 | unless checkargs({@_}, ('label', 'size', 'bin')) |
| 167 | 1 | 12 | if ($size > $binsize) |
| 188 | 5 | 50 | unless (exists $$href{$_}) |
| 205 | 0 | 13 | unless $bsize <=> $asize |