blib/lib/Perl/Structure/Hash/Properties.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # [[[ HEADER ]]]
2 package Perl::Structure::Hash::Properties;
3 use strict;
4 use warnings;
5 use Perl::Config; # don't use Perl::Types inside itself, in order to avoid circular includes
6 our $VERSION = 0.001_100;
7  
8 # [[[ OO INHERITANCE ]]]
9 use parent qw(Perl::Structure::Hash);
10 use Perl::Structure::Hash;
11  
12 # [[[ CRITICS ]]]
13 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
14 ## no critic qw(Capitalization ProhibitMultiplePackages ProhibitReusedNames) # SYSTEM DEFAULT 3: allow multiple & lower case package names
15  
16 # [[[ INCLUDES ]]]
17 use Scalar::Util 'blessed';
18  
19 # [[[ OO PROPERTIES ]]]
20 our hashref $properties = { # whoah, so meta
21 property_entries => my object_hashref $TYPED_property_entries = undef
22 };
23  
24 # [[[ SUBROUTINES & OO METHODS ]]]
25  
26 # ...
27  
28 # [[[ SUB-TYPES ]]]
29  
30 # a property is a data structure belonging to a class or object, each RPerl object has a properties hash
31 package # hide from PAUSE indexing
32 properties;
33 use strict;
34 use warnings;
35 use parent qw(Perl::Structure::Hash::Properties);
36  
37 1; # end of class