blib/lib/Bot/Cobalt/IRC/Event/Kick.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/IRC/Event/Channel.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Nick.pm »
1 package Bot::Cobalt::IRC::Event::Kick;
2 $Bot::Cobalt::IRC::Event::Kick::VERSION = '0.021002';
3 1 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Bot::Cobalt::Common qw/:types/;
Subroutine BEGIN: called CC=1 SCAR=2.6
5  
6 use Moo;
7 extends 'Bot::Cobalt::IRC::Event::Channel';
8  
9 has kicked => ( is => 'rw', isa => Str, required => 1 );
10 has reason => ( is => 'rw', isa => Str, required => 1 );
11  
12 1;
13 __END__
« blib/lib/Bot/Cobalt/IRC/Event/Channel.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Nick.pm »