lib/PostScript/ISOLatin1Encoding.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 2 / 2 totaltotal 79.1% 19 / 24 CC 3 SCAR 8.2
CC
3
Cov
78%
array
3.2
string
2.0
BEGIN
1.0
CRAP 2.3
« blib/lib/PostScript/PrinterFontMetrics.pm ↑ Summary lib/PostScript/StandardEncoding.pm »
1 # RCS Status : $Id: ISOLatin1Encoding.pm,v 1.2 2000-11-15 14:50:14+01 jv Exp $
2 # Author : Johan Vromans
3 # Created On : Sun Jun 18 10:47:10 2000
4 # Last Modified By: Johan Vromans
5 # Last Modified On: Wed Nov 15 14:48:53 2000
6 # Update Count : 16
7 # Status : Released
8  
9 ################ Module Preamble ################
10  
11 package PostScript::ISOLatin1Encoding;
12  
13 1 $VERSION = "1.01";
14  
15 1 ▶use 5.005;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 # Adobe ISOLatin1Encoding.
19 1 my $ISOLatin1Encoding_str =
20 ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ".
21 ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ".
22 ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ".
23 ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ".
24 "space exclam quotedbl numbersign dollar percent ampersand quoteright ".
25 "parenleft parenright asterisk plus comma minus period slash zero one ".
26 "two three four five six seven eight nine colon semicolon less equal ".
27 "greater question at A B C D E F G H I J K L M N O P Q R S T U V W X ".
28 "Y Z bracketleft backslash bracketright asciicircum underscore ".
29 "quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z ".
30 "braceleft bar braceright asciitilde .notdef .notdef .notdef .notdef ".
31 ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ".
32 ".notdef .notdef .notdef .notdef .notdef dotlessi grave acute ".
33 "circumflex tilde macron breve dotaccent dieresis .notdef ring ".
34 "cedilla .notdef hungarumlaut ogonek caron space exclamdown cent ".
35 "sterling currency yen brokenbar section dieresis copyright ".
36 "ordfeminine guillemotleft logicalnot hyphen registered macron degree ".
37 "plusminus twosuperior threesuperior acute mu paragraph ".
38 "periodcentered cedilla onesuperior ordmasculine guillemotright ".
39 "onequarter onehalf threequarters questiondown Agrave Aacute ".
40 "Acircumflex Atilde Adieresis Aring AE Ccedilla Egrave Eacute ".
41 "Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis Eth Ntilde ".
42 "Ograve Oacute Ocircumflex Otilde Odieresis multiply Oslash Ugrave ".
43 "Uacute Ucircumflex Udieresis Yacute Thorn germandbls agrave aacute ".
44 "acircumflex atilde adieresis aring ae ccedilla egrave eacute ".
45 "ecircumflex edieresis igrave iacute icircumflex idieresis eth ntilde ".
46 "ograve oacute ocircumflex otilde odieresis divide oslash ugrave ".
47 "uacute ucircumflex udieresis yacute thorn ydieresis";
48  
49 1 my @ISOLatin1Encoding;
50  
51 0 ▶sub string {
Subroutine string: not called CC=1 SCAR=6.9
Pod documented
52 0 my ($self) = @_;
53 0 $ISOLatin1Encoding_str;
54 }
55  
56 1 ▶sub array {
Subroutine array: called CC=3 SCAR=11.7
Pod documented
57 1 my ($self) = @_;
58 1 ▶ @ISOLatin1Encoding = split(' ', $ISOLatin1Encoding_str)
Branch: 1 branch
BranchTrueFalseTotal
unless @ISOLatin1Encoding 1 0 1
59 unless @ISOLatin1Encoding;
60 1 ▶ wantarray ? @ISOLatin1Encoding : \@ISOLatin1Encoding;
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 0 1 1
61 }
62  
63 1 1;
64  
65 __END__
« blib/lib/PostScript/PrinterFontMetrics.pm ↑ Summary lib/PostScript/StandardEncoding.pm »