File Coverage

blib/lib/RPerl/Test/Properties/Class_01_Good.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             # [[[ HEADER ]]]
2 1     1   8 use RPerl;
  1         3  
  1         10  
3             package RPerl::Test::Properties::Class_01_Good;
4             use strict;
5 1     1   100 use warnings;
  1         7  
  1         30  
6 1     1   5 our $VERSION = 0.001_000;
  1         5  
  1         190  
7              
8 1     1   8 # [[[ OO INHERITANCE ]]]
  1         4  
  1         118  
9             use parent qw(RPerl::Test);
10             use RPerl::Test;
11              
12             # [[[ CRITICS ]]]
13 1     1   7 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         3  
  1         56  
14 1     1   6 ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
  1         2  
  1         7  
15              
16             # [[[ OO PROPERTIES ]]]
17 1     1   73 our hashref $properties = {
  1         4  
  1         9  
18 1     1   11 foo => my integer $TYPED_foo = 2,
  1         10  
  1         10  
19             bar => my integer $TYPED_bar = 3
20             };
21 1     1   75  
  1         7  
  1         31  
22 1     1   7 1; # end of class
  1         5  
  1         5