| blib/lib/Test/Timer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 20 | 95.0 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 1 | 2 | if ($within == 1) { } |
| 65 | 2 | 2 | if ($within == 1) { } |
| 83 | 1 | 1 | if ($above == 1) { } |
| 102 | 1 | 2 | if ($within == 1) { } |
| 106 | 1 | 1 | if ($timeout) { } |
| 127 | 10 | 2 | if (defined $lowerthreshold and defined $upperthreshold) { } |
| 2 | 0 | elsif (defined $lowerthreshold) { } | |
| 131 | 4 | 4 | if ($time >= $lowerthreshold and $time <= $upperthreshold) { } |
| 142 | 1 | 1 | if ($time >= $lowerthreshold) { } |
| 173 | 12 | 3 | if (defined $threshold) |