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.021003';
3 6     6   14010 use strictures 2;
  6         1070  
  6         194  
4              
5 6     6   1157 use Bot::Cobalt::Common qw/:types/;
  6         12  
  6         32  
6              
7 6     6   453 use Moo;
  6         6007  
  6         29  
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__