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   19 use strict;
  3         6  
  3         136  
3 3     3   18 use warnings;
  3         5  
  3         106  
4              
5             #
6 3     3   18 use constant DEFAULT => 0x0;
  3         5  
  3         155  
7 3     3   16 use constant AUTO => 0x1;
  3         6  
  3         190  
8 3     3   30 use constant NOT_DETERMINED => 0x2;
  3         5  
  3         152  
9 3     3   18 use constant UTF_8 => 0x0;
  3         4  
  3         142  
10 3     3   18 use constant UTF_16LE => 0x4;
  3         5  
  3         159  
11 3     3   19 use constant UTF_16BE => 0x5;
  3         6  
  3         137  
12 3     3   16 use constant X_USER_DEFINED => 0x6;
  3         6  
  3         162  
13 3     3   19 use constant BIG5 => 0x7;
  3         5  
  3         146  
14 3     3   17 use constant EUC_JP => 0x8;
  3         14  
  3         125  
15 3     3   16 use constant EUC_KR => 0x9;
  3         4  
  3         173  
16 3     3   33 use constant GB18030 => 0xa;
  3         7  
  3         150  
17 3     3   17 use constant GBK => 0xb;
  3         5  
  3         159  
18 3     3   21 use constant IBM866 => 0xc;
  3         6  
  3         142  
19 3     3   19 use constant ISO_2022_JP => 0xd;
  3         6  
  3         144  
20 3     3   19 use constant ISO_8859_10 => 0xe;
  3         3  
  3         142  
21 3     3   17 use constant ISO_8859_13 => 0xf;
  3         5  
  3         140  
22 3     3   17 use constant ISO_8859_14 => 0x10;
  3         7  
  3         156  
23 3     3   19 use constant ISO_8859_15 => 0x11;
  3         5  
  3         172  
24 3     3   27 use constant ISO_8859_16 => 0x12;
  3         6  
  3         132  
25 3     3   18 use constant ISO_8859_2 => 0x13;
  3         4  
  3         157  
26 3     3   19 use constant ISO_8859_3 => 0x14;
  3         5  
  3         145  
27 3     3   18 use constant ISO_8859_4 => 0x15;
  3         5  
  3         140  
28 3     3   30 use constant ISO_8859_5 => 0x16;
  3         15  
  3         138  
29 3     3   17 use constant ISO_8859_6 => 0x17;
  3         5  
  3         136  
30 3     3   19 use constant ISO_8859_7 => 0x18;
  3         4  
  3         130  
31 3     3   16 use constant ISO_8859_8 => 0x19;
  3         6  
  3         162  
32 3     3   17 use constant ISO_8859_8_I => 0x1a;
  3         13  
  3         158  
33 3     3   21 use constant KOI8_R => 0x1b;
  3         4  
  3         128  
34 3     3   72 use constant KOI8_U => 0x1c;
  3         5  
  3         163  
35 3     3   19 use constant MACINTOSH => 0x1d;
  3         6  
  3         161  
36 3     3   18 use constant SHIFT_JIS => 0x1e;
  3         4  
  3         147  
37 3     3   19 use constant WINDOWS_1250 => 0x1f;
  3         5  
  3         141  
38 3     3   19 use constant WINDOWS_1251 => 0x20;
  3         5  
  3         138  
39 3     3   18 use constant WINDOWS_1252 => 0x21;
  3         5  
  3         155  
40 3     3   19 use constant WINDOWS_1253 => 0x22;
  3         17  
  3         178  
41 3     3   20 use constant WINDOWS_1254 => 0x23;
  3         4  
  3         194  
42 3     3   19 use constant WINDOWS_1255 => 0x24;
  3         4  
  3         175  
43 3     3   21 use constant WINDOWS_1256 => 0x25;
  3         5  
  3         132  
44 3     3   16 use constant WINDOWS_1257 => 0x26;
  3         6  
  3         141  
45 3     3   19 use constant WINDOWS_1258 => 0x27;
  3         5  
  3         148  
46 3     3   19 use constant WINDOWS_874 => 0x28;
  3         5  
  3         118  
47 3     3   17 use constant X_MAC_CYRILLIC => 0x29;
  3         13  
  3         169  
48 3     3   19 use constant LAST_ENTRY => 0x2a;
  3         6  
  3         138  
49 3     3   17 use constant STATUS_OK => 0x0;
  3         6  
  3         145  
50 3     3   17 use constant STATUS_ERROR => 0x1;
  3         4  
  3         193  
51 3     3   21 use constant STATUS_CONTINUE => 0x2;
  3         4  
  3         133  
52 3     3   16 use constant STATUS_DONE => 0x4;
  3         6  
  3         146  
53             #
54              
55             1;