blib/lib/Promises6/Evo/Deferred.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 19 | 20 | 95.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Promises6::Evo::Deferred; | ||||||
2 | 26 | 26 | 111 | use Evo::Base 'Promises6::Deferred'; | |||
26 | 41 | ||||||
26 | 148 | ||||||
3 | 26 | 26 | 15523 | use Evo; | |||
26 | 8234 | ||||||
26 | 2770 | ||||||
4 | |||||||
5 | 169 | 50 | 169 | 1 | 2401 | sub send_msg($self, @args) { | |
169 | 190 | ||||||
169 | 516 | ||||||
169 | 193 | ||||||
6 | 169 | 2647 | my $train = $self->builder->train; | ||||
7 | 169 | 169 | 137922 | Evo::asap { $self->SUPER::send_msg(@args) }; | |||
169 | 53820 | ||||||
8 | } | ||||||
9 | |||||||
10 | 1; | ||||||
11 | |||||||
12 | # ABSTRACT: A deferred class | ||||||
13 | |||||||
14 | __END__ |