RequestPart/CustomFields.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RequestPart/Check.pm ↑ Summary RequestPart/Identification.pm »
1 package Business::PaperlessTrans::RequestPart::CustomFields;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.002000'; # VERSION
7  
8 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 extends 'MooseY::RemoteHelper::MessagePart';
10 2 with 'MooseX::RemoteHelper::CompositeSerialization';
11  
12 2 ▶use MooseX::Types::Common::String qw( NonEmptySimpleStr );
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 2 foreach my $i ( 1..30 ) {
15 60 has "field_$i" => (
16 remote_name => "Field_$i",
17 isa => NonEmptySimpleStr,
18 is => 'ro',
19 );
20 }
21  
22 2 __PACKAGE__->meta->make_immutable;
23 2 1;
24 # ABSTRACT: CustomFields
25  
26 __END__
« RequestPart/Check.pm ↑ Summary RequestPart/Identification.pm »