blib/lib/Bot/Cobalt/IRC/Event/Channel.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::Channel; | ||||||
2 | $Bot::Cobalt::IRC::Event::Channel::VERSION = '0.021003'; | ||||||
3 | ## Generic channel events. | ||||||
4 | |||||||
5 | 8 | 8 | 16213 | use strictures 2; | |||
8 | 1207 | ||||||
8 | 380 | ||||||
6 | 8 | 8 | 1639 | use Bot::Cobalt::Common qw/:types/; | |||
8 | 14 | ||||||
8 | 43 | ||||||
7 | |||||||
8 | 8 | 8 | 538 | use Moo; | |||
8 | 6310 | ||||||
8 | 44 | ||||||
9 | extends 'Bot::Cobalt::IRC::Event'; | ||||||
10 | |||||||
11 | has 'channel' => ( is => 'rw', isa => Str, required => 1 ); | ||||||
12 | |||||||
13 | 1; | ||||||
14 | __END__ |