File Coverage

blib/lib/Bot/Cobalt/IRC/Event/Quit.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Bot::Cobalt::IRC::Event::Quit;
2             $Bot::Cobalt::IRC::Event::Quit::VERSION = '0.021002';
3 6     6   13145 use strictures 2;
  6         1068  
  6         200  
4              
5 6     6   1224 use Bot::Cobalt::Common qw/:types/;
  6         9  
  6         34  
6              
7 6     6   442 use Moo;
  6         5791  
  6         28  
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__