Cfn/Resource/AWS/Serverless/LayerVersion.pm

filter: Statementstmt 96.5% 28 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 89.4% 34 / 38 CC 1 SCAR 0.2
CC
1
Cov
97%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Cfn/Resource/AWS/Pinpoint/EmailTemplate.pm ↑ Summary Cfn/Resource/AWS/EC2/TrafficMirrorSession.pm »
1 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 coerce 'Cfn::Resource::Properties::AWS::Serverless::LayerVersion',
4 from 'HashRef',
5 0 ▶ via { Cfn::Resource::Properties::AWS::Serverless::LayerVersion->new(%$_) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
6  
7 1 package Cfn::Resource::AWS::Serverless::LayerVersion {
8 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 extends 'Cfn::Resource';
10 1 has Properties => ( isa => 'Cfn::Resource::Properties::AWS::Serverless::LayerVersion', is => 'rw', coerce => 1 );
11  
12 sub supported_regions {
13 1 ▶ require Cfn::Resource::AWS::Lambda::Function;
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
14 1 Cfn::Resource::AWS::Lambda::Function->supported_regions;
15 }
16  
17 sub AttributeList {
18 1 ▶ []
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
19 }
20 }
21  
22 1 package Cfn::Resource::Properties::AWS::Serverless::LayerVersion {
23 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 extends 'Cfn::Resource::Properties';
26  
27 1 has LayerName => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
28 1 has Description => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
29 1 has ContentUri => ( isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1 );
30 1 has CompatibleRuntimes => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
31 1 has LicenseInfo => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
32 1 has RetentionPolicy => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
33 }
34  
35 1 1;
« Cfn/Resource/AWS/Pinpoint/EmailTemplate.pm ↑ Summary Cfn/Resource/AWS/EC2/TrafficMirrorSession.pm »