Crop/Unit.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
Table
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crop::Unit;
2  
3 =pod
4  
5 =head1 NAME
6  
7 Crop::Unit - Unit utilities for the Crop framework
8  
9 =head1 SYNOPSIS
10  
11 use Crop::Unit;
12 # ...usage...
13  
14 =head1 DESCRIPTION
15  
16 Crop::Unit provides unit-related utilities for the Crop framework.
17  
18 =head1 AUTHORS
19  
20 Euvgenio (Core Developer)
21  
22 Alex (Contributor)
23  
24 =head1 COPYRIGHT AND LICENSE
25  
26 Apache 2.0
27  
28 =cut
29  
30 use base qw/ Crop::Object::Simple /;
31  
32 =begin nd
33 Class: Crop::Unit
34 Units of phisical params.
35 =cut
36  
37 use v5.14;
38 use warnings;
39  
40 =begin nd
41 Variable: our %Attributes
42 Class attributes:
43
44 name - name for use as the code of unit
45 value - output format; enum (asis,int)
46 =cut
47 our %Attributes = (
48 name => {mode => 'read'},
49 value => {mode => 'read'},
50 );
51  
52 =begin nd
53 Method: Table ( )
54 Table in Warehouse.
55  
56 Returns:
57 'unit' string
58 =cut
59 sub Table { 'unit' }
60  
61 1;