TeamCity/Types.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TeamCity/Entity/HasWebURL.pm ↑ Summary
1 package WebService::TeamCity::Types;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 our $VERSION = '0.04';
7  
8 use Type::Library
9 4 ▶ -base,
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 -declare => qw( BuildStatus DateTimeObject JSONBool TestStatus );
11 4 ▶use Type::Utils qw( class_type enum union );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 4 enum BuildStatus, [qw( SUCCESS FAILURE ERROR UNKNOWN )];
14  
15 4 enum TestStatus, [qw( SUCCESS FAILURE UNKNOWN )];
16  
17 4 class_type DateTimeObject, { class => 'DateTime' };
18  
19 4 union JSONBool, [
20 class_type('JSON::PP::Boolean'),
21 class_type('JSON::XS::Boolean'),
22 ];
23  
24 4 1;
« TeamCity/Entity/HasWebURL.pm ↑ Summary