File Coverage

blib/lib/HTML5/DOM/Encoding.pm
Criterion Covered Total %
statement 147 147 100.0
branch n/a
condition n/a
subroutine 49 49 100.0
pod n/a
total 196 196 100.0


line stmt bran cond sub pod time code
1             package HTML5::DOM::Encoding;
2 3     3   22 use strict;
  3         17  
  3         129  
3 3     3   13 use warnings;
  3         5  
  3         150  
4              
5             #
6 3     3   15 use constant DEFAULT => 0x0;
  3         13  
  3         245  
7 3     3   17 use constant AUTO => 0x1;
  3         38  
  3         158  
8 3     3   15 use constant NOT_DETERMINED => 0x2;
  3         6  
  3         135  
9 3     3   14 use constant UTF_8 => 0x0;
  3         6  
  3         172  
10 3     3   17 use constant UTF_16LE => 0x4;
  3         4  
  3         182  
11 3     3   17 use constant UTF_16BE => 0x5;
  3         4  
  3         162  
12 3     3   15 use constant X_USER_DEFINED => 0x6;
  3         18  
  3         164  
13 3     3   16 use constant BIG5 => 0x7;
  3         6  
  3         137  
14 3     3   14 use constant EUC_JP => 0x8;
  3         4  
  3         141  
15 3     3   14 use constant EUC_KR => 0x9;
  3         5  
  3         145  
16 3     3   14 use constant GB18030 => 0xa;
  3         5  
  3         139  
17 3     3   14 use constant GBK => 0xb;
  3         6  
  3         130  
18 3     3   16 use constant IBM866 => 0xc;
  3         4  
  3         145  
19 3     3   14 use constant ISO_2022_JP => 0xd;
  3         5  
  3         146  
20 3     3   18 use constant ISO_8859_10 => 0xe;
  3         6  
  3         215  
21 3     3   17 use constant ISO_8859_13 => 0xf;
  3         16  
  3         174  
22 3     3   25 use constant ISO_8859_14 => 0x10;
  3         6  
  3         180  
23 3     3   16 use constant ISO_8859_15 => 0x11;
  3         6  
  3         152  
24 3     3   16 use constant ISO_8859_16 => 0x12;
  3         7  
  3         189  
25 3     3   18 use constant ISO_8859_2 => 0x13;
  3         21  
  3         179  
26 3     3   35 use constant ISO_8859_3 => 0x14;
  3         5  
  3         195  
27 3     3   18 use constant ISO_8859_4 => 0x15;
  3         6  
  3         149  
28 3     3   16 use constant ISO_8859_5 => 0x16;
  3         6  
  3         163  
29 3     3   16 use constant ISO_8859_6 => 0x17;
  3         6  
  3         160  
30 3     3   16 use constant ISO_8859_7 => 0x18;
  3         6  
  3         150  
31 3     3   14 use constant ISO_8859_8 => 0x19;
  3         6  
  3         133  
32 3     3   30 use constant ISO_8859_8_I => 0x1a;
  3         6  
  3         149  
33 3     3   14 use constant KOI8_R => 0x1b;
  3         6  
  3         136  
34 3     3   16 use constant KOI8_U => 0x1c;
  3         6  
  3         143  
35 3     3   14 use constant MACINTOSH => 0x1d;
  3         7  
  3         152  
36 3     3   15 use constant SHIFT_JIS => 0x1e;
  3         6  
  3         125  
37 3     3   14 use constant WINDOWS_1250 => 0x1f;
  3         6  
  3         138  
38 3     3   22 use constant WINDOWS_1251 => 0x20;
  3         5  
  3         181  
39 3     3   24 use constant WINDOWS_1252 => 0x21;
  3         4  
  3         183  
40 3     3   17 use constant WINDOWS_1253 => 0x22;
  3         8  
  3         222  
41 3     3   19 use constant WINDOWS_1254 => 0x23;
  3         6  
  3         165  
42 3     3   17 use constant WINDOWS_1255 => 0x24;
  3         38  
  3         175  
43 3     3   18 use constant WINDOWS_1256 => 0x25;
  3         5  
  3         155  
44 3     3   22 use constant WINDOWS_1257 => 0x26;
  3         7  
  3         178  
45 3     3   25 use constant WINDOWS_1258 => 0x27;
  3         6  
  3         155  
46 3     3   16 use constant WINDOWS_874 => 0x28;
  3         6  
  3         149  
47 3     3   16 use constant X_MAC_CYRILLIC => 0x29;
  3         13  
  3         163  
48 3     3   18 use constant LAST_ENTRY => 0x2a;
  3         12  
  3         152  
49 3     3   17 use constant STATUS_OK => 0x0;
  3         5  
  3         177  
50 3     3   18 use constant STATUS_ERROR => 0x1;
  3         5  
  3         162  
51 3     3   91 use constant STATUS_CONTINUE => 0x2;
  3         38  
  3         155  
52 3     3   16 use constant STATUS_DONE => 0x4;
  3         6  
  3         204  
53             #
54              
55             1;