File Coverage

blib/lib/RPerl/Test/Properties/Class_01_Bad_00.pm
Criterion Covered Total %
statement 66 66 100.0
branch n/a
condition n/a
subroutine 22 22 100.0
pod n/a
total 88 88 100.0


line stmt bran cond sub pod time code
1             # [[[ PREPROCESSOR ]]]
2             # <<< GENERATE_ERROR: 'ERROR ECOGEAS' >>>
3             # <<< GENERATE_ERROR: 'P11' >>>
4             # <<< GENERATE_ERROR: "OO property 'yyz' already declared in parent namespace 'RPerl::Test::Foo::'" >>>
5             # <<< GENERATE_ERROR: 'name masking disallowed' >>>
6              
7             # [[[ HEADER ]]]
8 1     1   8 use RPerl;
  1         4  
  1         12  
9             package RPerl::Test::Properties::Class_01_Bad_00;
10             use strict;
11 1     1   70 use warnings;
  1         7  
  1         25  
12 1     1   7 our $VERSION = 0.001_000;
  1         3  
  1         208  
13              
14 1     1   12 # [[[ OO INHERITANCE ]]]
  1         3  
  1         121  
15             use parent qw(RPerl::Test::Foo);
16             use RPerl::Test::Foo;
17              
18             # [[[ CRITICS ]]]
19 1     1   9 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         3  
  1         54  
20 1     1   7 ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
  1         2  
  1         12  
21              
22             # [[[ OO PROPERTIES ]]]
23 1     1   92 our hashref $properties = {
  1         4  
  1         13  
24 1     1   14 yyz => my number_hashref $TYPED_yyz = { a => 2.2, b => 5.3, c => 8.4 }
  1         3  
  1         6  
25             };
26              
27 1     1   73 1; # end of class
  1         3  
  1         29