blib/lib/Langertha/Role/ServerTools.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« blib/lib/Langertha/Role/Runnable.pm ↑ Summary blib/lib/Langertha/Role/StreamUsage.pm »
1 package Langertha::Role::ServerTools;
2 # ABSTRACT: Role for an engine whose wire accepts provider-native server-side tools
3 30 our $VERSION = '0.505';
4 30 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 30 ▶use Langertha::ServerTool;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 has server_tools => (
9 is => 'ro',
10 isa => 'ArrayRef',
11 287 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
12 30 );
13  
14  
15 47 ▶sub _server_tool_wire_check {
Subroutine _server_tool_wire_check: called CC=1 SCAR=0.0
16 47 my ( $self, $server_tool ) = @_;
17 47 return $server_tool->to( $server_tool->wire );
18 }
19  
20  
21  
22 30 1;
23  
24 __END__
« blib/lib/Langertha/Role/Runnable.pm ↑ Summary blib/lib/Langertha/Role/StreamUsage.pm »