File Coverage

blib/lib/RPerl/Test/PerlAPINames/Class_02_Bad_01.pm
Criterion Covered Total %
statement 66 70 94.2
branch n/a
condition n/a
subroutine 22 23 95.6
pod n/a
total 88 93 94.6


line stmt bran cond sub pod time code
1             # [[[ PREPROCESSOR ]]]
2             # <<< GENERATE_ERROR: 'ERROR ECOGEAS' >>>
3             # <<< GENERATE_ERROR: 'Perl API name conflict' >>>
4              
5             # [[[ HEADER ]]]
6 1     1   8 use RPerl;
  1         4  
  1         10  
7             package RPerl::Test::PerlAPINames::Class_02_Bad_01;
8             use strict;
9 1     1   59 use warnings;
  1         4  
  1         22  
10 1     1   7 our $VERSION = 0.001_000;
  1         4  
  1         169  
11              
12 1     1   7 # [[[ OO INHERITANCE ]]]
  1         4  
  1         113  
13             use parent qw(RPerl::CompileUnit::Module::Class);
14             use RPerl::CompileUnit::Module::Class;
15              
16             # [[[ CRITICS ]]]
17 1     1   8 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
  1         4  
  1         46  
18 1     1   6 ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
  1         4  
  1         9  
19              
20             # [[[ OO PROPERTIES ]]]
21 1     1   70 our hashref $properties = {};
  1         3  
  1         7  
22 1     1   14  
  1         5  
  1         7  
23             # [[[ SUBROUTINES & OO METHODS ]]]
24              
25 1     1   64 sub foo {
  1         4  
  1         26  
26 1     1   6 { my void $RETURN_TYPE };
  1         2  
  1         4  
27             my string $calloc;
28             return;
29 1     1   54 }
  1         3  
  1         6  
30 1     1   9  
  1         3  
  1         5  
31             1; # end of class