ChatBots/Role/Processor.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ChatBots.pm ↑ Summary
1 package Bot::ChatBots::Role::Processor;
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 { our $VERSION = '0.014'; }
5  
6 4 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 requires 'process';
8  
9 2 ▶sub processor {
Subroutine processor: called CC=1 SCAR=0.0
Pod documented
10 2 my $self = shift;
11 2 ▶ return sub { return $self->process(@_) };
Subroutine __ANON__: called CC=1 SCAR=0.0
12 }
13  
14 4 1;
« ChatBots.pm ↑ Summary