| blib/lib/Net/Shaper.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 28 | 60.7 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 0 | 2 | @_ > 1 ? : |
| 21 | 0 | 1 | @_ > 1 ? : |
| 22 | 0 | 1 | @_ > 1 ? : |
| 23 | 0 | 1 | @_ > 1 ? : |
| 24 | 0 | 2 | @_ > 1 ? : |
| 25 | 0 | 1 | @_ > 1 ? : |
| 26 | 0 | 1 | @_ > 1 ? : |
| 47 | 1 | 6 | if ($select->can_read(0)) |
| 55 | 6 | 1 | $bps && @dest ? : |
| 64 | 3 | 4 | unless ($bytes) |
| 71 | 2 | 1 | unless (length $buf) |
| 72 | 0 | 0 | if $$_[0] != $fh |
| 78 | 4 | 0 | if ($bps) |
| 79 | 4 | 0 | unless ($bytes / ($now - $start) < $bps) |