| 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.021002'; | ||||||
| 3 | 6 | 6 | 21228 | use strictures 2; | |||
| 6 | 1120 | ||||||
| 6 | 185 | ||||||
| 4 | 6 | 6 | 1176 | use Bot::Cobalt::Common qw/:types/; | |||
| 6 | 9 | ||||||
| 6 | 30 | ||||||
| 5 | |||||||
| 6 | 6 | 6 | 464 | use Moo; | |||
| 6 | 5918 | ||||||
| 6 | 26 | ||||||
| 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__ |