| blib/lib/Database/Async/Backoff/Exponential.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 8 | 75.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 3 | 66.6 |
| pod | 0 | 1 | 0.0 |
| total | 8 | 12 | 66.6 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Database::Async::Backoff::Exponential; | ||||||
| 2 | |||||||
| 3 | 2 | 2 | 14 | use strict; | |||
| 2 | 5 | ||||||
| 2 | 64 | ||||||
| 4 | 2 | 2 | 10 | use warnings; | |||
| 2 | 6 | ||||||
| 2 | 173 | ||||||
| 5 | |||||||
| 6 | our $VERSION = '0.015'; # VERSION | ||||||
| 7 | |||||||
| 8 | sub new { | ||||||
| 9 | 0 | 0 | 0 | my ($class, %args) = @_; | |||
| 10 | 0 | bless \%args, $class | |||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | |||||||
| 14 | 1; |