blib/lib/Web/Dispatch/ToApp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 9 | 10 | 90.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Web::Dispatch::ToApp; | ||||||
2 | |||||||
3 | 13 | 13 | 90373 | use Moo::Role; | |||
13 | 20 | ||||||
13 | 69 | ||||||
4 | |||||||
5 | requires 'call'; | ||||||
6 | |||||||
7 | sub to_app { | ||||||
8 | 241 | 241 | 0 | 14322 | my ($self) = @_; | ||
9 | 241 | 241 | 637 | sub { $self->call(@_) } | |||
10 | 241 | 1121 | } | ||||
11 | |||||||
12 | 1; |