File Coverage

blib/lib/CPAN/Meta/Prereqs/Diff/Role/Change.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1 10     10   2155350 use 5.006; # our
  10         31  
2 10     10   48 use strict;
  10         17  
  10         231  
3 10     10   37 use warnings;
  10         14  
  10         698  
4              
5             package CPAN::Meta::Prereqs::Diff::Role::Change;
6              
7             our $VERSION = '0.001003';
8              
9             # ABSTRACT: A base behavior for prerequisite changes
10              
11             our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
12              
13 10     10   724 use Moo::Role qw( has requires );
  10         32573  
  10         58  
14              
15              
16              
17              
18              
19              
20              
21              
22              
23              
24              
25              
26              
27              
28              
29             has 'phase' => ( is => ro =>, required => 1, );
30             has 'type' => ( is => ro =>, required => 1, );
31             has 'module' => ( is => ro =>, required => 1, );
32              
33              
34              
35              
36              
37              
38              
39              
40              
41              
42              
43             requires is_addition =>;
44             requires is_removal =>;
45             requires is_change =>;
46             requires describe =>;
47              
48 10     10   3815 no Moo;
  10         1882  
  10         60  
49              
50             1;
51              
52             __END__
53              
54             =pod
55              
56             =encoding UTF-8
57              
58             =head1 NAME
59              
60             CPAN::Meta::Prereqs::Diff::Role::Change - A base behavior for prerequisite changes
61              
62             =head1 VERSION
63              
64             version 0.001003
65              
66             =head1 ATTRIBUTES
67              
68             =head2 C<phase>
69              
70             The dependency phase ( such as: C<runtime>,C<configure> )
71              
72             =head2 C<type>
73              
74             The dependency type ( such as: C<requires>,C<suggests> )
75              
76             =head2 C<module>
77              
78             The depended upon module
79              
80             =head1 REQUIRES
81              
82             =head2 C<is_addition>
83              
84             =head2 C<is_removal>
85              
86             =head2 C<is_change>
87              
88             =head2 C<describe>
89              
90             =head1 AUTHOR
91              
92             Kent Fredric <kentnl@cpan.org>
93              
94             =head1 COPYRIGHT AND LICENSE
95              
96             This software is copyright (c) 2015 by Kent Fredric <kentfredric@gmail.com>.
97              
98             This is free software; you can redistribute it and/or modify it under
99             the same terms as the Perl 5 programming language system itself.
100              
101             =cut