File Coverage

blib/lib/Git/PurePerl/NewObject/Tag.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Git::PurePerl::NewObject::Tag;
2 4     4   19 use Moose;
  4         5  
  4         28  
3 4     4   20154 use MooseX::StrictConstructor;
  4         8  
  4         36  
4 4     4   9554 use Moose::Util::TypeConstraints;
  4         8  
  4         31  
5 4     4   5866 use namespace::autoclean;
  4         8  
  4         36  
6              
7             extends 'Git::PurePerl::NewObject';
8              
9             has 'kind' =>
10             ( is => 'ro', isa => 'ObjectKind', required => 1, default => 'tag' );
11             has 'object' => ( is => 'rw', isa => 'Str', required => 1 );
12             has 'tag' => ( is => 'rw', isa => 'Str', required => 1 );
13             has 'tagger' => ( is => 'rw', isa => 'Str', required => 1 );
14             has 'comment' => ( is => 'rw', isa => 'Str', required => 1 );
15              
16             __PACKAGE__->meta->make_immutable;
17              
18             1;