blib/lib/OS/Package/Application.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 | 5 | 5 | 1946 | use v5.14.0; | |||
5 | 13 | ||||||
5 | 173 | ||||||
2 | 5 | 5 | 20 | use warnings; | |||
5 | 5 | ||||||
5 | 235 | ||||||
3 | |||||||
4 | package OS::Package::Application; | ||||||
5 | |||||||
6 | # ABSTRACT: OS::Package::Application object. | ||||||
7 | our $VERSION = '0.2.7'; # VERSION | ||||||
8 | |||||||
9 | 5 | 5 | 1471 | use Moo; | |||
5 | 34316 | ||||||
5 | 28 | ||||||
10 | 5 | 5 | 5726 | use Types::Standard qw( Str InstanceOf ); | |||
5 | 151563 | ||||||
5 | 62 | ||||||
11 | |||||||
12 | has [qw/name version/] => ( is => 'rw', isa => Str, required => 1 ); | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |