Fa/Arab/Af.pm

filter: Statementstmt 47.5% 58 / 122 Branchbran 1.5% 1 / 66 Conditioncond 0.0% 0 / 74 MC/DCmcdc 0.0% 0 / 49 Subroutinesub 34.2% 12 / 35 Podpod n/a totaltotal 20.5% 71 / 346 CC 59 SCAR 76.1
CC
59
Cov
23%
__ANON__
3306.0
__ANON__
6.0
__ANON__
6.0
CRAP 2027.1
« Fa.pm ↑ Summary Fa/Arab.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Fa::Arab::Af - Package for language Persian
6
7 =cut
8
9 package Locale::CLDR::Locales::Fa::Arab::Af;
10 # This file auto generated from Data\common\main\fa_AF.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::Fa::Arab');
27 has 'valid_algorithmic_formats' => (
28 is => 'ro',
29 isa => ArrayRef,
30 init_arg => undef,
31 0 ▶ default => sub {[ 'spellout-numbering-year','spellout-numbering','spellout-cardinal' ]},
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 1 );
33
34 has 'algorithmic_number_format_data' => (
35 is => 'ro',
36 isa => HashRef,
37 init_arg => undef,
38 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=0.2
39 1 ▶ use bigfloat;
Subroutine BEGIN: called CC=1 SCAR=0.0
40 return {
41 0 'spellout-cardinal' => {
42 'public' => {
43 '-x' => {
44 divisor => q(1),
45 rule => q(منفی →→),
46 },
47 '0' => {
48 base_value => q(0),
49 divisor => q(1),
50 rule => q(صفر),
51 },
52 'x.x' => {
53 divisor => q(1),
54 rule => q(←← عشاریه →→),
55 },
56 '1' => {
57 base_value => q(1),
58 divisor => q(1),
59 rule => q(یک),
60 },
61 '2' => {
62 base_value => q(2),
63 divisor => q(1),
64 rule => q(دو),
65 },
66 '3' => {
67 base_value => q(3),
68 divisor => q(1),
69 rule => q(سه),
70 },
71 '4' => {
72 base_value => q(4),
73 divisor => q(1),
74 rule => q(چهار),
75 },
76 '5' => {
77 base_value => q(5),
78 divisor => q(1),
79 rule => q(پنج),
80 },
81 '6' => {
82 base_value => q(6),
83 divisor => q(1),
84 rule => q(شش),
85 },
86 '7' => {
87 base_value => q(7),
88 divisor => q(1),
89 rule => q(هفت),
90 },
91 '8' => {
92 base_value => q(8),
93 divisor => q(1),
94 rule => q(هشت),
95 },
96 '9' => {
97 base_value => q(9),
98 divisor => q(1),
99 rule => q(نه),
100 },
101 '10' => {
102 base_value => q(10),
103 divisor => q(10),
104 rule => q(ده),
105 },
106 '11' => {
107 base_value => q(11),
108 divisor => q(10),
109 rule => q(یازده),
110 },
111 '12' => {
112 base_value => q(12),
113 divisor => q(10),
114 rule => q(دوازده),
115 },
116 '13' => {
117 base_value => q(13),
118 divisor => q(10),
119 rule => q(سیزده),
120 },
121 '14' => {
122 base_value => q(14),
123 divisor => q(10),
124 rule => q(چهارده),
125 },
126 '15' => {
127 base_value => q(15),
128 divisor => q(10),
129 rule => q(پانزده),
130 },
131 '16' => {
132 base_value => q(16),
133 divisor => q(10),
134 rule => q(شانزده),
135 },
136 '17' => {
137 base_value => q(17),
138 divisor => q(10),
139 rule => q(هفده),
140 },
141 '18' => {
142 base_value => q(18),
143 divisor => q(10),
144 rule => q(هجده),
145 },
146 '19' => {
147 base_value => q(19),
148 divisor => q(10),
149 rule => q(نزده),
150 },
151 '20' => {
152 base_value => q(20),
153 divisor => q(10),
154 rule => q(بیست[ و →→]),
155 },
156 '30' => {
157 base_value => q(30),
158 divisor => q(10),
159 rule => q(سی[ و →→]),
160 },
161 '40' => {
162 base_value => q(40),
163 divisor => q(10),
164 rule => q(چهل[ و →→]),
165 },
166 '50' => {
167 base_value => q(50),
168 divisor => q(10),
169 rule => q(پنجاه[ و →→]),
170 },
171 '60' => {
172 base_value => q(60),
173 divisor => q(10),
174 rule => q(شصت[ و →→]),
175 },
176 '70' => {
177 base_value => q(70),
178 divisor => q(10),
179 rule => q(هفتاد[ و →→]),
180 },
181 '80' => {
182 base_value => q(80),
183 divisor => q(10),
184 rule => q(هشتاد[ و →→]),
185 },
186 '90' => {
187 base_value => q(90),
188 divisor => q(10),
189 rule => q(نود[ و →→]),
190 },
191 '100' => {
192 base_value => q(100),
193 divisor => q(100),
194 rule => q(صد[ و →→]),
195 },
196 '200' => {
197 base_value => q(200),
198 divisor => q(100),
199 rule => q(←←صد[ و →→]),
200 },
201 '300' => {
202 base_value => q(300),
203 divisor => q(100),
204 rule => q(←←‌صد[ و →→]),
205 },
206 '400' => {
207 base_value => q(400),
208 divisor => q(100),
209 rule => q(←←صد[ و →→]),
210 },
211 '1000' => {
212 base_value => q(1000),
213 divisor => q(1000),
214 rule => q(←← هزار[ و →→]),
215 },
216 '1000000' => {
217 base_value => q(1000000),
218 divisor => q(1000000),
219 rule => q(←← میلیون[ و →→]),
220 },
221 '1000000000' => {
222 base_value => q(1000000000),
223 divisor => q(1000000000),
224 rule => q(←← میلیارد[ و →→]),
225 },
226 '1000000000000' => {
227 base_value => q(1000000000000),
228 divisor => q(1000000000000),
229 rule => q(←← بیلیون[ و →→]),
230 },
231 '1000000000000000' => {
232 base_value => q(1000000000000000),
233 divisor => q(1000000000000000),
234 rule => q(←← بیلیارد[ و →→]),
235 },
236 '1000000000000000000' => {
237 base_value => q(1000000000000000000),
238 divisor => q(1000000000000000000),
239 rule => q(=#,##0=),
240 },
241 'max' => {
242 base_value => q(1000000000000000000),
243 divisor => q(1000000000000000000),
244 rule => q(=#,##0=),
245 },
246 },
247 },
248 'spellout-numbering' => {
249 'public' => {
250 '0' => {
251 base_value => q(0),
252 divisor => q(1),
253 rule => q(=%spellout-cardinal=),
254 },
255 'max' => {
256 base_value => q(0),
257 divisor => q(1),
258 rule => q(=%spellout-cardinal=),
259 },
260 },
261 },
262 'spellout-numbering-year' => {
263 'public' => {
264 '0' => {
265 base_value => q(0),
266 divisor => q(1),
267 rule => q(=%spellout-numbering=),
268 },
269 'x.x' => {
270 divisor => q(1),
271 rule => q(=0.0=),
272 },
273 'max' => {
274 divisor => q(1),
275 rule => q(=0.0=),
276 },
277 },
278 },
279 } },
280 1 );
281
282 has 'display_name_language' => (
283 is => 'ro',
284 isa => CodeRef,
285 init_arg => undef,
286 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
287 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
288 0 my %languages = (
289 'ab' => 'افریکانس',
290 'ar_001' => 'عربی فصیح',
291 'as' => 'اسامی',
292 'ast' => 'اتریشی',
293 'az' => 'آذربایجانی',
294 'ckb' => 'کردی سورانی',
295 'dv' => 'مالدیوی',
296 'es' => 'هسپانوی',
297 'fi' => 'فنلندی',
298 'ga' => 'آیرلندی',
299 'hr' => 'کروشیایی',
300 'id' => 'اندونیزیایی',
301 'is' => 'آیسلندی',
302 'it' => 'ایتالوی',
303 'ja' => 'جاپانی',
304 'ko' => 'کوریایی',
305 'ksh' => 'کلنی',
306 'ky' => 'قرغزی',
307 'lus' => 'میزویی',
308 'mai' => 'مایتیلی',
309 'mn' => 'مغلی',
310 'nb' => 'نروژی کتابی',
311 'ne' => 'نیپالی',
312 'nl' => 'هالندی',
313 'nl_BE' => 'فلمیش',
314 'nn' => 'نروژی نو',
315 'no' => 'نارویژی',
316 'pl' => 'پولندی',
317 'ps@alt=variant' => 'پشتو',
318 'pt' => 'پرتگالی',
319 'sq' => 'البانیایی',
320 'srn' => 'زبان سرانان',
321 'sv' => 'سویدنی',
322 'sw' => 'سواحلی',
323 'tg' => 'تاجکی',
324 'zh_Hans' => 'چینی ساده شده',
325 'zza' => 'زازاکی',
326
327 );
328 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
329 0 return $languages{$_[0]};
330 }
331 0 return \%languages;
332 }
333 0 },
334 1 );
335
336 has 'display_name_script' => (
337 is => 'ro',
338 isa => CodeRef,
339 init_arg => undef,
340 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
341 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
342 0 my %scripts = (
343 'Mong' => 'مغلی',
344
345 );
346 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
347 0 return $scripts{$_[0]};
348 }
349 0 return \%scripts;
350 }
351 0 }
352 1 );
353
354 has 'display_name_region' => (
355 is => 'ro',
356 isa => HashRef[Str],
357 init_arg => undef,
358 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
359 {
360 0 'AD' => 'اندورا',
361 'AG' => 'انتیگوا و باربودا',
362 'AL' => 'البانیا',
363 'AO' => 'انگولا',
364 'AQ' => 'انترکتیکا',
365 'AR' => 'ارجنتاین',
366 'BA' => 'بوسنیا و هرزه‌گوینا',
367 'BD' => 'بنگله‌دیش',
368 'BE' => 'بلجیم',
369 'BG' => 'بلغاریا',
370 'BN' => 'برونی',
371 'BO' => 'بولیویا',
372 'BR' => 'برازیل',
373 'BS' => 'بهاماس',
374 'CD' => 'کانگو - کینشاسا',
375 'CG' => 'کانگو - برازویل',
376 'CH' => 'سویس',
377 'CL' => 'چلی',
378 'CO' => 'کولمبیا',
379 'CR' => 'کاستریکا',
380 'CU' => 'کیوبا',
381 'DK' => 'دنمارک',
382 'EA' => 'سئوتا و ملیلا',
383 'EE' => 'استونیا',
384 'ER' => 'اریتریا',
385 'ES' => 'هسپانیه',
386 'ET' => 'ایتوپیا',
387 'FI' => 'فنلند',
388 'FM' => 'میکرونزیا',
389 'GD' => 'گرینادا',
390 'GH' => 'گانا',
391 'GN' => 'گینیا',
392 'GQ' => 'گینیا استوایی',
393 'GT' => 'گواتیمالا',
394 'GW' => 'گینیا بیسائو',
395 'GY' => 'گیانا',
396 'HK' => 'هانگ کانگ، ناحیهٔ ویژهٔ حکومتی چین',
397 'HK@alt=short' => 'هانگ کانگ',
398 'HN' => 'هاندوراس',
399 'HR' => 'کروشیا',
400 'HT' => 'هایتی',
401 'ID' => 'اندونیزیا',
402 'IE' => 'آیرلند',
403 'IS' => 'آیسلند',
404 'JP' => 'جاپان',
405 'KE' => 'کینیا',
406 'KH' => 'کمپوچیا',
407 'KP' => 'کوریای شمالی',
408 'KR' => 'کوریای جنوبی',
409 'LK' => 'سریلانکا',
410 'LS' => 'لیسوتو',
411 'LT' => 'لتوانیا',
412 'LV' => 'لاتویا',
413 'LY' => 'لیبیا',
414 'MG' => 'مادغاسکر',
415 'MN' => 'منگولیا',
416 'MR' => 'موریتانیا',
417 'MT' => 'مالتا',
418 'MX' => 'مکسیکو',
419 'MY' => 'مالیزیا',
420 'MZ' => 'موزمبیق',
421 'NG' => 'نیجریا',
422 'NI' => 'نیکاراگوا',
423 'NL' => 'هالند',
424 'NO' => 'ناروی',
425 'NP' => 'نیپال',
426 'NZ' => 'زیلاند جدید',
427 'PA' => 'پانامه',
428 'PE' => 'پیرو',
429 'PG' => 'پاپوا نیو گینیا',
430 'PL' => 'پولند',
431 'PT' => 'پرتگال',
432 'PY' => 'پاراگوای',
433 'RO' => 'رومانیا',
434 'SE' => 'سویدن',
435 'SG' => 'سینگاپور',
436 'SI' => 'سلونیا',
437 'SJ' => 'اسوالبارد و جان ماین',
438 'SK' => 'سلواکیا',
439 'SL' => 'سیرالیون',
440 'SN' => 'سینیگال',
441 'SO' => 'سومالیه',
442 'SV' => 'السلوادور',
443 'TJ' => 'تاجکستان',
444 'UG' => 'یوگاندا',
445 'UY' => 'یوروگوای',
446 'VC' => 'سنت وینسنت و گرنادین‌ها',
447 'VE' => 'ونزویلا',
448 'XK' => 'کوسوا',
449 'ZW' => 'زیمبابوی',
450
451 }
452 },
453 1 );
454
455 has 'characters' => (
456 is => 'ro',
457 isa => HashRef,
458 init_arg => undef,
459 default => $^V ge v5.18.0
460 ? eval <<'EOT'
461 sub {
462 no warnings 'experimental::regex_sets';
463 return {
464 auxiliary => qr{[‎‏ َ ِ ُ ْ ٖ ٰ ‌‍ إ ټ ځ څ ډ ړ ږ ښ ك ګ ڼ ىي]},
465 };
466 },
467 EOT
468 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
469 0 return {};
470 },
471 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
472
473
474 has 'number_currency_formats' => (
475 is => 'ro',
476 isa => HashRef,
477 init_arg => undef,
478 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
479 0 'arabext' => {
480 'pattern' => {
481 'default' => {
482 'standard' => {
483 'positive' => '¤ #,##0.00',
484 },
485 },
486 },
487 },
488 'latn' => {
489 'pattern' => {
490 'default' => {
491 'accounting' => {
492 'negative' => '‎(¤ #,##0.00)',
493 'positive' => '¤ #,##0.00',
494 },
495 'standard' => {
496 'positive' => '¤ #,##0.00',
497 },
498 },
499 },
500 },
501 } },
502 1 );
503
504 has 'currencies' => (
505 is => 'ro',
506 isa => HashRef,
507 init_arg => undef,
508 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
509 0 'AUD' => {
510 display_name => {
511 'currency' => q(دالر آسترالیا),
512 },
513 },
514 'BND' => {
515 display_name => {
516 'currency' => q(دالر برونی),
517 },
518 },
519 'BYN' => {
520 display_name => {
521 'currency' => q(روبل روسیهٔ سفید),
522 },
523 },
524 'BYR' => {
525 display_name => {
526 'currency' => q(روبل روسیهٔ سفید \(۲۰۰۰–۲۰۱۶\)),
527 },
528 },
529 'CAD' => {
530 display_name => {
531 'currency' => q(دالر کانادا),
532 },
533 },
534 'CHF' => {
535 display_name => {
536 'currency' => q(فرانک سویس),
537 },
538 },
539 'DKK' => {
540 display_name => {
541 'currency' => q(کرون دنمارک),
542 },
543 },
544 'JPY' => {
545 display_name => {
546 'currency' => q(ین جاپان),
547 },
548 },
549 'MXN' => {
550 display_name => {
551 'currency' => q(پزوی مکسیکو),
552 },
553 },
554 'NLG' => {
555 display_name => {
556 'currency' => q(گیلدر هالند),
557 },
558 },
559 'NOK' => {
560 display_name => {
561 'currency' => q(کرون ناروی),
562 },
563 },
564 'SEK' => {
565 display_name => {
566 'currency' => q(کرون سویدن),
567 },
568 },
569 'SGD' => {
570 display_name => {
571 'currency' => q(دالر سینگاپور),
572 },
573 },
574 'TJS' => {
575 display_name => {
576 'currency' => q(سامانی تاجکستان),
577 },
578 },
579 'USD' => {
580 display_name => {
581 'currency' => q(دالر امریکا),
582 },
583 },
584 } },
585 1 );
586
587
588 has 'calendar_months' => (
589 is => 'ro',
590 isa => HashRef,
591 init_arg => undef,
592 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
593 0 'gregorian' => {
594 'format' => {
595 abbreviated => {
596 nonleap => [
597 'جنو',
598 'فبروری',
599 'مارچ',
600 'اپریل',
601 'می',
602 'جون',
603 'جول',
604 'اگست',
605 'سپتمبر',
606 'اکتوبر',
607 'نومبر',
608 'دسم'
609 ],
610 leap => [
611
612 ],
613 },
614 wide => {
615 nonleap => [
616 'جنوری',
617 'فبروری',
618 'مارچ',
619 'اپریل',
620 'می',
621 'جون',
622 'جولای',
623 'اگست',
624 'سپتمبر',
625 'اکتوبر',
626 'نومبر',
627 'دسمبر'
628 ],
629 leap => [
630
631 ],
632 },
633 },
634 'stand-alone' => {
635 abbreviated => {
636 nonleap => [
637 'جنوری',
638 'فبروری',
639 'مارچ',
640 'اپریل',
641 'می',
642 'جون',
643 'جولای',
644 'اگست',
645 'سپتمبر',
646 'اکتوبر',
647 'نومبر',
648 'دسمبر'
649 ],
650 leap => [
651
652 ],
653 },
654 narrow => {
655 nonleap => [
656 'ج',
657 'ف',
658 'م',
659 'ا',
660 'م',
661 'ج',
662 'ج',
663 'ا',
664 'س',
665 'ا',
666 'ن',
667 'د'
668 ],
669 leap => [
670
671 ],
672 },
673 wide => {
674 nonleap => [
675 'جنوری',
676 'فبروری',
677 'مارچ',
678 'اپریل',
679 'می',
680 'جون',
681 'جولای',
682 'اگست',
683 'سپتمبر',
684 'اکتوبر',
685 'نومبر',
686 'دسمبر'
687 ],
688 leap => [
689
690 ],
691 },
692 },
693 },
694 'persian' => {
695 'format' => {
696 wide => {
697 nonleap => [
698 'حمل',
699 'ثور',
700 'جوزا',
701 'سرطان',
702 'اسد',
703 'سنبلهٔ',
704 'میزان',
705 'عقرب',
706 'قوس',
707 'جدی',
708 'دلو',
709 'حوت'
710 ],
711 leap => [
712
713 ],
714 },
715 },
716 'stand-alone' => {
717 narrow => {
718 nonleap => [
719 'ح',
720 'ث',
721 'ج',
722 'س',
723 'ا',
724 'س',
725 'م',
726 'ع',
727 'ق',
728 'ج',
729 'د',
730 'ح'
731 ],
732 leap => [
733
734 ],
735 },
736 },
737 },
738 } },
739 1 );
740
741 has 'calendar_quarters' => (
742 is => 'ro',
743 isa => HashRef,
744 init_arg => undef,
745 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
746 0 'gregorian' => {
747 'format' => {
748 abbreviated => {0 => 'ر۱',
749 1 => 'ر۲',
750 2 => 'ر۳',
751 3 => 'ر۴'
752 },
753 wide => {0 => 'ربع اول',
754 1 => 'ربع دوم',
755 2 => 'ربع سوم',
756 3 => 'ربع چهارم'
757 },
758 },
759 },
760 } },
761 1 );
762
763 has 'day_period_data' => (
764 is => 'ro',
765 isa => CodeRef,
766 init_arg => undef,
767 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=57 SCAR=81.0
768 # Time in hhmm format
769 0 my ($self, $type, $time, $day_period_type) = @_;
770 0 ▶ $day_period_type //= 'default';
Condition0%0/2
$day_period_type //= "default"
l!l
00
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
Aresult
11
00
771 SWITCH:
772 0 for ($type) {
773 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
774 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
775 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
776 && $time < 1300;
777 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
778 && $time < 1900;
779 0 ▶ return 'morning1' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 400 0 0 0
Condition0%0/3
$time >= 100 and $time < 400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 400
$time >= 100 $time < 400
Truth table0%0/3
A and B
A= $time >= 100B= $time < 400
ABresult
0X0
100
111
780 && $time < 400;
781 0 ▶ return 'morning2' if $time >= 400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 400 and $time < 1200 0 0 0
Condition0%0/3
$time >= 400 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 400 and $time < 1200
$time >= 400 $time < 1200
Truth table0%0/3
A and B
A= $time >= 400B= $time < 1200
ABresult
0X0
100
111
782 && $time < 1200;
783 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
784 && $time < 2400;
785 0 ▶ return 'night2' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
786 && $time < 100;
787 }
788 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
789 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
790 && $time < 1300;
791 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
792 && $time < 1900;
793 0 ▶ return 'morning1' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 400 0 0 0
Condition0%0/3
$time >= 100 and $time < 400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 400
$time >= 100 $time < 400
Truth table0%0/3
A and B
A= $time >= 100B= $time < 400
ABresult
0X0
100
111
794 && $time < 400;
795 0 ▶ return 'morning2' if $time >= 400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 400 and $time < 1200 0 0 0
Condition0%0/3
$time >= 400 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 400 and $time < 1200
$time >= 400 $time < 1200
Truth table0%0/3
A and B
A= $time >= 400B= $time < 1200
ABresult
0X0
100
111
796 && $time < 1200;
797 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
798 && $time < 2400;
799 0 ▶ return 'night2' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
800 && $time < 100;
801 }
802 0 last SWITCH;
803 }
804 0 ▶ if ($_ eq 'persian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "persian") 0 0 0
805 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
806 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
807 && $time < 1300;
808 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
809 && $time < 1900;
810 0 ▶ return 'morning1' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 400 0 0 0
Condition0%0/3
$time >= 100 and $time < 400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 400
$time >= 100 $time < 400
Truth table0%0/3
A and B
A= $time >= 100B= $time < 400
ABresult
0X0
100
111
811 && $time < 400;
812 0 ▶ return 'morning2' if $time >= 400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 400 and $time < 1200 0 0 0
Condition0%0/3
$time >= 400 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 400 and $time < 1200
$time >= 400 $time < 1200
Truth table0%0/3
A and B
A= $time >= 400B= $time < 1200
ABresult
0X0
100
111
813 && $time < 1200;
814 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
815 && $time < 2400;
816 0 ▶ return 'night2' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
817 && $time < 100;
818 }
819 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
820 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
821 && $time < 1300;
822 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
823 && $time < 1900;
824 0 ▶ return 'morning1' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 400 0 0 0
Condition0%0/3
$time >= 100 and $time < 400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 400
$time >= 100 $time < 400
Truth table0%0/3
A and B
A= $time >= 100B= $time < 400
ABresult
0X0
100
111
825 && $time < 400;
826 0 ▶ return 'morning2' if $time >= 400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 400 and $time < 1200 0 0 0
Condition0%0/3
$time >= 400 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 400 and $time < 1200
$time >= 400 $time < 1200
Truth table0%0/3
A and B
A= $time >= 400B= $time < 1200
ABresult
0X0
100
111
827 && $time < 1200;
828 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
829 && $time < 2400;
830 0 ▶ return 'night2' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
831 && $time < 100;
832 }
833 0 last SWITCH;
834 }
835 }
836 0 } },
837 1 );
838
839 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
840 0 my ($orig, $self) = @_;
841 0 return $self->$orig;
842 1 };
843
844 has 'day_periods' => (
845 is => 'ro',
846 isa => HashRef,
847 init_arg => undef,
848 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
849 0 'gregorian' => {
850 'format' => {
851 'abbreviated' => {
852 'afternoon1' => q{ظهر},
853 'afternoon2' => q{بعدازچاشت},
854 'morning1' => q{بامداد},
855 'morning2' => q{صبح},
856 'night1' => q{شب},
857 'night2' => q{نیمه‌شب},
858 },
859 'wide' => {
860 'afternoon1' => q{ظهر},
861 'afternoon2' => q{بعدازچاشت},
862 'morning1' => q{بامداد},
863 'morning2' => q{صبح},
864 'night1' => q{شب},
865 'night2' => q{نیمه‌شب},
866 },
867 },
868 'stand-alone' => {
869 'narrow' => {
870 'afternoon1' => q{بعد از چاشت},
871 'morning1' => q{بامداد},
872 'night1' => q{شب},
873 },
874 },
875 },
876 } },
877 1 );
878
879 has 'eras' => (
880 is => 'ro',
881 isa => HashRef,
882 init_arg => undef,
883 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
884 0 'gregorian' => {
885 },
886 'persian' => {
887 },
888 } },
889 1 );
890
891 has 'date_formats' => (
892 is => 'ro',
893 isa => HashRef,
894 init_arg => undef,
895 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
896 0 'gregorian' => {
897 },
898 'persian' => {
899 },
900 } },
901 1 );
902
903 has 'time_formats' => (
904 is => 'ro',
905 isa => HashRef,
906 init_arg => undef,
907 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
908 0 'gregorian' => {
909 },
910 'persian' => {
911 },
912 } },
913 1 );
914
915 has 'datetime_formats' => (
916 is => 'ro',
917 isa => HashRef,
918 init_arg => undef,
919 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
920 0 'gregorian' => {
921 },
922 'persian' => {
923 },
924 } },
925 1 );
926
927 has 'datetime_formats_available_formats' => (
928 is => 'ro',
929 isa => HashRef,
930 init_arg => undef,
931 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
932 0 'gregorian' => {
933 EHm => q{E HH:mm},
934 EHms => q{E HH:mm:ss},
935 Ed => q{d E},
936 GyMMMEd => q{E, MMM d, y G},
937 GyMMMd => q{MMM d, y G},
938 H => q{HH},
939 Hm => q{HH:mm},
940 Hms => q{HH:mm:ss},
941 MEd => q{E, M/d},
942 MMMEd => q{E, MMM d},
943 MMMMd => q{MMMM d},
944 MMMd => q{MMM d},
945 yM => q{M/y},
946 yMEd => q{E, M/d/y},
947 yMMMEd => q{E, MMM d, y},
948 yMMMd => q{MMM d, y},
949 yMd => q{M/d/y},
950 yQQQ => q{QQQ y},
951 },
952 } },
953 1 );
954
955 has 'datetime_formats_append_item' => (
956 is => 'ro',
957 isa => HashRef,
958 init_arg => undef,
959 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
960 0 'gregorian' => {
961 'Timezone' => '{0} {1}',
962 },
963 } },
964 1 );
965
966 has 'datetime_formats_interval' => (
967 is => 'ro',
968 isa => HashRef,
969 init_arg => undef,
970 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
971 0 } },
972 1 );
973
974 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
975
976 1 1;
977
978 # vim: tabstop=4
« Fa.pm ↑ Summary Fa/Arab.pm »