File Coverage

blib/lib/RPerl/Test/Critic/Class_00_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   9 use RPerl;
  1         5  
  1         16  
3             package RPerl::Test::Critic::Class_00_Good;
4             use strict;
5 1     1   68 use warnings;
  1         6  
  1         383  
6 1     1   10 our $VERSION = 0.001_000;
  1         5  
  1         175  
7              
8 1     1   10 # [[[ OO INHERITANCE ]]]
  1         6  
  1         137  
9             use parent qw(RPerl::Test);
10             use RPerl::Test;
11              
12             # [[[ CRITICS ]]]
13 1     1   14 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         6  
  1         60  
14 1     1   9  
  1         4  
  1         14  
15             # [[[ OO PROPERTIES ]]]
16             our hashref $properties
17 1     1   84 = { empty_property => my integer $TYPED_empty_property = 2 };
  1         5  
  1         284  
18 1     1   9  
  1         5  
  1         10  
19             # [[[ SUBROUTINES & OO METHODS ]]]
20             our void::method $empty_method = sub {
21 1     1   68 return 2;
  1         4  
  1         25  
22 1     1   6 };
  1         4  
  1         6  
23              
24             1; # end of class