Zuora/Types.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 82.6% 19 / 23 CC 1 SCAR 0.4
CC
1
Cov
88%
__ANON__
1.1
__ANON__
1.1
BEGIN
1.0
CRAP 1.0
« Zuora/ZObject/MetaClassRole.pm ↑ Summary Zuora.pm »
1 package Net::Zuora::Types;
2 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 5 ▶use MooseX::Types -declare => [qw[
Subroutine BEGIN: called CC=1 SCAR=0.0
6 AccountStatus
7 CreateOrUpdate
8 5 ]];
9  
10 5 ▶use MooseX::Types::Moose qw/Str/;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 subtype AccountStatus,
13 as Str,
14 0 ▶ where { /^(Draft|Active|Canceled)$/ };
Subroutine __ANON__: not called CC=1 SCAR=1.2
15  
16 subtype CreateOrUpdate,
17 as Str,
18 0 ▶ where { /^(create|update)$/ };
Subroutine __ANON__: not called CC=1 SCAR=1.2
19  
20 5 1;
21  
« Zuora/ZObject/MetaClassRole.pm ↑ Summary Zuora.pm »