blib/lib/Bot/Cobalt/IRC/Event/Quit.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/Nick.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Topic.pm »
1 package Bot::Cobalt::IRC::Event::Quit;
2 $Bot::Cobalt::IRC::Event::Quit::VERSION = '0.021002';
3 1 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use Bot::Cobalt::Common qw/:types/;
Subroutine BEGIN: called CC=1 SCAR=2.6
6  
7 use Moo;
8 extends 'Bot::Cobalt::IRC::Event';
9  
10 has reason => (
11 lazy => 1,
12 is => 'rw',
13 isa => Str,
14 default => sub {''},
15 );
16  
17 has common => (
18 lazy => 1,
19 is => 'rw',
20 isa => ArrayObj,
21 coerce => 1,
22 default => sub {[]},
23 );
24  
25 1;
26 __END__
« blib/lib/Bot/Cobalt/IRC/Event/Nick.pm ↑ Summary blib/lib/Bot/Cobalt/IRC/Event/Topic.pm »