File Coverage

blib/lib/OS/Package/Application.pm
Criterion Covered Total %
statement 10 12 83.3
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1 4     4   1987 use v5.14.0;
  4         9  
  4         121  
2 4     4   13 use warnings;
  4         4  
  4         146  
3              
4             package OS::Package::Application;
5              
6             # ABSTRACT: OS::Package::Application object.
7             our $VERSION = '0.2.5'; # VERSION
8              
9 4     4   1409 use Moo;
  4         31502  
  4         14  
10 4     4   4447 use Types::Standard qw( Str InstanceOf );
  0            
  0            
11              
12             has [qw/name version/] => ( is => 'rw', isa => Str, required => 1 );
13              
14             1;
15              
16             __END__