File Coverage

blib/lib/Git/PurePerl/NewDirectoryEntry.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::NewDirectoryEntry;
2 4     4   17 use Moose;
  4         5  
  4         22  
3 4     4   16053 use MooseX::StrictConstructor;
  4         7  
  4         24  
4 4     4   7413 use Moose::Util::TypeConstraints;
  4         5  
  4         29  
5 4     4   4829 use namespace::autoclean;
  4         5  
  4         29  
6              
7             has 'mode' => ( is => 'ro', isa => 'Str', required => 1 );
8             has 'filename' => ( is => 'ro', isa => 'Str', required => 1 );
9             has 'sha1' => ( is => 'ro', isa => 'Str', required => 1 );
10              
11             __PACKAGE__->meta->make_immutable;
12              
13             1;