File Coverage

blib/lib/RPerl/Test/Critic/Class_00_Good.pm
Criterion Covered Total %
statement 66 69 95.6
branch n/a
condition n/a
subroutine 22 23 95.6
pod n/a
total 88 92 95.6


line stmt bran cond sub pod time code
1             # [[[ HEADER ]]]
2 1     1   9 use RPerl;
  1         4  
  1         12  
3             package RPerl::Test::Critic::Class_00_Good;
4             use strict;
5 1     1   69 use warnings;
  1         4  
  1         27  
6 1     1   6 our $VERSION = 0.001_000;
  1         3  
  1         180  
7              
8 1     1   9 # [[[ OO INHERITANCE ]]]
  1         3  
  1         123  
9             use parent qw(RPerl::Test);
10             use RPerl::Test;
11              
12             # [[[ CRITICS ]]]
13 1     1   9 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         3  
  1         48  
14 1     1   8  
  1         3  
  1         10  
15             # [[[ OO PROPERTIES ]]]
16             our hashref $properties
17 1     1   80 = { empty_property => my integer $TYPED_empty_property = 2 };
  1         2  
  1         13  
18 1     1   14  
  1         2  
  1         9  
19             # [[[ SUBROUTINES & OO METHODS ]]]
20             sub empty_method { { my void::method $RETURN_TYPE }; return 2; }
21 1     1   76  
  1         4  
  1         28  
22 1     1   7 1; # end of class
  1         4  
  1         8