blib/lib/Mojo/IOLoop/Delay.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 2 | ref $self ? : |
15 | 2 | 0 | @_ ? : |
38 | 5 | 41 | defined $len ? : |
46 | 7 | @_ ? : | |
39 | 28 | 24 | if $self->{'fail'} or --$self->{'pending'} or $self->{'lock'} |
44 | 23 | 1 | if (my $cb = shift @{$$self{'steps'};}) |
45 | 4 | 19 | unless (eval { do { $self->$cb(@args); 1 } }) |
52 | 10 | 10 | unless $self->{'counter'} |
53 | 3 | 7 | unless $self->{'pending'} |