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
|
|
802
|
use v5.14; |
|
6
|
|
|
|
|
24
|
|
12
|
6
|
|
|
6
|
|
37
|
use utf8; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
39
|
|
13
|
6
|
|
|
6
|
|
610
|
use Role::Commons -all; |
|
6
|
|
|
|
|
25904
|
|
|
6
|
|
|
|
|
48
|
|
14
|
6
|
|
|
6
|
|
38307
|
use namespace::autoclean 0.16; |
|
6
|
|
|
|
|
11965
|
|
|
6
|
|
|
|
|
42
|
|
15
|
6
|
|
|
6
|
|
952
|
use autodie; |
|
6
|
|
|
|
|
13845
|
|
|
6
|
|
|
|
|
44
|
|
16
|
|
|
|
|
|
|
|
17
|
6
|
|
|
6
|
|
34576
|
use Moo; |
|
6
|
|
|
|
|
2907
|
|
|
6
|
|
|
|
|
34
|
|
18
|
6
|
|
|
6
|
|
4672
|
use MooX::StrictConstructor; |
|
6
|
|
|
|
|
2625
|
|
|
6
|
|
|
|
|
47
|
|
19
|
|
|
|
|
|
|
extends qw(Boxer::Part); |
20
|
|
|
|
|
|
|
|
21
|
6
|
|
|
6
|
|
29931
|
use Types::Standard qw(Str Maybe ArrayRef HashRef); |
|
6
|
|
|
|
|
62172
|
|
|
6
|
|
|
|
|
75
|
|
22
|
6
|
|
|
6
|
|
7442
|
use Boxer::Types qw( Suite ); |
|
6
|
|
|
|
|
21
|
|
|
6
|
|
|
|
|
62
|
|
23
|
|
|
|
|
|
|
|
24
|
6
|
|
|
6
|
|
2381
|
use strictures 2; |
|
6
|
|
|
|
|
54
|
|
|
6
|
|
|
|
|
271
|
|
25
|
6
|
|
|
6
|
|
1286
|
no warnings "experimental::signatures"; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
1442
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 VERSION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Version v1.4.1 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
our $VERSION = "v1.4.1"; |
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; |