blib/lib/Bot/Cobalt/IRC/Event/Kick.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::Kick; | ||||||
2 | $Bot::Cobalt::IRC::Event::Kick::VERSION = '0.021003'; | ||||||
3 | 6 | 6 | 14049 | use strictures 2; | |||
6 | 1091 | ||||||
6 | 205 | ||||||
4 | 6 | 6 | 1188 | use Bot::Cobalt::Common qw/:types/; | |||
6 | 13 | ||||||
6 | 29 | ||||||
5 | |||||||
6 | 6 | 6 | 513 | use Moo; | |||
6 | 6256 | ||||||
6 | 32 | ||||||
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__ |