RecodeData.pm

filter: Statementstmt 85.7% 6 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 81.8% 9 / 11 CC 1 SCAR 2.9
CC
1
Cov
86%
_getError
2.0
BEGIN
1.0
new
1.0
CRAP 1.3
« RecodeData/_Encode.pm ↑ Summary Recode/_Aliases.pm »
1 #! /bin/false
2  
3 # vim: set autoindent shiftwidth=4 tabstop=4:
4  
5 # Virtual base class for Locale::Recode converters.
6 # Copyright (C) 2002-2026 Guido Flohr <guido.flohr@cantanea.com>,
7 # all rights reserved.
8  
9 # This program is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
13  
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18  
19 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21  
22 package Locale::RecodeData;
23  
24 138 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 sub new
27 549 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod documented
28 549 my ($class, %args) = @_;
29  
30 bless {
31 _from => $args{from},
32 _to => $args{to},
33 549 }, $class;
34 }
35  
36 sub _getError
37 0 ▶{
Subroutine _getError: not called CC=1 SCAR=6.9
38 0 shift->{_error};
39 }
40  
41 138 1;
42  
43 __END__
« RecodeData/_Encode.pm ↑ Summary Recode/_Aliases.pm »