Crop/Prop/Value.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::Prop::Value;
2 use base qw/ Crop::Object::Simple /;
3  
4 =begin nd
5 Class: Crop::Prop::Value
6 Global value.
7
8 The Value isn't linked to user-defined objects. Object have link to Value instead.
9 =cut
10  
11 use v5.14;
12 use warnings;
13  
14 =begin nd
15 Variable: our %Attributes
16 Class attributes:
17
18 id_prop - id of prop <Crop::Prop>
19 id_proptype - id of prop type <Crop::Prop::Type> ; fkey=propscale
20 id_sys - id of sys <Crop::Sys> ; fkey=propscale
21 proppart_n - part number of complex value ; fkey=propscale
22 propscale_n - propscale number <Crop::Prop::Scale>; fkey=propscale
23 val_id_file - real value for the file
24 val_int - real value for the integer
25 val_string - real value for the string
26 =cut
27 our %Attributes = (
28 id_prop => {key => 'extern'},
29 id_proptype => {mode => 'read', key => 'extern'},
30 id_sys => {key => 'extern'},
31 proppart_n => {key => 'extern'},
32 propscale_n => {key => 'extern'},
33 val_id_file => {mode => 'read'},
34 val_int => {mode => 'read'},
35 val_string => {mode => 'read'},
36 );
37  
38 sub Table { 'val' }
39  
40 1;