Kit/Parts/Types.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 91.6% 22 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Kit/Parts/Moo.pm ↑ Summary
1 package Code::Style::Kit::Parts::Types;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 our $VERSION = '1.0.3'; # VERSION
5 # ABSTRACT: type constraints
6  
7  
8 1 ▶use Import::Into;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶sub feature_types_default { 0 }
Subroutine feature_types_default: called CC=1 SCAR=0.0
Pod undocumented
11 2 ▶sub feature_types_export {
Subroutine feature_types_export: called CC=1 SCAR=0.0
Pod undocumented
12 2 my ($self, $caller) = @_;
13  
14 2 require Type::Params;
15 2 Type::Params->import::into($caller);
16 2 require Types::Standard;
17 2 Types::Standard->import::into(
18 $caller,
19 "Any",
20 "Item",
21 "Bool",
22 "Undef",
23 "Defined",
24 "Value",
25 "Str",
26 "Num",
27 "Int",
28 "ClassName",
29 "RoleName",
30 "Ref",
31 "CodeRef",
32 "RegexpRef",
33 "FileHandle",
34 "ArrayRef",
35 "HashRef",
36 "ScalarRef",
37 "Object",
38 "Maybe",
39 "Map",
40 "Optional",
41 "Tuple",
42 "Dict",
43 "InstanceOf",
44 "ConsumerOf",
45 "HasMethods",
46 );
47 }
48  
49 1 1;
50  
51 __END__
« Kit/Parts/Moo.pm ↑ Summary