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   17 use Moose;
  4         5  
  4         24  
3 4     4   17116 use MooseX::StrictConstructor;
  4         7  
  4         28  
4 4     4   7833 use Moose::Util::TypeConstraints;
  4         7  
  4         30  
5 4     4   4792 use namespace::autoclean;
  4         7  
  4         31  
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;