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   20 use Moose;
  4         7  
  4         27  
3 4     4   19950 use MooseX::StrictConstructor;
  4         9  
  4         32  
4 4     4   9177 use Moose::Util::TypeConstraints;
  4         9  
  4         33  
5 4     4   5665 use namespace::autoclean;
  4         6  
  4         34  
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;