Peer/Types.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Peer/Subscription/Ephemeral.pm ↑ Summary
1 # ABSTRACT: Types for Net::Object::Peer
2 package Net::Object::Peer::Types;
3  
4 19 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 19 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 19 our $VERSION = '0.06'; # TRIAL
8  
9 use Type::Library
10 19 ▶ -base,
Subroutine BEGIN: called CC=1 SCAR=0.0
11 19 -declare => qw[ Identifier ];
12  
13 19 ▶use Type::Utils -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 19 ▶use Types::Standard -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 declare Identifier,
17 as Str,
18 293 ▶where { $_[0] !~ /\W/ };
Subroutine __ANON__: called CC=1 SCAR=0.0
19  
20 19 1;
21  
22 __END__
« Peer/Subscription/Ephemeral.pm ↑ Summary