TeamCity/Entity/HasID.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TeamCity/Entity/HasDescription.pm ↑ Summary TeamCity/Entity/HasName.pm »
1 package WebService::TeamCity::Entity::HasID;
2  
3 4 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 our $VERSION = '0.04';
9  
10 4 ▶use Types::Standard qw( Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 4 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 4 has id => (
15 is => 'ro',
16 isa => Str,
17 required => 1,
18 );
19  
20 4 1;
21  
22 # ABSTRACT: Role for any REST API object with an ID
23  
24 __END__
« TeamCity/Entity/HasDescription.pm ↑ Summary TeamCity/Entity/HasName.pm »