File Coverage

blib/lib/RPerl/DataStructure/Hash/Properties.pm
Criterion Covered Total %
statement 27 27 100.0
branch n/a
condition n/a
subroutine 9 9 100.0
pod n/a
total 36 36 100.0


line stmt bran cond sub pod time code
1             # [[[ HEADER ]]]
2             package RPerl::DataStructure::Hash::Properties;
3 4     4   26 use strict;
  4         10  
  4         103  
4 4     4   18 use warnings;
  4         12  
  4         86  
5 4     4   19 use RPerl::AfterSubclass;
  4         9  
  4         478  
6             our $VERSION = 0.001_100;
7              
8             # [[[ OO INHERITANCE ]]]
9             #use parent qw(RPerl::GrammarRule RPerl::DataStructure::Hash); # NEED UPGRADE, CORRELATION #rp023: Inline::CPP support for multiple inheritance
10 4     4   28 use parent qw(RPerl::GrammarRule);
  4         12  
  4         22  
11 4     4   212 use RPerl::GrammarRule;
  4         13  
  4         91  
12              
13             # [[[ CRITICS ]]]
14             ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
15             ## no critic qw(Capitalization ProhibitMultiplePackages ProhibitReusedNames) # SYSTEM DEFAULT 3: allow multiple & lower case package names
16              
17             # [[[ INCLUDES ]]]
18 4     4   23 use Scalar::Util 'blessed';
  4         10  
  4         340  
19              
20             # [[[ OO PROPERTIES ]]]
21             our hashref $properties = { # whoah, so meta
22             property_entries => my object_hashref $TYPED_property_entries = undef
23             };
24              
25             # [[[ SUBROUTINES & OO METHODS ]]]
26              
27             # ...
28              
29             # [[[ SUB-TYPES ]]]
30              
31             # a property is a data structure belonging to a class or object, each RPerl object has a properties hash
32             package # hide from PAUSE indexing
33             properties;
34 4     4   25 use strict;
  4         10  
  4         75  
35 4     4   19 use warnings;
  4         14  
  4         116  
36 4     4   24 use parent qw(RPerl::DataStructure::Hash::Properties);
  4         8  
  4         19  
37              
38             1; # end of class