protobuf/mrgamoo.pl untested

filter: Statementstmt 0.0% 0 / 85 Branchbran 0.0% 0 / 18 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 106 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ##
2 ## This file was generated by Google::ProtocolBuffers (0.08)
3 ## on Thu Nov 11 15:09:12 2010
4 ##
5 use strict;
6 use warnings;
7 use Google::ProtocolBuffers;
8 {
9 unless (ACPMRMTaskAbort->can('_pb_fields_list')) {
10 Google::ProtocolBuffers->create_message(
11 'ACPMRMTaskAbort',
12 [
13 [
14 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
15 Google::ProtocolBuffers::Constants::TYPE_STRING(),
16 'jobid', 1, undef
17 ],
18 [
19 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
20 Google::ProtocolBuffers::Constants::TYPE_STRING(),
21 'taskid', 2, undef
22 ],
23  
24 ],
25 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
26 );
27 }
28  
29 unless (ACPMRMJobAbort->can('_pb_fields_list')) {
30 Google::ProtocolBuffers->create_message(
31 'ACPMRMJobAbort',
32 [
33 [
34 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
35 Google::ProtocolBuffers::Constants::TYPE_STRING(),
36 'jobid', 1, undef
37 ],
38  
39 ],
40 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
41 );
42 }
43  
44 unless (ACPMRMFileDel->can('_pb_fields_list')) {
45 Google::ProtocolBuffers->create_message(
46 'ACPMRMFileDel',
47 [
48 [
49 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
50 Google::ProtocolBuffers::Constants::TYPE_STRING(),
51 'filename', 1, undef
52 ],
53  
54 ],
55 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
56 );
57 }
58  
59 unless (ACPMRMDiagMsg->can('_pb_fields_list')) {
60 Google::ProtocolBuffers->create_message(
61 'ACPMRMDiagMsg',
62 [
63 [
64 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
65 Google::ProtocolBuffers::Constants::TYPE_STRING(),
66 'jobid', 1, undef
67 ],
68 [
69 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
70 Google::ProtocolBuffers::Constants::TYPE_STRING(),
71 'type', 2, undef
72 ],
73 [
74 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
75 Google::ProtocolBuffers::Constants::TYPE_STRING(),
76 'msg', 3, undef
77 ],
78 [
79 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
80 Google::ProtocolBuffers::Constants::TYPE_STRING(),
81 'server_id', 4, undef
82 ],
83  
84 ],
85 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
86 );
87 }
88  
89 unless (ACPMRMFileXfer->can('_pb_fields_list')) {
90 Google::ProtocolBuffers->create_message(
91 'ACPMRMFileXfer',
92 [
93 [
94 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
95 Google::ProtocolBuffers::Constants::TYPE_STRING(),
96 'jobid', 1, undef
97 ],
98 [
99 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
100 Google::ProtocolBuffers::Constants::TYPE_STRING(),
101 'copyid', 2, undef
102 ],
103 [
104 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
105 Google::ProtocolBuffers::Constants::TYPE_STRING(),
106 'filename', 3, undef
107 ],
108 [
109 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
110 Google::ProtocolBuffers::Constants::TYPE_STRING(),
111 'dstname', 4, undef
112 ],
113 [
114 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
115 Google::ProtocolBuffers::Constants::TYPE_STRING(),
116 'location', 5, undef
117 ],
118 [
119 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
120 Google::ProtocolBuffers::Constants::TYPE_STRING(),
121 'master', 6, undef
122 ],
123 [
124 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
125 Google::ProtocolBuffers::Constants::TYPE_STRING(),
126 'console', 7, undef
127 ],
128  
129 ],
130 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
131 );
132 }
133  
134 unless (ACPMRMXferStatus->can('_pb_fields_list')) {
135 Google::ProtocolBuffers->create_message(
136 'ACPMRMXferStatus',
137 [
138 [
139 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
140 Google::ProtocolBuffers::Constants::TYPE_STRING(),
141 'jobid', 1, undef
142 ],
143 [
144 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
145 Google::ProtocolBuffers::Constants::TYPE_STRING(),
146 'copyid', 2, undef
147 ],
148 [
149 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
150 Google::ProtocolBuffers::Constants::TYPE_INT32(),
151 'status_code', 3, undef
152 ],
153 [
154 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
155 Google::ProtocolBuffers::Constants::TYPE_STRING(),
156 'status_message', 4, undef
157 ],
158  
159 ],
160 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
161 );
162 }
163  
164 unless (ACPMRMTaskCreate->can('_pb_fields_list')) {
165 Google::ProtocolBuffers->create_message(
166 'ACPMRMTaskCreate',
167 [
168 [
169 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
170 Google::ProtocolBuffers::Constants::TYPE_STRING(),
171 'jobid', 1, undef
172 ],
173 [
174 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
175 Google::ProtocolBuffers::Constants::TYPE_STRING(),
176 'taskid', 2, undef
177 ],
178 [
179 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
180 Google::ProtocolBuffers::Constants::TYPE_STRING(),
181 'jobsrc', 3, undef
182 ],
183 [
184 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
185 Google::ProtocolBuffers::Constants::TYPE_STRING(),
186 'options', 4, undef
187 ],
188 [
189 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
190 Google::ProtocolBuffers::Constants::TYPE_STRING(),
191 'initres', 5, undef
192 ],
193 [
194 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
195 Google::ProtocolBuffers::Constants::TYPE_STRING(),
196 'phase', 6, undef
197 ],
198 [
199 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
200 Google::ProtocolBuffers::Constants::TYPE_STRING(),
201 'outfile', 7, undef
202 ],
203 [
204 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
205 Google::ProtocolBuffers::Constants::TYPE_STRING(),
206 'infile', 8, undef
207 ],
208 [
209 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
210 Google::ProtocolBuffers::Constants::TYPE_STRING(),
211 'master', 9, undef
212 ],
213 [
214 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
215 Google::ProtocolBuffers::Constants::TYPE_STRING(),
216 'console', 10, undef
217 ],
218  
219 ],
220 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
221 );
222 }
223  
224 unless (ACPMRMJobCreate->can('_pb_fields_list')) {
225 Google::ProtocolBuffers->create_message(
226 'ACPMRMJobCreate',
227 [
228 [
229 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
230 Google::ProtocolBuffers::Constants::TYPE_STRING(),
231 'jobid', 1, undef
232 ],
233 [
234 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
235 Google::ProtocolBuffers::Constants::TYPE_STRING(),
236 'jobsrc', 2, undef
237 ],
238 [
239 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
240 Google::ProtocolBuffers::Constants::TYPE_STRING(),
241 'options', 3, undef
242 ],
243 [
244 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
245 Google::ProtocolBuffers::Constants::TYPE_STRING(),
246 'initres', 4, undef
247 ],
248 [
249 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
250 Google::ProtocolBuffers::Constants::TYPE_STRING(),
251 'console', 5, undef
252 ],
253 [
254 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
255 Google::ProtocolBuffers::Constants::TYPE_STRING(),
256 'traceinfo', 6, undef
257 ],
258  
259 ],
260 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
261 );
262 }
263  
264 unless (ACPMRMTaskStatus->can('_pb_fields_list')) {
265 Google::ProtocolBuffers->create_message(
266 'ACPMRMTaskStatus',
267 [
268 [
269 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
270 Google::ProtocolBuffers::Constants::TYPE_STRING(),
271 'jobid', 1, undef
272 ],
273 [
274 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
275 Google::ProtocolBuffers::Constants::TYPE_STRING(),
276 'taskid', 2, undef
277 ],
278 [
279 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
280 Google::ProtocolBuffers::Constants::TYPE_STRING(),
281 'phase', 3, undef
282 ],
283 [
284 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
285 Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
286 'progress', 4, undef
287 ],
288  
289 ],
290 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
291 );
292 }
293  
294 }
295 1;