| blib/lib/Time/Out.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 6 | 10 | if "Time::HiRes"->can($_) |
| 48 | 1 | 19 | if ($remaining_time_on_previous_timer and $remaining_time_on_previous_timer < $timeout) { } |
| 54 | 1 | 4 | $context ? : |
| 5 | 15 | defined $context ? : | |
| 62 | 14 | 6 | if @_ |
| 69 | 1 | 19 | if ($new_timeout > 0) { } |
| 1 | 18 | elsif ($remaining_time_on_previous_timer) { } | |
| 78 | 13 | 6 | if (defined $exception) |
| 79 | 8 | 5 | if (defined builtin::blessed($exception) and $exception->isa("Time::Out::Exception")) |
| 87 | 1 | 4 | $context ? : |
| 5 | 1 | defined $context ? : |