File Coverage

blib/lib/RPerl/Test/Exporter/Class_C_Importer_00_Good.pm
Criterion Covered Total %
statement 69 79 87.3
branch n/a
condition n/a
subroutine 23 25 92.0
pod n/a
total 92 104 88.4


line stmt bran cond sub pod time code
1             # [[[ HEADER ]]]
2 1     1   8 use RPerl;
  1         3  
  1         18  
3             package RPerl::Test::Exporter::Class_C_Importer_00_Good;
4             use strict;
5 1     1   122 use warnings;
  1         6  
  1         39  
6 1     1   10 our $VERSION = 0.001_000;
  1         5  
  1         267  
7              
8 1     1   12 # [[[ OO INHERITANCE ]]]
  1         5  
  1         185  
9             use parent qw(RPerl::CompileUnit::Module::Class);
10             use RPerl::CompileUnit::Module::Class;
11              
12             # [[[ CRITICS ]]]
13 1     1   12 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         7  
  1         79  
14 1     1   10 ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
  1         16  
  1         17  
15              
16             # [[[ INCLUDES ]]]
17 1     1   165 use RPerl::Test::Exporter::Class_C_Exporter_00_Good;
  1         5  
  1         19  
18 1     1   13  
  1         6  
  1         9  
19             # [[[ OO PROPERTIES ]]]
20             our hashref $properties = {};
21 1     1   98  
  1         2  
  1         27  
22 1     1   8 # [[[ SUBROUTINES & OO METHODS ]]]
  1         4  
  1         7  
23              
24             sub not_exported {
25 1     1   98 { my integer $RETURN_TYPE };
  1         4  
  1         12  
26 1     1   13 ( my integer $arg ) = @ARG;
  1         5  
  1         8  
27             print 'in Class_C_Importer_00_Good::not_exported(), received $arg = ', $arg, "\n";
28             return ($arg * -120);
29 1     1   73 }
  1         4  
  1         31  
30 1     1   6  
  1         4  
  1         7  
31             sub not_exported_ok {
32             { my integer $RETURN_TYPE };
33 1     1   57 ( my integer $arg ) = @ARG;
  1         2  
  1         32  
34 1     1   5 print 'in Class_C_Importer_00_Good::not_exported_ok(), received $arg = ', $arg, "\n";
  1         4  
  1         7  
35             return ($arg * -420);
36             }
37              
38             1; # end of class
39