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 | 105930 | use strict; | |||
4 | 9 | ||||||
4 | 138 | ||||||
3 | 4 | 4 | 21 | use warnings; | |||
4 | 7 | ||||||
4 | 218 | ||||||
4 | { our $VERSION = '0.006'; } | ||||||
5 | |||||||
6 | 4 | 4 | 19 | use Moo::Role; | |||
4 | 7 | ||||||
4 | 32 | ||||||
7 | requires 'process'; | ||||||
8 | |||||||
9 | sub processor { | ||||||
10 | 2 | 2 | 1 | 3676 | my $self = shift; | ||
11 | 2 | 3 | 13 | return sub { return $self->process(@_) }; | |||
3 | 1935 | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; |