blib/lib/Embperl/Constant.pm untested

filter: Statementstmt 0.0% 0 / 327 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 109 Podpod n/a totaltotal 0.0% 0 / 436 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 ###################################################################################
3 #
4 # Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de
5 # Embperl - Copyright (c) 2008-2015 Gerald Richter
6 # Embperl - Copyright (c) 2015-2023 actevy.io
7 #
8 # You may distribute under the terms of either the GNU General Public
9 # License or the Artistic License, as specified in the Perl README file.
10 #
11 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
12 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
13 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14 #
15 ###################################################################################
16  
17  
18 package Embperl::Constant ;
19  
20  
21  
22 use constant dbgAll => -1 ;
23 use constant dbgAllCmds => 1024 ;
24 use constant dbgCmd => 8 ;
25 use constant dbgDefEval => 16384 ;
26 use constant dbgEnv => 16 ;
27 use constant dbgEval => 4 ;
28 use constant dbgFlushLog => 512 ;
29 use constant dbgFlushOutput => 256 ;
30 use constant dbgForm => 32 ;
31 use constant dbgFunc => 4096 ;
32 use constant dbgHeadersIn => 262144 ;
33 use constant dbgImport => 0x400000 ;
34 use constant dbgInput => 128 ;
35 use constant dbgLogLink => 8192 ;
36 use constant dbgMem => 2 ;
37 use constant dbgProfile => 0x100000 ;
38 use constant dbgShowCleanup => 524288 ;
39 use constant dbgSource => 2048 ;
40 use constant dbgStd => 1 ;
41 use constant dbgSession => 0x200000 ;
42 use constant dbgTab => 64 ;
43 use constant dbgParse => 0x1000000 ;
44 use constant dbgObjectSearch => 0x2000000 ;
45 use constant dbgDOM => 0x10000 ;
46 use constant dbgOutput => 0x08000 ;
47 use constant dbgRun => 0x20000 ;
48 use constant dbgCache => 0x4000000 ;
49 use constant dbgCompile => 0x8000000 ;
50 use constant dbgXML => 0x10000000 ;
51 use constant dbgXSLT => 0x20000000 ;
52 use constant dbgCheckpoint => 0x40000000 ;
53  
54 use constant epIOCGI => 1 ;
55 use constant epIOMod_Perl => 3 ;
56 use constant epIOPerl => 4 ;
57 use constant epIOProcess => 2 ;
58  
59 use constant escHtml => 1 ;
60 use constant escNone => 0 ;
61 use constant escStd => 3 ;
62 use constant escUrl => 2 ;
63 use constant escEscape => 4 ;
64 use constant escXML => 8 ;
65  
66  
67 use constant optDisableChdir => 128 ;
68 use constant optDisableEmbperlErrorPage => 2 ;
69 use constant optReturnError => 0x40000 ;
70 use constant optDisableFormData => 256 ;
71 use constant optDisableHtmlScan => 512 ;
72 use constant optDisableInputScan => 1024 ;
73 use constant optDisableMetaScan => 4096 ;
74 use constant optDisableTableScan => 2048 ;
75 use constant optDisableSelectScan => 0x800000 ;
76 use constant optDisableVarCleanup => 1 ;
77 use constant optEarlyHttpHeader => 64 ;
78 use constant optOpcodeMask => 8 ;
79 use constant optRawInput => 16 ;
80 use constant optSafeNamespace => 4 ;
81 use constant optSendHttpHeader => 32 ;
82 use constant optAllFormData => 8192 ;
83 use constant optRedirectStdout => 16384 ;
84 use constant optUndefToEmptyValue => 32768 ;
85 use constant optNoHiddenEmptyValue => 0x10000 ;
86 use constant optAllowZeroFilesize => 0x20000 ;
87 use constant optKeepSrcInMemory => 0x80000 ;
88 use constant optKeepSpaces => 0x100000 ;
89 use constant optOpenLogEarly => 0x200000 ;
90 use constant optNoUncloseWarn => 0x400000 ;
91 use constant optShowBacktrace => 0x8000000 ;
92  
93  
94 use constant ok => 0 ;
95 use constant rcArgStackOverflow => 23 ;
96 use constant rcArrayError => 11 ;
97 use constant rcCannotUsedRecursive => 19 ;
98 use constant rcCleanupErr => 50 ;
99 use constant rcCmdNotFound => 7 ;
100 use constant rcElseWithoutIf => 4 ;
101 use constant rcEndifWithoutIf => 3 ;
102 use constant rcEndtableWithoutTable => 6 ;
103 use constant rcEndtableWithoutTablerow => 20 ;
104 use constant rcEndtextareaWithoutTextarea => 22 ;
105 use constant rcEndwhileWithoutWhile => 5 ;
106 use constant rcEvalErr => 24 ;
107 use constant rcExecCGIMissing => 27 ;
108 use constant rcFileOpenErr => 12 ;
109 use constant rcHashError => 10 ;
110 use constant rcInputNotSupported => 18 ;
111 use constant rcIsDir => 28 ;
112 use constant rcLogFileOpenErr => 26 ;
113 use constant rcMagicError => 15 ;
114 use constant rcMissingRight => 13 ;
115 use constant rcNoRetFifo => 14 ;
116 use constant rcNotCompiledForModPerl => 25 ;
117 use constant rcNotFound => 404 ;
118 use constant rcOutOfMemory => 8 ;
119 use constant rcPerlVarError => 9 ;
120 use constant rcPerlWarn => 32 ;
121 use constant rcStackOverflow => 1 ;
122 use constant rcStackUnderflow => 2 ;
123 use constant rcUnknownNameSpace => 17 ;
124 use constant rcUnknownVarType => 31 ;
125 use constant rcVirtLogNotSet => 33 ;
126 use constant rcWriteErr => 16 ;
127 use constant rcXNotSet => 29 ;
128 use constant rcCallInputFuncFailed => 40 ;
129 use constant rcCallOutputFuncFailed => 41 ;
130 use constant rcSubNotFound => 42 ;
131 use constant rcImportStashErr => 43 ;
132 use constant rcCGIError => 44 ;
133 use constant rcUnclosedHtml => 45 ;
134 use constant rcUnclosedCmd => 46 ;
135 use constant rcNotAllowed => 47 ;
136 use constant rcForbidden => 401 ;
137  
138 1;