| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Boxer::Part::Reclass; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=encoding UTF-8 |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Boxer::Part::Reclass - software component as a reclass node or class |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
|
10
|
|
|
|
|
|
|
|
|
11
|
6
|
|
|
6
|
|
787
|
use v5.14; |
|
|
6
|
|
|
|
|
18
|
|
|
12
|
6
|
|
|
6
|
|
32
|
use utf8; |
|
|
6
|
|
|
|
|
13
|
|
|
|
6
|
|
|
|
|
37
|
|
|
13
|
6
|
|
|
6
|
|
594
|
use Role::Commons -all; |
|
|
6
|
|
|
|
|
25925
|
|
|
|
6
|
|
|
|
|
39
|
|
|
14
|
6
|
|
|
6
|
|
38144
|
use namespace::autoclean 0.16; |
|
|
6
|
|
|
|
|
12242
|
|
|
|
6
|
|
|
|
|
40
|
|
|
15
|
6
|
|
|
6
|
|
929
|
use autodie; |
|
|
6
|
|
|
|
|
14243
|
|
|
|
6
|
|
|
|
|
50
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
6
|
|
|
6
|
|
30426
|
use Moo; |
|
|
6
|
|
|
|
|
3068
|
|
|
|
6
|
|
|
|
|
31
|
|
|
18
|
6
|
|
|
6
|
|
4242
|
use MooX::StrictConstructor; |
|
|
6
|
|
|
|
|
2748
|
|
|
|
6
|
|
|
|
|
32
|
|
|
19
|
|
|
|
|
|
|
extends qw(Boxer::Part); |
|
20
|
|
|
|
|
|
|
|
|
21
|
6
|
|
|
6
|
|
30321
|
use Types::Standard qw(Str Maybe ArrayRef HashRef); |
|
|
6
|
|
|
|
|
64195
|
|
|
|
6
|
|
|
|
|
60
|
|
|
22
|
6
|
|
|
6
|
|
6414
|
use Boxer::Types qw( Suite ); |
|
|
6
|
|
|
|
|
18
|
|
|
|
6
|
|
|
|
|
43
|
|
|
23
|
|
|
|
|
|
|
|
|
24
|
6
|
|
|
6
|
|
2163
|
use strictures 2; |
|
|
6
|
|
|
|
|
46
|
|
|
|
6
|
|
|
|
|
235
|
|
|
25
|
6
|
|
|
6
|
|
1182
|
no warnings "experimental::signatures"; |
|
|
6
|
|
|
|
|
15
|
|
|
|
6
|
|
|
|
|
1203
|
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 VERSION |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Version v1.4.2 |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
our $VERSION = "v1.4.2"; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Outside the box is a World of software, |
|
38
|
|
|
|
|
|
|
consisting of parts. |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
B<Boxer::Part::Reclass> represents a part of a L<Boxer::World> |
|
41
|
|
|
|
|
|
|
structured as a B<reclass> node or class. |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
L<Boxer>. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
has id => ( |
|
50
|
|
|
|
|
|
|
is => 'ro', |
|
51
|
|
|
|
|
|
|
isa => Str, |
|
52
|
|
|
|
|
|
|
); |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
has classes => ( |
|
55
|
|
|
|
|
|
|
is => 'ro', |
|
56
|
|
|
|
|
|
|
isa => Maybe [ ArrayRef [Str] ], |
|
57
|
|
|
|
|
|
|
); |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
has doc => ( |
|
60
|
|
|
|
|
|
|
is => 'ro', |
|
61
|
|
|
|
|
|
|
isa => HashRef, |
|
62
|
|
|
|
|
|
|
); |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
has pkg => ( |
|
65
|
|
|
|
|
|
|
is => 'ro', |
|
66
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
67
|
|
|
|
|
|
|
); |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
has 'pkg-auto' => ( |
|
70
|
|
|
|
|
|
|
is => 'ro', |
|
71
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
72
|
|
|
|
|
|
|
); |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
has 'pkg-avoid' => ( |
|
75
|
|
|
|
|
|
|
is => 'ro', |
|
76
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
77
|
|
|
|
|
|
|
); |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
has 'pkg-nonfree' => ( |
|
80
|
|
|
|
|
|
|
is => 'ro', |
|
81
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
82
|
|
|
|
|
|
|
); |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
has 'pkg-nonfree-auto' => ( |
|
85
|
|
|
|
|
|
|
is => 'ro', |
|
86
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
87
|
|
|
|
|
|
|
); |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has bug => ( |
|
90
|
|
|
|
|
|
|
is => 'ro', |
|
91
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
92
|
|
|
|
|
|
|
); |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
has tweak => ( |
|
95
|
|
|
|
|
|
|
is => 'ro', |
|
96
|
|
|
|
|
|
|
isa => ArrayRef [Str], |
|
97
|
|
|
|
|
|
|
); |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
has epoch => ( |
|
100
|
|
|
|
|
|
|
is => 'ro', |
|
101
|
|
|
|
|
|
|
isa => Suite, |
|
102
|
|
|
|
|
|
|
); |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 AUTHOR |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Jonas Smedegaard C<< <dr@jones.dk> >>. |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:JONASS'; |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENCE |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Copyright © 2016 Jonas Smedegaard |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
117
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTIES |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED |
|
122
|
|
|
|
|
|
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
|
123
|
|
|
|
|
|
|
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
1; |