« blib/script/perl_types_refactor_names_parser.pl
↑ Summary
blib/lib/Perl/Structure/Array/SubTypes1D.pm »
| 1 | # [[[ HEADER ]]] | ||||||||||||||||||||||||||||
| 2 | package Perl::Type::Number; | ||||||||||||||||||||||||||||
| 3 | 5 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 4 | 5 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 5 | 5 | ▶ | use Perl::Config; # don't use Perl::Types inside itself, in order to avoid circular includes | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 6 | 5 | our $VERSION = 0.014_100; | |||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||
| 8 | # [[[ OO INHERITANCE ]]] | ||||||||||||||||||||||||||||
| 9 | 5 | ▶ | use parent qw(Perl::Type::Scalar); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 10 | 5 | ▶ | use Perl::Type::Scalar; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 11 | |||||||||||||||||||||||||||||
| 12 | # [[[ CRITICS ]]] | ||||||||||||||||||||||||||||
| 13 | ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator | ||||||||||||||||||||||||||||
| 14 | ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils | ||||||||||||||||||||||||||||
| 15 | ## no critic qw(Capitalization ProhibitMultiplePackages ProhibitReusedNames) # SYSTEM DEFAULT 3: allow multiple & lower case package names | ||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | # [[[ SUB-TYPES ]]] | ||||||||||||||||||||||||||||
| 18 | # DEV NOTE, CORRELATION #rp007: | ||||||||||||||||||||||||||||
| 19 | # a number is any numeric value, meaning either an integer or a floating-point number; | ||||||||||||||||||||||||||||
| 20 | # Boolean, Nonsigned Integer, and Integer are all sub-classes of Number; | ||||||||||||||||||||||||||||
| 21 | # the hidden Perl semantics are SvIOKp() for ints, and SvNOKp() for numbers; | ||||||||||||||||||||||||||||
| 22 | # these numbers appear to act as C doubles and are implemented as such in RPerl; | ||||||||||||||||||||||||||||
| 23 | # in the future, this can be optimized (for at least memory usage) by implementing full Float semantics | ||||||||||||||||||||||||||||
| 24 | package number; | ||||||||||||||||||||||||||||
| 25 | 5 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 26 | 5 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 27 | 5 | ▶ | use parent qw(Perl::Type::Number); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 28 | |||||||||||||||||||||||||||||
| 29 | package constant_number; | ||||||||||||||||||||||||||||
| 30 | 5 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 31 | 5 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 32 | 5 | ▶ | use parent qw(Perl::Type::Number); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||
| 34 | # [[[ SWITCH CONTEXT BACK TO PRIMARY PACKAGE ]]] | ||||||||||||||||||||||||||||
| 35 | package Perl::Type::Number; | ||||||||||||||||||||||||||||
| 36 | 5 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 37 | 5 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||
| 39 | # [[[ INCLUDES ]]] | ||||||||||||||||||||||||||||
| 40 | 5 | ▶ | use POSIX qw(floor); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||
| 42 | # [[[ EXPORTS ]]] | ||||||||||||||||||||||||||||
| 43 | 5 | ▶ | use Exporter 'import'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 44 | 5 | our @EXPORT = qw(number_CHECK number_CHECKTRACE number_to_boolean number_to_nonsigned_integer number_to_integer number_to_character number_to_string); | |||||||||||||||||||||||||||
| 45 | 5 | our @EXPORT_OK = qw(number_typetest0 number_typetest1); | |||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||
| 47 | # [[[ TYPE-CHECKING ]]] | ||||||||||||||||||||||||||||
| 48 | 0 | ▶ | sub number_CHECK { | ||||||||||||||||||||||||||
|
Subroutine
number_CHECK: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||||||||||||||||||||
| 49 | 0 | { my void $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 50 | 0 | ( my $possible_number ) = @ARG; | |||||||||||||||||||||||||||
| 51 | 0 | ▶ | if ( not( defined $possible_number ) ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 52 | # croak( "\nERROR ENV00, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but undefined/null value found,\ncroaking" ); | ||||||||||||||||||||||||||||
| 53 | 0 | die( "\nERROR ENV00, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but undefined/null value found,\ndying\n" ); | |||||||||||||||||||||||||||
| 54 | } | ||||||||||||||||||||||||||||
| 55 | 0 | ▶ | if (not( main::PerlTypes_SvNOKp($possible_number) | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
main::PerlTypes_SvNOKp($possible_number) or main::PerlTypes_SvIOKp($possible_number)
MC/DC0%0/2
main::PerlTypes_SvNOKp($possible_number) or main::PerlTypes_SvIOKp($possible_number)
main::PerlTypes_SvNOKp($possible_number)
main::PerlTypes_SvIOKp($possible_number)
Truth table0%0/3
A or B
A= main::PerlTypes_SvNOKp($possible_number)B= main::PerlTypes_SvIOKp($possible_number)
| |||||||||||||||||||||||||||||
| 56 | || main::PerlTypes_SvIOKp($possible_number) ) ) | ||||||||||||||||||||||||||||
| 57 | { | ||||||||||||||||||||||||||||
| 58 | # croak( "\nERROR ENV01, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but non-number value found,\ncroaking" ); | ||||||||||||||||||||||||||||
| 59 | 0 | die( "\nERROR ENV01, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but non-number value found,\ndying\n" ); | |||||||||||||||||||||||||||
| 60 | } | ||||||||||||||||||||||||||||
| 61 | 0 | return; | |||||||||||||||||||||||||||
| 62 | } | ||||||||||||||||||||||||||||
| 63 | 0 | ▶ | sub number_CHECKTRACE { | ||||||||||||||||||||||||||
|
Subroutine
number_CHECKTRACE: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||||||||||||||||||||
| 64 | 0 | { my void $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 65 | 0 | ( my $possible_number, my $variable_name, my $subroutine_name ) = @ARG; | |||||||||||||||||||||||||||
| 66 | 0 | ▶ | if ( not( defined $possible_number ) ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 67 | # croak( "\nERROR ENV00, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but undefined/null value found,\nin variable $variable_name from subroutine $subroutine_name,\ncroaking" ); | ||||||||||||||||||||||||||||
| 68 | 0 | die( "\nERROR ENV00, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but undefined/null value found,\nin variable $variable_name from subroutine $subroutine_name,\ndying\n" ); | |||||||||||||||||||||||||||
| 69 | } | ||||||||||||||||||||||||||||
| 70 | 0 | ▶ | if (not( main::PerlTypes_SvNOKp($possible_number) | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
main::PerlTypes_SvNOKp($possible_number) or main::PerlTypes_SvIOKp($possible_number)
MC/DC0%0/2
main::PerlTypes_SvNOKp($possible_number) or main::PerlTypes_SvIOKp($possible_number)
main::PerlTypes_SvNOKp($possible_number)
main::PerlTypes_SvIOKp($possible_number)
Truth table0%0/3
A or B
A= main::PerlTypes_SvNOKp($possible_number)B= main::PerlTypes_SvIOKp($possible_number)
| |||||||||||||||||||||||||||||
| 71 | || main::PerlTypes_SvIOKp($possible_number) ) | ||||||||||||||||||||||||||||
| 72 | ) | ||||||||||||||||||||||||||||
| 73 | { | ||||||||||||||||||||||||||||
| 74 | # croak( "\nERROR ENV01, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but non-number value found,\nin variable $variable_name from subroutine $subroutine_name,\ncroaking" ); | ||||||||||||||||||||||||||||
| 75 | 0 | die( "\nERROR ENV01, TYPE-CHECKING MISMATCH, PERLOPS_PERLTYPES:\nnumber value expected but non-number value found,\nin variable $variable_name from subroutine $subroutine_name,\ndying\n" ); | |||||||||||||||||||||||||||
| 76 | } | ||||||||||||||||||||||||||||
| 77 | 0 | return; | |||||||||||||||||||||||||||
| 78 | } | ||||||||||||||||||||||||||||
| 79 | |||||||||||||||||||||||||||||
| 80 | # [[[ BOOLEANIFY ]]] | ||||||||||||||||||||||||||||
| 81 | 0 | ▶ | sub number_to_boolean { | ||||||||||||||||||||||||||
|
Subroutine
number_to_boolean: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 82 | 0 | { my boolean $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 83 | 0 | (my number $input_number) = @ARG; | |||||||||||||||||||||||||||
| 84 | # number_CHECK($input_number); | ||||||||||||||||||||||||||||
| 85 | 0 | number_CHECKTRACE( $input_number, '$input_number', 'number_to_boolean()' ); | |||||||||||||||||||||||||||
| 86 | 0 | ▶ | if ($input_number == 0) { return 0; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 87 | 0 | else { return 1; } | |||||||||||||||||||||||||||
| 88 | 0 | return; | |||||||||||||||||||||||||||
| 89 | } | ||||||||||||||||||||||||||||
| 90 | |||||||||||||||||||||||||||||
| 91 | # [[[ UNSIGNED INTEGERIFY ]]] | ||||||||||||||||||||||||||||
| 92 | 0 | ▶ | sub number_to_nonsigned_integer { | ||||||||||||||||||||||||||
|
Subroutine
number_to_nonsigned_integer: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 93 | 0 | { my nonsigned_integer $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 94 | 0 | (my number $input_number) = @ARG; | |||||||||||||||||||||||||||
| 95 | # number_CHECK($input_number); | ||||||||||||||||||||||||||||
| 96 | 0 | number_CHECKTRACE( $input_number, '$input_number', 'number_to_nonsigned_integer()' ); | |||||||||||||||||||||||||||
| 97 | 0 | return floor(abs $input_number); | |||||||||||||||||||||||||||
| 98 | } | ||||||||||||||||||||||||||||
| 99 | |||||||||||||||||||||||||||||
| 100 | # [[[ INTEGERIFY ]]] | ||||||||||||||||||||||||||||
| 101 | 0 | ▶ | sub number_to_integer { | ||||||||||||||||||||||||||
|
Subroutine
number_to_integer: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 102 | 0 | { my integer $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 103 | 0 | (my number $input_number) = @ARG; | |||||||||||||||||||||||||||
| 104 | # number_CHECK($input_number); | ||||||||||||||||||||||||||||
| 105 | 0 | number_CHECKTRACE( $input_number, '$input_number', 'number_to_integer()' ); | |||||||||||||||||||||||||||
| 106 | 0 | return floor($input_number); | |||||||||||||||||||||||||||
| 107 | } | ||||||||||||||||||||||||||||
| 108 | |||||||||||||||||||||||||||||
| 109 | # [[[ CHARACTERIFY ]]] | ||||||||||||||||||||||||||||
| 110 | 0 | ▶ | sub number_to_character { | ||||||||||||||||||||||||||
|
Subroutine
number_to_character: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 111 | 0 | { my character $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 112 | 0 | (my number $input_number) = @ARG; | |||||||||||||||||||||||||||
| 113 | # number_CHECK($input_number); | ||||||||||||||||||||||||||||
| 114 | 0 | number_CHECKTRACE( $input_number, '$input_number', 'number_to_character()' ); | |||||||||||||||||||||||||||
| 115 | 0 | my string $tmp_string = number_to_string($input_number); | |||||||||||||||||||||||||||
| 116 | 0 | ▶ | if ($tmp_string eq q{}) { return q{}; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 117 | 0 | else { return (substr $tmp_string, 0, 1); } | |||||||||||||||||||||||||||
| 118 | } | ||||||||||||||||||||||||||||
| 119 | |||||||||||||||||||||||||||||
| 120 | # [[[ STRINGIFY ]]] | ||||||||||||||||||||||||||||
| 121 | 0 | ▶ | sub number_to_string { | ||||||||||||||||||||||||||
|
Subroutine
number_to_string: not called CC=8 SCAR=42.8
Pod
undocumented
| |||||||||||||||||||||||||||||
| 122 | 0 | { my string $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 123 | 0 | { my string $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 124 | 0 | ( my number $input_number ) = @ARG; | |||||||||||||||||||||||||||
| 125 | # number_CHECK($input_number); | ||||||||||||||||||||||||||||
| 126 | 0 | number_CHECKTRACE( $input_number, '$input_number', 'number_to_string()' ); | |||||||||||||||||||||||||||
| 127 | |||||||||||||||||||||||||||||
| 128 | # Perl::diag("in PERLOPS_PERLTYPES number_to_string(), received \$input_number = $input_number\n"); | ||||||||||||||||||||||||||||
| 129 | # Perl::diag("in PERLOPS_PERLTYPES number_to_string()...\n"); | ||||||||||||||||||||||||||||
| 130 | # die 'TMP DEBUG'; | ||||||||||||||||||||||||||||
| 131 | |||||||||||||||||||||||||||||
| 132 | # DEV NOTE: disable old stringify w/out underscores | ||||||||||||||||||||||||||||
| 133 | # return "$input_number"; | ||||||||||||||||||||||||||||
| 134 | |||||||||||||||||||||||||||||
| 135 | # NEED FIX: if using RPerl data types here, causes errors for `perl -e 'use Perl::Type::Integer;'` | ||||||||||||||||||||||||||||
| 136 | 0 | my integer $is_negative = 0; | |||||||||||||||||||||||||||
| 137 | # my $is_negative = 0; | ||||||||||||||||||||||||||||
| 138 | 0 | ▶ | if ($input_number < 0) { $is_negative = 1; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 139 | 0 | my string $retval; | |||||||||||||||||||||||||||
| 140 | # my $retval; | ||||||||||||||||||||||||||||
| 141 | 0 | my $split_parts = [ split /[.]/xms, "$input_number" ]; # arrayref::string | |||||||||||||||||||||||||||
| 142 | |||||||||||||||||||||||||||||
| 143 | 0 | ▶ | if ( exists $split_parts->[0] ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 144 | 0 | $retval = reverse $split_parts->[0]; | |||||||||||||||||||||||||||
| 145 | 0 | ▶ | if ($is_negative) { chop $retval; } # remove negative sign | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 146 | 0 | $retval =~ s/(\d{3})/$1_/gxms; | |||||||||||||||||||||||||||
| 147 | 0 | ▶ | if ((substr $retval, -1, 1) eq '_') { chop $retval; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 148 | 0 | $retval = reverse $retval; | |||||||||||||||||||||||||||
| 149 | } | ||||||||||||||||||||||||||||
| 150 | else { | ||||||||||||||||||||||||||||
| 151 | 0 | $retval = '0'; | |||||||||||||||||||||||||||
| 152 | } | ||||||||||||||||||||||||||||
| 153 | |||||||||||||||||||||||||||||
| 154 | 0 | ▶ | if ( exists $split_parts->[1] ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 155 | 0 | $split_parts->[1] =~ s/(\d{3})/$1_/gxms; | |||||||||||||||||||||||||||
| 156 | 0 | ▶ | if ((substr $split_parts->[1], -1, 1) eq '_') { chop $split_parts->[1]; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 157 | # if ((substr $split_parts->[1], 0, 1) eq '_') { chop $split_parts->[1]; } # should not be necessary | ||||||||||||||||||||||||||||
| 158 | 0 | $retval .= '.' . $split_parts->[1]; | |||||||||||||||||||||||||||
| 159 | } | ||||||||||||||||||||||||||||
| 160 | |||||||||||||||||||||||||||||
| 161 | 0 | ▶ | if ($is_negative) { $retval = q{-} . $retval; } | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 162 | |||||||||||||||||||||||||||||
| 163 | # Perl::diag('in PERLOPS_PERLTYPES number_to_string(), have $retval = ' . q{'} . $retval . q{'} . "\n"); | ||||||||||||||||||||||||||||
| 164 | 0 | return $retval; | |||||||||||||||||||||||||||
| 165 | } | ||||||||||||||||||||||||||||
| 166 | |||||||||||||||||||||||||||||
| 167 | # [[[ TYPE TESTING ]]] | ||||||||||||||||||||||||||||
| 168 | 0 | ▶ | sub number_typetest0 { | ||||||||||||||||||||||||||
|
Subroutine
number_typetest0: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 169 | 0 | { my number $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 170 | 0 | my number $retval | |||||||||||||||||||||||||||
| 171 | = ( 22 / 7 ) + main::Perl__Type__Number__MODE_ID(); # return floating-point number value | ||||||||||||||||||||||||||||
| 172 | |||||||||||||||||||||||||||||
| 173 | # Perl::diag("in PERLOPS_PERLTYPES number_typetest0(), have \$retval = $retval\n"); | ||||||||||||||||||||||||||||
| 174 | 0 | return $retval; | |||||||||||||||||||||||||||
| 175 | } | ||||||||||||||||||||||||||||
| 176 | 0 | ▶ | sub number_typetest1 { | ||||||||||||||||||||||||||
|
Subroutine
number_typetest1: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 177 | 0 | { my number $RETURN_TYPE }; | |||||||||||||||||||||||||||
| 178 | 0 | ( my number $lucky_number ) = @ARG; | |||||||||||||||||||||||||||
| 179 | # number_CHECK($lucky_number); | ||||||||||||||||||||||||||||
| 180 | 0 | number_CHECKTRACE( $lucky_number, '$lucky_number', | |||||||||||||||||||||||||||
| 181 | 'number_typetest1()' ); | ||||||||||||||||||||||||||||
| 182 | |||||||||||||||||||||||||||||
| 183 | # Perl::diag('in PERLOPS_PERLTYPES number_typetest1(), received $lucky_number = ' . number_to_string($lucky_number) . "\n"); | ||||||||||||||||||||||||||||
| 184 | 0 | return ( ( $lucky_number * 2 ) + main::Perl__Type__Number__MODE_ID() ); | |||||||||||||||||||||||||||
| 185 | } | ||||||||||||||||||||||||||||
| 186 | |||||||||||||||||||||||||||||
| 187 | # DEV NOTE, CORRELATION #rp018: Perl::Type::*.pm files do not 'use RPerl;' and thus do not trigger the pseudo-source-filter contained in | ||||||||||||||||||||||||||||
| 188 | # RPerl::CompileUnit::Module::Class::create_symtab_entries_and_accessors_mutators(), | ||||||||||||||||||||||||||||
| 189 | # so *__MODE_ID() subroutines are hard-coded here instead of auto-generated there | ||||||||||||||||||||||||||||
| 190 | package main; | ||||||||||||||||||||||||||||
| 191 | 5 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 192 | 5 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 193 | 0 | ▶ | sub Perl__Type__Number__MODE_ID { return 0; } | ||||||||||||||||||||||||||
|
Subroutine
Perl__Type__Number__MODE_ID: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 194 | |||||||||||||||||||||||||||||
| 195 | 5 | 1; # end of class | |||||||||||||||||||||||||||