blib/lib/Bot/Cobalt/IRC/Event/Channel.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 75.0% 6 / 8 SCAR 0.4
CC
1
Cov
67%
BEGIN
1.3
BEGIN
1.0
CRAP 1.0
« blib/lib/Bot/Cobalt/Core/Sugar.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Kick.pm »
1 package Bot::Cobalt::IRC::Event::Channel;
2 $Bot::Cobalt::IRC::Event::Channel::VERSION = '0.021002';
3 ## Generic channel events.
4  
5 1 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Bot::Cobalt::Common qw/:types/;
Subroutine BEGIN: called CC=1 SCAR=2.6
7  
8 use Moo;
9 extends 'Bot::Cobalt::IRC::Event';
10  
11 has 'channel' => ( is => 'rw', isa => Str, required => 1 );
12  
13 1;
14 __END__
« blib/lib/Bot/Cobalt/Core/Sugar.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Kick.pm »