Ba.pm

filter: Statementstmt 86.0% 37 / 43 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 78.5% 11 / 14 Podpod n/a totaltotal 80.3% 49 / 61 CC 2 SCAR 5.9
CC
2
Cov
81%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.8
↑ Summary Ba/Cyrl.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ba - Package for language Bashkir
6
7 =cut
8
9 package Locale::CLDR::Locales::Ba;
10 # This file auto generated from Data\common\main\ba.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Root');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'ba' => 'башҡорт теле',
35
36 );
37 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
38 0 return $languages{$_[0]};
39 }
40 0 return \%languages;
41 }
42 0 },
43 1 );
44
45 has 'characters' => (
46 is => 'ro',
47 isa => HashRef,
48 init_arg => undef,
49 default => $^V ge v5.18.0
50 ? eval <<'EOT'
51 sub {
52 no warnings 'experimental::regex_sets';
53 return {
54 index => ['А', 'Ә', 'Б', 'В', 'Г', 'Ғ', 'Д', 'Ҙ', 'ЕЁ', 'Ж', 'З', 'И', 'Й', 'К', 'Ҡ', 'Л', 'М', 'Н', 'Ң', 'О', 'Ө', 'П', 'Р', 'С', 'Ҫ', 'Т', 'У', 'Ү', 'Ф', 'Х', 'Һ', 'Ц', 'Ч', 'Ш', 'Щ', 'Ъ', 'Ы', 'Ь', 'Э', 'Ю', 'Я'],
55 main => qr{[а ә б в г ғ д ҙ её ж з и й к ҡ л м н ң о ө п р с ҫ т у ү ф х һ ц ч ш щ ъ ы ь э ю я]},
56 };
57 },
58 EOT
59 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
60 0 return { index => ['А', 'Ә', 'Б', 'В', 'Г', 'Ғ', 'Д', 'Ҙ', 'ЕЁ', 'Ж', 'З', 'И', 'Й', 'К', 'Ҡ', 'Л', 'М', 'Н', 'Ң', 'О', 'Ө', 'П', 'Р', 'С', 'Ҫ', 'Т', 'У', 'Ү', 'Ф', 'Х', 'Һ', 'Ц', 'Ч', 'Ш', 'Щ', 'Ъ', 'Ы', 'Ь', 'Э', 'Ю', 'Я'], };
61 },
62 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
63
64
65 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
66
67 1 1;
68
69 # vim: tabstop=4
↑ Summary Ba/Cyrl.pm »