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