Iller/Prereq.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Iller/Elk.pm ↑ Summary Zilla/MintingProfile/DistIller/Basic.pm »
1 11 ▶use 5.14.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Dist::Iller::Prereq;
6  
7 11 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
8 # ABSTRACT: Handle a prerequisite
9 11 our $VERSION = '0.1411';
10  
11 11 ▶use Dist::Iller::Elk;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 11 ▶use Types::Standard qw/Str Enum/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 11 has module => (
15 is => 'ro',
16 isa => Str,
17 required => 1,
18 );
19 11 has phase => (
20 is => 'ro',
21 isa => Enum[qw/build configure develop runtime test/],
22 required => 1,
23 );
24 11 has relation => (
25 is => 'ro',
26 isa => Enum[qw/requires recommends suggests conflicts/],
27 required => 1,
28 );
29 11 has version => (
30 is => 'rw',
31 isa => Str,
32 default => '0',
33 );
34  
35 11 __PACKAGE__->meta->make_immutable;
36  
37 11 1;
38  
39 __END__
« Iller/Elk.pm ↑ Summary Zilla/MintingProfile/DistIller/Basic.pm »