Backbone/Service/Role/Service.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
shutdown
1.0
CRAP 1.0
« Backbone/Service/Role/Sender.pm ↑ Summary
1 package Bot::Backbone::Service::Role::Service;
2 4 $Bot::Backbone::Service::Role::Service::VERSION = '0.161950';
3 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: Role implemented by all bot services
6  
7  
8 4 has name => (
9 is => 'ro',
10 isa => 'Str',
11 required => 1,
12 );
13  
14  
15 4 has bot => (
16 is => 'ro',
17 isa => 'Bot::Backbone::Bot',
18 required => 1,
19 weak_ref => 1,
20 handles => {
21 get_service => 'get_service',
22 },
23 );
24  
25  
26 4 requires qw( initialize );
27  
28  
29 3 ▶sub shutdown { }
Subroutine shutdown: called CC=1 SCAR=0.0
Pod documented
30  
31 4 1;
32  
33 __END__
« Backbone/Service/Role/Sender.pm ↑ Summary