blib/lib/Math/Round/Fair.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 30 | 73.3 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 6 | DEBUG() ? : |
23 | 5 | 1 | if DEBUG() |
137 | 0 | 52 | unless int $value == $value and $value >= 0 |
139 | 0 | 52 | if @_ == 1 |
140 | 0 | 52 | if $value == 0 |
144 | 0 | 214 | unless $w > 0 |
174 | 1 | 11001 | unless @_ |
233 | 24163 | 46107 | rand() < $p0 ? : |
235 | 4016 | 7037 | if ($sum != floor($sum)) |
236 | 11053 | 59217 | unless @fp |
238 | 0 | 4016 | unless abs $sum - $target < 0.1 and $sum + 0.05 != $sum |
242 | 2616 | 1400 | if ($adj <= 1) { } |
254 | 0 | 0 | if (DEBUG() > 1) |
267 | 37168 | 22049 | if ($tslack > $eps1) |
273 | 17549 | 19619 | if ($r0) { } |