Crop/Type/Status.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
Table
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crop::Type::Status;
2 use base qw/ Crop::Object::Simple Exporter /;
3  
4 =begin nd
5 Class: Crop::Type::Status
6 Status of any Object.
7  
8 Status are:
9  
10 - ACTIVE
11 - DEL
12 - HIDE
13 - ARCH
14 - WAIT
15  
16 =cut
17  
18 use v5.14;
19 use warnings;
20  
21 our @EXPORT = qw/ STATUS_ACTIVE STATUS_DEL STATUS_HIDE STATUS_ARCH /;
22  
23 use constant {
24 STATUS_ACTIVE => 1,
25 STATUS_DEL => 2,
26 STATUS_HIDE => 3,
27 STATUS_ARCH => 4,
28 STATUS_WAIT => 5,
29 };
30  
31 =begin nd
32 Variable: our %Attributes
33 Attributes:
34  
35 code - for use in Perl
36 description - description
37 id - from <Crop::Object::Simple>
38 name - unique name
39 =cut
40 our %Attributes = (
41 code => undef,
42 description => undef,
43 name => undef,
44 );
45  
46 =begin nd
47 Method: Table ( )
48 Table in Warehouse.
49  
50 Returns:
51 'status' string
52 =cut
53 sub Table { 'status' }
54  
55 1;