blib/lib/Bot/Cobalt/IRC/Event/Topic.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Bot/Cobalt/IRC/Event/Kick.pm ↑ Summary blib/lib/Bot/Cobalt/Plugin/Games.pm »
1 package Bot::Cobalt::IRC::Event::Topic;
2 2 $Bot::Cobalt::IRC::Event::Topic::VERSION = '0.021001';
3 2 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Bot::Cobalt::Common qw/:types :string/;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 extends 'Bot::Cobalt::IRC::Event::Channel';
8  
9 2 has topic => (
10 required => 1,
11 is => 'rw',
12 isa => Str,
13 );
14  
15 has stripped => (
16 lazy => 1,
17 is => 'ro',
18 isa => Str,
19 default => sub {
20 1 ▶ strip_color( strip_formatting( $_[0]->topic ) )
Subroutine __ANON__: called CC=1 SCAR=0.0
21 },
22 2 );
23  
24 2 1;
25 __END__
« blib/lib/Bot/Cobalt/IRC/Event/Kick.pm ↑ Summary blib/lib/Bot/Cobalt/Plugin/Games.pm »