Data/Sah/Lang.pm

filter: Statementstmt 93.7% 15 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 85.7% 18 / 21 CC 1 SCAR 2.2
CC
1
Cov
94%
add_translations
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Data/Sah/Compiler/human/TH/bool.pm ↑ Summary Data/Sah/Util/Func.pm »
1 package Data::Sah::Lang;
2  
3 1 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 1 our $DATE = '2024-02-16'; # DATE
9 1 our $DIST = 'Data-Sah'; # DIST
10 1 our $VERSION = '0.917'; # VERSION
11  
12 1 our @ISA = qw(Exporter);
13 1 our @EXPORT = qw(add_translations);
14  
15 0 ▶sub add_translations {
Subroutine add_translations: not called CC=1 SCAR=6.9
Pod undocumented
16 0 my %args = @_;
17  
18 # XXX check caller package and determine language, fill translations in
19 # %Data::Sah::Lang::<lang>::translations
20 }
21  
22 1 1;
23 # ABSTRACT: Language routines
24  
25 __END__
« Data/Sah/Compiler/human/TH/bool.pm ↑ Summary Data/Sah/Util/Func.pm »