| blib/lib/Bot/ChatBots/Role/Processor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 12 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | 1 | 1 | 100.0 |
| total | 18 | 18 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Bot::ChatBots::Role::Processor; | ||||||
| 2 | 4 | 4 | 85634 | use strict; | |||
| 4 | 9 | ||||||
| 4 | 94 | ||||||
| 3 | 4 | 4 | 17 | use warnings; | |||
| 4 | 7 | ||||||
| 4 | 132 | ||||||
| 4 | { our $VERSION = '0.014'; } | ||||||
| 5 | |||||||
| 6 | 4 | 4 | 17 | use Moo::Role; | |||
| 4 | 6 | ||||||
| 4 | 16 | ||||||
| 7 | requires 'process'; | ||||||
| 8 | |||||||
| 9 | sub processor { | ||||||
| 10 | 2 | 2 | 1 | 3542 | my $self = shift; | ||
| 11 | 2 | 3 | 14 | return sub { return $self->process(@_) }; | |||
| 3 | 2406 | ||||||
| 12 | } | ||||||
| 13 | |||||||
| 14 | 1; |