OpenCoverage

tsort.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tsort.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10static struct option const long_options[] =-
11{-
12 {-
13 ((void *)0)-
14 , 0, -
15 ((void *)0)-
16 , 0}-
17};-
18-
19-
20-
21-
22-
23struct successor-
24{-
25 struct item *suc;-
26 struct successor *next;-
27};-
28-
29-
30struct item-
31{-
32 const char *str;-
33 struct item *left, *right;-
34 int balance;-
35 size_t count;-
36 struct item *qlink;-
37 struct successor *top;-
38};-
39-
40-
41static struct item *head = -
42 ((void *)0)-
43 ;-
44-
45-
46static struct item *zeros = -
47 ((void *)0)-
48 ;-
49-
50-
51static struct item *loop = -
52 ((void *)0)-
53 ;-
54-
55-
56static size_t n_strings = 0;-
57-
58void-
59usage (int status)-
60{-
61 if (status !=
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-4
62 0
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-4
63 )-
64 do { fprintf (-
65 stderr-
66 , -
67 dcgettext (((void *)0), -
68 "Try '%s --help' for more information.\n"-
69 , 5)-
70 , program_name); }
executed 4 times by 1 test: end of block
Executed by:
  • tsort
while (0);
4
71 else-
72 {-
73 printf (-
74 dcgettext (((void *)0), -
75 "Usage: %s [OPTION] [FILE]\nWrite totally ordered list consistent with the partial ordering in FILE.\n"-
76 , 5)-
77-
78-
79 -
80 , program_name);-
81-
82 emit_stdin_note ();-
83-
84 fputs_unlocked (-
85 dcgettext (((void *)0), -
86 "\n"-
87 , 5)-
88 ,-
89 stdout-
90 )-
91-
92 ;-
93 fputs_unlocked (-
94 dcgettext (((void *)0), -
95 " --help display this help and exit\n"-
96 , 5)-
97 ,-
98 stdout-
99 );-
100 fputs_unlocked (-
101 dcgettext (((void *)0), -
102 " --version output version information and exit\n"-
103 , 5)-
104 ,-
105 stdout-
106 );-
107 emit_ancillary_info ("tsort");-
108 }
executed 3 times by 1 test: end of block
Executed by:
  • tsort
3
109-
110 exit (status);
executed 7 times by 1 test: exit (status);
Executed by:
  • tsort
7
111}-
112-
113-
114static struct item *-
115new_item (const char *str)-
116{-
117 struct item *k = xmalloc (sizeof *k);-
118-
119 k->str = (str
strDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tsort
? xstrdup (str):
10-57
120 ((void *)0)-
121 );-
122 k->left = k->right = -
123 ((void *)0)-
124 ;-
125 k->balance = 0;-
126-
127-
128 k->count = 0;-
129 k->qlink = -
130 ((void *)0)-
131 ;-
132 k->top = -
133 ((void *)0)-
134 ;-
135-
136 return
executed 67 times by 1 test: return k;
Executed by:
  • tsort
k;
executed 67 times by 1 test: return k;
Executed by:
  • tsort
67
137}-
138static struct item *-
139search_item (struct item *root, const char *str)-
140{-
141 struct item *p, *q, *r, *s, *t;-
142 int a;-
143-
144 -
145 ((-
146 root-
147 ) ? (void) (0) : __assert_fail (-
148 "root"-
149 , "src/tsort.c", 138, __PRETTY_FUNCTION__))-
150 ;-
151-
152-
153-
154 if (root->right ==
root->right == ((void *)0)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tsort
10-85
155 ((void *)0)
root->right == ((void *)0)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tsort
10-85
156 )-
157 return
executed 10 times by 1 test: return (root->right = new_item (str));
Executed by:
  • tsort
(root->right = new_item (str));
executed 10 times by 1 test: return (root->right = new_item (str));
Executed by:
  • tsort
10
158-
159-
160 t = root;-
161 s = p = root->right;-
162-
163 while (-
164 1-
165 )-
166 {-
167-
168 a = -
169 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
170 str-
171 ) && __builtin_constant_p (-
172 p->str-
173 ) && (__s1_len = __builtin_strlen (-
174 str-
175 ), __s2_len = __builtin_strlen (-
176 p->str-
177 ), (!((size_t)(const void *)((-
178 str-
179 ) + 1) - (size_t)(const void *)(-
180 str-
181 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
182 p->str-
183 ) + 1) - (size_t)(const void *)(-
184 p->str-
185 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
186 str-
187 , -
188 p->str-
189 ) : (__builtin_constant_p (-
190 str-
191 ) && ((size_t)(const void *)((-
192 str-
193 ) + 1) - (size_t)(const void *)(-
194 str-
195 ) == 1) && (__s1_len = __builtin_strlen (-
196 str-
197 ), __s1_len < 4) ? (__builtin_constant_p (-
198 p->str-
199 ) && ((size_t)(const void *)((-
200 p->str-
201 ) + 1) - (size_t)(const void *)(-
202 p->str-
203 ) == 1) ? __builtin_strcmp (-
204 str-
205 , -
206 p->str-
207 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
208 p->str-
209 ); int __result = (((const unsigned char *) (const char *) (-
210 str-
211 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
212 str-
213 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
214 str-
215 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
216 str
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
217 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
218 p->str-
219 ) && ((size_t)(const void *)((-
220 p->str-
221 ) + 1) - (size_t)(const void *)(-
222 p->str-
223 ) == 1) && (__s2_len = __builtin_strlen (-
224 p->str-
225 ), __s2_len < 4) ? (__builtin_constant_p (-
226 str-
227 ) && ((size_t)(const void *)((-
228 str-
229 ) + 1) - (size_t)(const void *)(-
230 str-
231 ) == 1) ? __builtin_strcmp (-
232 str-
233 , -
234 p->str-
235 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
236 str-
237 ); int __result = (((const unsigned char *) (const char *) (-
238 p->str-
239 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
240 p->str-
241 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
242 p->str-
243 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
0
244 p->str
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
0
245 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
0
246 str-
247 , -
248 p->str-
249 )))); })-
250 ;-
251 if (a == 0
a == 0Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 180 times by 1 test
Evaluated by:
  • tsort
)
38-180
252 return
executed 38 times by 1 test: return p;
Executed by:
  • tsort
p;
executed 38 times by 1 test: return p;
Executed by:
  • tsort
38
253-
254-
255 if (a < 0
a < 0Description
TRUEevaluated 22 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 158 times by 1 test
Evaluated by:
  • tsort
)
22-158
256 q = p->left;
executed 22 times by 1 test: q = p->left;
Executed by:
  • tsort
22
257 else-
258 q = p->right;
executed 158 times by 1 test: q = p->right;
Executed by:
  • tsort
158
259-
260 if (q ==
q == ((void *)0)Description
TRUEevaluated 47 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 133 times by 1 test
Evaluated by:
  • tsort
47-133
261 ((void *)0)
q == ((void *)0)Description
TRUEevaluated 47 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 133 times by 1 test
Evaluated by:
  • tsort
47-133
262 )-
263 {-
264-
265 q = new_item (str);-
266-
267-
268 if (a < 0
a < 0Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 40 times by 1 test
Evaluated by:
  • tsort
)
7-40
269 p->left = q;
executed 7 times by 1 test: p->left = q;
Executed by:
  • tsort
7
270 else-
271 p->right = q;
executed 40 times by 1 test: p->right = q;
Executed by:
  • tsort
40
272-
273-
274 -
275 ((-
276 !(-
277 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
278 str-
279 ) && __builtin_constant_p (-
280 s->str-
281 ) && (__s1_len = __builtin_strlen (-
282 str-
283 ), __s2_len = __builtin_strlen (-
284 s->str-
285 ), (!((size_t)(const void *)((-
286 str-
287 ) + 1) - (size_t)(const void *)(-
288 str-
289 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
290 s->str-
291 ) + 1) - (size_t)(const void *)(-
292 s->str-
293 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
294 str-
295 , -
296 s->str-
297 ) : (__builtin_constant_p (-
298 str-
299 ) && ((size_t)(const void *)((-
300 str-
301 ) + 1) - (size_t)(const void *)(-
302 str-
303 ) == 1) && (__s1_len = __builtin_strlen (-
304 str-
305 ), __s1_len < 4) ? (__builtin_constant_p (-
306 s->str-
307 ) && ((size_t)(const void *)((-
308 s->str-
309 ) + 1) - (size_t)(const void *)(-
310 s->str-
311 ) == 1) ? __builtin_strcmp (-
312 str-
313 , -
314 s->str-
315 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
316 s->str-
317 ); int __result = (((const unsigned char *) (const char *) (-
318 str-
319 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
320 str-
321 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
322 str-
323 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
324 str
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
325 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
326 s->str-
327 ) && ((size_t)(const void *)((-
328 s->str-
329 ) + 1) - (size_t)(const void *)(-
330 s->str-
331 ) == 1) && (__s2_len = __builtin_strlen (-
332 s->str-
333 ), __s2_len < 4) ? (__builtin_constant_p (-
334 str-
335 ) && ((size_t)(const void *)((-
336 str-
337 ) + 1) - (size_t)(const void *)(-
338 str-
339 ) == 1) ? __builtin_strcmp (-
340 str-
341 , -
342 s->str-
343 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
344 str-
345 ); int __result = (((const unsigned char *) (const char *) (-
346 s->str-
347 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
348 s->str-
349 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
350 s->str-
351 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
0
352 s->str
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
0
353 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
0
354 str-
355 , -
356 s->str-
357 )))); }) -
358 == 0)-
359 ) ? (void) (0) : __assert_fail (-
360 "!STREQ (str, s->str)"-
361 , "src/tsort.c", 174, __PRETTY_FUNCTION__))-
362 ;-
363 if (-
364 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
365 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
366 ) && __builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
367 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
368 ) && (__s1_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
369 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
370 ), __s2_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
371 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
372 ), (!((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
373 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
374 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
375 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
376 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
377 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
378 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
379 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
380 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
381 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
382 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
383 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
384 ) : (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
385 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
386 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
387 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
388 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
389 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
390 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
391 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
392 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
393 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
394 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
395 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
396 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
397 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
398 ) == 1) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
399 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
400 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
401 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
402 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
403 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
404 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
405 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
406 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
407 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
408 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
409 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
410 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
411 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0-41
412 ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
413 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
414 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
415 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
416 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
417 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
418 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
419 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
420 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
421 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
422 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
423 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
424 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
425 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
426 ) == 1) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
427 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
428 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
429 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
430 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
431 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
432 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
433 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
434 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
435 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
436 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
437 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
438 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
439 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
0-41
440 ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
0-41
441 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
442 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
443 s->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
444 )))); })
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
6-41
445 < 0
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tsort
)
6-41
446 {-
447 r = p = s->left;-
448 a = -1;-
449 }
executed 6 times by 1 test: end of block
Executed by:
  • tsort
6
450 else-
451 {-
452 r = p = s->right;-
453 a = 1;-
454 }
executed 41 times by 1 test: end of block
Executed by:
  • tsort
41
455-
456 while (p != q
p != qDescription
TRUEevaluated 50 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 47 times by 1 test
Evaluated by:
  • tsort
)
47-50
457 {-
458 -
459 ((-
460 !(-
461 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
462 str-
463 ) && __builtin_constant_p (-
464 p->str-
465 ) && (__s1_len = __builtin_strlen (-
466 str-
467 ), __s2_len = __builtin_strlen (-
468 p->str-
469 ), (!((size_t)(const void *)((-
470 str-
471 ) + 1) - (size_t)(const void *)(-
472 str-
473 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
474 p->str-
475 ) + 1) - (size_t)(const void *)(-
476 p->str-
477 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
478 str-
479 , -
480 p->str-
481 ) : (__builtin_constant_p (-
482 str-
483 ) && ((size_t)(const void *)((-
484 str-
485 ) + 1) - (size_t)(const void *)(-
486 str-
487 ) == 1) && (__s1_len = __builtin_strlen (-
488 str-
489 ), __s1_len < 4) ? (__builtin_constant_p (-
490 p->str-
491 ) && ((size_t)(const void *)((-
492 p->str-
493 ) + 1) - (size_t)(const void *)(-
494 p->str-
495 ) == 1) ? __builtin_strcmp (-
496 str-
497 , -
498 p->str-
499 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
500 p->str-
501 ); int __result = (((const unsigned char *) (const char *) (-
502 str-
503 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
504 str-
505 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
506 str-
507 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
508 str
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0
509 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
510 p->str-
511 ) && ((size_t)(const void *)((-
512 p->str-
513 ) + 1) - (size_t)(const void *)(-
514 p->str-
515 ) == 1) && (__s2_len = __builtin_strlen (-
516 p->str-
517 ), __s2_len < 4) ? (__builtin_constant_p (-
518 str-
519 ) && ((size_t)(const void *)((-
520 str-
521 ) + 1) - (size_t)(const void *)(-
522 str-
523 ) == 1) ? __builtin_strcmp (-
524 str-
525 , -
526 p->str-
527 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
528 str-
529 ); int __result = (((const unsigned char *) (const char *) (-
530 p->str-
531 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
532 p->str-
533 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
534 p->str-
535 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
0
536 p->str
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
0
537 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
0
538 str-
539 , -
540 p->str-
541 )))); }) -
542 == 0)-
543 ) ? (void) (0) : __assert_fail (-
544 "!STREQ (str, p->str)"-
545 , "src/tsort.c", 188, __PRETTY_FUNCTION__))-
546 ;-
547 if (-
548 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
549 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
550 ) && __builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
551 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
552 ) && (__s1_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
553 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
554 ), __s2_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
555 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
556 ), (!((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
557 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
558 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
559 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
560 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
561 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
562 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
563 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
564 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
565 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
566 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
567 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
568 ) : (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
569 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
570 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
571 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
572 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
573 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
574 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
575 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
576 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
577 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
578 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
579 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
580 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
581 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
582 ) == 1) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
583 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
584 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
585 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
586 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
587 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
588 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
589 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
590 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
591 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
592 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
593 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
594 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
595 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0-44
596 ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
597 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
598 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
599 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
600 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
601 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
602 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
603 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
604 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
605 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
606 ) && ((size_t)(const void *)((
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
607 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
608 ) + 1) - (size_t)(const void *)(
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
609 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
610 ) == 1) ? __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
611 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
612 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
613 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
614 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
615 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
616 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
617 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
618 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
619 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
620 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
621 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
622 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
623 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
0-44
624 ))[3] - __s2[3]);
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
0-44
625 str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
626 ,
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
627 p->str
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
628 )))); })
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
6-44
629 < 0
__extension__ ...r )))); }) < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tsort
)
6-44
630 {-
631 p->balance = -1;-
632 p = p->left;-
633 }
executed 6 times by 1 test: end of block
Executed by:
  • tsort
6
634 else-
635 {-
636 p->balance = 1;-
637 p = p->right;-
638 }
executed 44 times by 1 test: end of block
Executed by:
  • tsort
44
639 }-
640-
641-
642 if (s->balance == 0
s->balance == 0Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tsort
|| s->balance == -a
s->balance == -aDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tsort
)
3-28
643 {-
644 s->balance += a;-
645 return
executed 22 times by 1 test: return q;
Executed by:
  • tsort
q;
executed 22 times by 1 test: return q;
Executed by:
  • tsort
22
646 }-
647-
648 if (r->balance == a
r->balance == aDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tsort
)
4-21
649 {-
650-
651 p = r;-
652 if (a < 0
a < 0Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • tsort
)
0-21
653 {-
654 s->left = r->right;-
655 r->right = s;-
656 }
never executed: end of block
0
657 else-
658 {-
659 s->right = r->left;-
660 r->left = s;-
661 }
executed 21 times by 1 test: end of block
Executed by:
  • tsort
21
662 s->balance = r->balance = 0;-
663 }
executed 21 times by 1 test: end of block
Executed by:
  • tsort
21
664 else-
665 {-
666-
667 if (a < 0
a < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
)
2
668 {-
669 p = r->right;-
670 r->right = p->left;-
671 p->left = r;-
672 s->left = p->right;-
673 p->right = s;-
674 }
executed 2 times by 1 test: end of block
Executed by:
  • tsort
2
675 else-
676 {-
677 p = r->left;-
678 r->left = p->right;-
679 p->right = r;-
680 s->right = p->left;-
681 p->left = s;-
682 }
executed 2 times by 1 test: end of block
Executed by:
  • tsort
2
683-
684 s->balance = 0;-
685 r->balance = 0;-
686 if (p->balance == a
p->balance == aDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
)
1-3
687 s->balance = -a;
executed 1 time by 1 test: s->balance = -a;
Executed by:
  • tsort
1
688 else if (p->balance == -a
p->balance == -aDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
)
0-3
689 r->balance = a;
never executed: r->balance = a;
0
690 p->balance = 0;-
691 }
executed 4 times by 1 test: end of block
Executed by:
  • tsort
4
692-
693-
694 if (s == t->right
s == t->rightDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tsort
)
1-24
695 t->right = p;
executed 24 times by 1 test: t->right = p;
Executed by:
  • tsort
24
696 else-
697 t->left = p;
executed 1 time by 1 test: t->left = p;
Executed by:
  • tsort
1
698-
699 return
executed 25 times by 1 test: return q;
Executed by:
  • tsort
q;
executed 25 times by 1 test: return q;
Executed by:
  • tsort
25
700 }-
701-
702-
703 if (q->balance
q->balanceDescription
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 98 times by 1 test
Evaluated by:
  • tsort
)
35-98
704 {-
705 t = p;-
706 s = q;-
707 }
executed 35 times by 1 test: end of block
Executed by:
  • tsort
35
708-
709 p = q;-
710 }
executed 133 times by 1 test: end of block
Executed by:
  • tsort
133
711-
712-
713}
never executed: end of block
0
714-
715-
716-
717static void-
718record_relation (struct item *j, struct item *k)-
719{-
720 struct successor *p;-
721-
722 if (!(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
723 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
724 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
725 ) && __builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
726 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
727 ) && (__s1_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
728 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
729 ), __s2_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
730 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
731 ), (!((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
732 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
733 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
734 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
735 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
736 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
737 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
738 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
739 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
740 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
741 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
742 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
743 ) : (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
744 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
745 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
746 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
747 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
748 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
749 ) == 1) && (__s1_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
750 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
751 ), __s1_len < 4) ? (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
752 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
753 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
754 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
755 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
756 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
757 ) == 1) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
758 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
759 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
760 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
761 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
762 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
763 ); int __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
764 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
765 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
766 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
767 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
768 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
769 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
770 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]);
0-44
771 ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
772 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
773 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
774 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
775 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
776 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
777 ) == 1) && (__s2_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
778 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
779 ), __s2_len < 4) ? (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
780 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
781 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
782 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
783 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
784 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
785 ) == 1) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
786 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
787 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
788 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
789 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
790 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
791 ); int __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
792 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
793 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
794 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
795 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
796 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
797 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
798 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]);
0-44
799 ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
0-44
800 j->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
801 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
802 k->str
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
803 )))); })
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
3-44
804 == 0)
!( __extension...)))); }) == 0)Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
)
3-44
805 {-
806 k->count++;-
807 p = xmalloc (sizeof *p);-
808 p->suc = k;-
809 p->next = j->top;-
810 j->top = p;-
811 }
executed 44 times by 1 test: end of block
Executed by:
  • tsort
44
812}
executed 47 times by 1 test: end of block
Executed by:
  • tsort
47
813-
814static -
815 _Bool-
816-
817count_items (struct item *unused __attribute__ ((__unused__)))-
818{-
819 n_strings++;-
820 return
executed 56 times by 1 test: return 0 ;
Executed by:
  • tsort
executed 56 times by 1 test: return 0 ;
Executed by:
  • tsort
56
821 0
executed 56 times by 1 test: return 0 ;
Executed by:
  • tsort
56
822 ;
executed 56 times by 1 test: return 0 ;
Executed by:
  • tsort
56
823}-
824-
825static -
826 _Bool-
827-
828scan_zeros (struct item *k)-
829{-
830-
831 if (k->count == 0
k->count == 0Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tsort
&& k->str
k->strDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tsort
FALSEnever evaluated
)
0-46
832 {-
833 if (head ==
head == ((void *)0)Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tsort
7-9
834 ((void *)0)
head == ((void *)0)Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tsort
7-9
835 )-
836 head = k;
executed 9 times by 1 test: head = k;
Executed by:
  • tsort
9
837 else-
838 zeros->qlink = k;
executed 7 times by 1 test: zeros->qlink = k;
Executed by:
  • tsort
7
839-
840 zeros = k;-
841 }
executed 16 times by 1 test: end of block
Executed by:
  • tsort
16
842-
843 return
executed 62 times by 1 test: return 0 ;
Executed by:
  • tsort
executed 62 times by 1 test: return 0 ;
Executed by:
  • tsort
62
844 0
executed 62 times by 1 test: return 0 ;
Executed by:
  • tsort
62
845 ;
executed 62 times by 1 test: return 0 ;
Executed by:
  • tsort
62
846}-
847static -
848 _Bool-
849-
850detect_loop (struct item *k)-
851{-
852 if (k->count > 0
k->count > 0Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tsort
FALSEnever evaluated
)
0-11
853 {-
854-
855-
856-
857 if (loop ==
loop == ((void *)0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
2-9
858 ((void *)0)
loop == ((void *)0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
2-9
859 )-
860-
861 loop = k;
executed 2 times by 1 test: loop = k;
Executed by:
  • tsort
2
862 else-
863 {-
864 struct successor **p = &k->top;-
865-
866 while (*
*pDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
p
*pDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tsort
)
3-8
867 {-
868 if ((*
(*p)->suc == loopDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
p)->suc == loop
(*p)->suc == loopDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
)
2-6
869 {-
870 if (k->qlink
k->qlinkDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tsort
)
2-4
871 {-
872-
873 while (loop
loopDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tsort
FALSEnever evaluated
)
0-4
874 {-
875 struct item *tmp = loop->qlink;-
876-
877 error (0, 0, "%s", (loop->str));-
878-
879-
880 if (loop == k
loop == kDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
)
2
881 {-
882-
883 (*p)->suc->count--;-
884 *p = (*p)->next;-
885 break;
executed 2 times by 1 test: break;
Executed by:
  • tsort
2
886 }-
887-
888-
889-
890 loop->qlink = -
891 ((void *)0)-
892 ;-
893 loop = tmp;-
894 }
executed 2 times by 1 test: end of block
Executed by:
  • tsort
2
895-
896 while (loop
loopDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
)
2-4
897 {-
898 struct item *tmp = loop->qlink;-
899-
900 loop->qlink = -
901 ((void *)0)-
902 ;-
903 loop = tmp;-
904 }
executed 4 times by 1 test: end of block
Executed by:
  • tsort
4
905-
906-
907-
908 return
executed 2 times by 1 test: return 1 ;
Executed by:
  • tsort
executed 2 times by 1 test: return 1 ;
Executed by:
  • tsort
2
909 1
executed 2 times by 1 test: return 1 ;
Executed by:
  • tsort
2
910 ;
executed 2 times by 1 test: return 1 ;
Executed by:
  • tsort
2
911 }-
912 else-
913 {-
914 k->qlink = loop;-
915 loop = k;-
916 break;
executed 4 times by 1 test: break;
Executed by:
  • tsort
4
917 }-
918 }-
919-
920 p = &(*p)->next;-
921 }
executed 2 times by 1 test: end of block
Executed by:
  • tsort
2
922 }
executed 7 times by 1 test: end of block
Executed by:
  • tsort
7
923 }-
924-
925 return
executed 9 times by 1 test: return 0 ;
Executed by:
  • tsort
executed 9 times by 1 test: return 0 ;
Executed by:
  • tsort
9
926 0
executed 9 times by 1 test: return 0 ;
Executed by:
  • tsort
9
927 ;
executed 9 times by 1 test: return 0 ;
Executed by:
  • tsort
9
928}-
929-
930-
931-
932-
933static -
934 _Bool-
935-
936recurse_tree (struct item *root, -
937 _Bool -
938 (*action) (struct item *))-
939{-
940 if (root->left ==
root->left == ((void *)0)Description
TRUEevaluated 81 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tsort
48-81
941 ((void *)0)
root->left == ((void *)0)Description
TRUEevaluated 81 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tsort
48-81
942 && root->right ==
root->right == ((void *)0)Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tsort
12-69
943 ((void *)0)
root->right == ((void *)0)Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tsort
12-69
944 )-
945 return
executed 69 times by 1 test: return (*action) (root);
Executed by:
  • tsort
(*action) (root);
executed 69 times by 1 test: return (*action) (root);
Executed by:
  • tsort
69
946 else-
947 {-
948 if (root->left !=
root->left != ((void *)0)Description
TRUEevaluated 48 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tsort
12-48
949 ((void *)0)
root->left != ((void *)0)Description
TRUEevaluated 48 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tsort
12-48
950 )-
951 if (recurse_tree (root->left, action)
recurse_tree (...>left, action)Description
TRUEnever evaluated
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tsort
)
0-48
952 return
never executed: return 1 ;
never executed: return 1 ;
0
953 1
never executed: return 1 ;
0
954 ;
never executed: return 1 ;
0
955 if ((*
(*action) (root)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 59 times by 1 test
Evaluated by:
  • tsort
action) (root)
(*action) (root)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 59 times by 1 test
Evaluated by:
  • tsort
)
1-59
956 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
957 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
958 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
959 if (root->right !=
root->right != ((void *)0)Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
2-57
960 ((void *)0)
root->right != ((void *)0)Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
2-57
961 )-
962 if (recurse_tree (root->right, action)
recurse_tree (...right, action)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 56 times by 1 test
Evaluated by:
  • tsort
)
1-56
963 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
964 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
965 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tsort
1
966 }
executed 58 times by 1 test: end of block
Executed by:
  • tsort
58
967-
968 return
executed 58 times by 1 test: return 0 ;
Executed by:
  • tsort
executed 58 times by 1 test: return 0 ;
Executed by:
  • tsort
58
969 0
executed 58 times by 1 test: return 0 ;
Executed by:
  • tsort
58
970 ;
executed 58 times by 1 test: return 0 ;
Executed by:
  • tsort
58
971}-
972-
973-
974-
975-
976static void-
977walk_tree (struct item *root, -
978 _Bool -
979 (*action) (struct item *))-
980{-
981 if (root->right
root->rightDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tsort
FALSEnever evaluated
)
0-24
982 recurse_tree (root->right, action);
executed 24 times by 1 test: recurse_tree (root->right, action);
Executed by:
  • tsort
24
983}
executed 24 times by 1 test: end of block
Executed by:
  • tsort
24
984-
985-
986-
987static -
988 _Bool-
989-
990tsort (const char *file)-
991{-
992 -
993 _Bool -
994 ok = -
995 1-
996 ;-
997 struct item *root;-
998 struct item *j = -
999 ((void *)0)-
1000 ;-
1001 struct item *k = -
1002 ((void *)0)-
1003 ;-
1004 token_buffer tokenbuffer;-
1005 -
1006 _Bool -
1007 is_stdin = (-
1008 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
1009 file-
1010 ) && __builtin_constant_p (-
1011 "-"-
1012 ) && (__s1_len = __builtin_strlen (-
1013 file-
1014 ), __s2_len = __builtin_strlen (-
1015 "-"-
1016 ), (!((size_t)(const void *)((-
1017 file-
1018 ) + 1) - (size_t)(const void *)(-
1019 file-
1020 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
1021 "-"-
1022 ) + 1) - (size_t)(const void *)(-
1023 "-"-
1024 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
1025 file-
1026 , -
1027 "-"-
1028 ) : (__builtin_constant_p (-
1029 file-
1030 ) && ((size_t)(const void *)((-
1031 file-
1032 ) + 1) - (size_t)(const void *)(-
1033 file-
1034 ) == 1) && (__s1_len = __builtin_strlen (-
1035 file-
1036 ), __s1_len < 4) ? (__builtin_constant_p (-
1037 "-"-
1038 ) && ((size_t)(const void *)((-
1039 "-"-
1040 ) + 1) - (size_t)(const void *)(-
1041 "-"-
1042 ) == 1) ? __builtin_strcmp (-
1043 file-
1044 , -
1045 "-"-
1046 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
1047 "-"-
1048 ); int __result = (((const unsigned char *) (const char *) (-
1049 file-
1050 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
1051 file-
1052 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
1053 file-
1054 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]);
0
1055 file
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]);
0
1056 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
1057 "-"-
1058 ) && ((size_t)(const void *)((-
1059 "-"-
1060 ) + 1) - (size_t)(const void *)(-
1061 "-"-
1062 ) == 1) && (__s2_len = __builtin_strlen (-
1063 "-"-
1064 ), __s2_len < 4) ? (__builtin_constant_p (-
1065 file-
1066 ) && ((size_t)(const void *)((-
1067 file-
1068 ) + 1) - (size_t)(const void *)(-
1069 file-
1070 ) == 1) ? __builtin_strcmp (-
1071 file-
1072 , -
1073 "-"-
1074 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
1075 file-
1076 ); int __result = (((const unsigned char *) (const char *) (-
1077 "-"-
1078 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tsort
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tsort
) { __result = (((const unsigned char *) (const char *) (
0-10
1079 "-"-
1080 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-2
1081 "-"-
1082 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
1083 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
1084 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 2 times by 1 test: end of block
Executed by:
  • tsort
__result; }))) : __builtin_strcmp (
0-2
1085 file-
1086 , -
1087 "-"-
1088 )))); }) -
1089 == 0);-
1090-
1091-
1092 root = new_item (-
1093 ((void *)0)-
1094 );-
1095-
1096 if (!is_stdin
!is_stdinDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
&& ! freopen_safer (file, "r",
! freopen_safe..., "r", stdin )Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tsort
0-8
1097 stdin
! freopen_safe..., "r", stdin )Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tsort
0-8
1098 )
! freopen_safe..., "r", stdin )Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tsort
)
0-8
1099 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1100 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1101 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1102 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1103 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1104 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1105 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1106 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1107 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1108 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1109 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1110 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1111 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1112 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1113 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1114-
1115 fadvise (-
1116 stdin-
1117 , FADVISE_SEQUENTIAL);-
1118-
1119 init_tokenbuffer (&tokenbuffer);-
1120-
1121 while (1)-
1122 {-
1123-
1124 size_t len = readtoken (-
1125 stdin-
1126 , " \t\n", sizeof (" \t\n") - 1, &tokenbuffer);-
1127 if (len == (size_t) -1
len == (size_t) -1Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 95 times by 1 test
Evaluated by:
  • tsort
)
10-95
1128 break;
executed 10 times by 1 test: break;
Executed by:
  • tsort
10
1129-
1130 -
1131 ((-
1132 len != 0-
1133 ) ? (void) (0) : __assert_fail (-
1134 "len != 0"-
1135 , "src/tsort.c", 467, __PRETTY_FUNCTION__))-
1136 ;-
1137-
1138 k = search_item (root, tokenbuffer.buffer);-
1139 if (j
jDescription
TRUEevaluated 47 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tsort
)
47-48
1140 {-
1141-
1142 record_relation (j, k);-
1143 k = -
1144 ((void *)0)-
1145 ;-
1146 }
executed 47 times by 1 test: end of block
Executed by:
  • tsort
47
1147-
1148 j = k;-
1149 }
executed 95 times by 1 test: end of block
Executed by:
  • tsort
95
1150-
1151 if (k !=
k != ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
1-9
1152 ((void *)0)
k != ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
1-9
1153 )-
1154 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1155 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1156 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1157 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1158 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1159 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1160 "%s: input contains an odd number of tokens"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1161 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1162 , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1163 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1164 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1165 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1166 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1167 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1168 "%s: input contains an odd number of tokens"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1169 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1170 , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1171 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1172 ) ? (void) 0 : __builtin_unreachable ()))))
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1173 ;
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tsort
1
1174-
1175-
1176 walk_tree (root, count_items);-
1177-
1178 while (n_strings > 0
n_strings > 0Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
)
9-11
1179 {-
1180-
1181 walk_tree (root, scan_zeros);-
1182-
1183 while (head
headDescription
TRUEevaluated 56 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tsort
)
11-56
1184 {-
1185 struct successor *p = head->top;-
1186-
1187-
1188 puts (head->str);-
1189-
1190-
1191-
1192-
1193-
1194 head->str = -
1195 ((void *)0)-
1196 ;-
1197 n_strings--;-
1198-
1199-
1200 while (p
pDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 56 times by 1 test
Evaluated by:
  • tsort
)
42-56
1201 {-
1202 p->suc->count--;-
1203 if (p->suc->count == 0
p->suc->count == 0Description
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
)
2-40
1204 {-
1205 zeros->qlink = p->suc;-
1206 zeros = p->suc;-
1207 }
executed 40 times by 1 test: end of block
Executed by:
  • tsort
40
1208-
1209 p = p->next;-
1210 }
executed 42 times by 1 test: end of block
Executed by:
  • tsort
42
1211-
1212-
1213 head = head->qlink;-
1214 }
executed 56 times by 1 test: end of block
Executed by:
  • tsort
56
1215-
1216-
1217 if (n_strings > 0
n_strings > 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
)
2-9
1218 {-
1219-
1220 error (0, 0, -
1221 dcgettext (((void *)0), -
1222 "%s: input contains a loop:"-
1223 , 5)-
1224 , quotearg_n_style_colon (0, shell_escape_quoting_style, file));-
1225 ok = -
1226 0-
1227 ;-
1228-
1229-
1230 do-
1231 walk_tree (root, detect_loop);
executed 4 times by 1 test: walk_tree (root, detect_loop);
Executed by:
  • tsort
4
1232 while (loop
loopDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tsort
);
2
1233 }
executed 2 times by 1 test: end of block
Executed by:
  • tsort
2
1234 }
executed 11 times by 1 test: end of block
Executed by:
  • tsort
11
1235-
1236 ;-
1237-
1238 if (-
1239 rpl_fclose
rpl_fclose ( stdin ) != 0Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
0-9
1240 (
rpl_fclose ( stdin ) != 0Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
0-9
1241 stdin
rpl_fclose ( stdin ) != 0Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
0-9
1242 ) != 0
rpl_fclose ( stdin ) != 0Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tsort
)
0-9
1243 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1244 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1245 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1246 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1247 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1248 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1249 , "%s", is_stdin ?
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1250 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1251 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1252 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1253 : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1254 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1255 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1256 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1257 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1258 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1259 , "%s", is_stdin ?
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1260 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1261 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1262 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1263 : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1264 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1265 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1266 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1267-
1268 return
executed 9 times by 1 test: return ok;
Executed by:
  • tsort
ok;
executed 9 times by 1 test: return ok;
Executed by:
  • tsort
9
1269}-
1270-
1271int-
1272main (int argc, char **argv)-
1273{-
1274 -
1275 _Bool -
1276 ok;-
1277-
1278 ;-
1279 set_program_name (argv[0]);-
1280 setlocale (-
1281 6-
1282 , "");-
1283 bindtextdomain ("coreutils", "/usr/local/share/locale");-
1284 textdomain ("coreutils");-
1285-
1286 atexit (close_stdout);-
1287-
1288 parse_long_options (argc, argv, "tsort", "coreutils", Version,-
1289 usage, ("Mark Kettenis"), (char const *) -
1290 ((void *)0)-
1291 );-
1292 if (getopt_long (argc, argv, "", long_options,
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tsort
3-11
1293 ((void *)0)
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tsort
3-11
1294 ) != -1
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tsort
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tsort
)
3-11
1295 usage (
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • tsort
3
1296 1
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • tsort
3
1297 );
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • tsort
3
1298-
1299 if (1 < argc - optind
1 < argc - optindDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tsort
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tsort
)
1-10
1300 {-
1301 error (0, 0, -
1302 dcgettext (((void *)0), -
1303 "extra operand %s"-
1304 , 5)-
1305 , quote (argv[optind + 1]));-
1306 usage (-
1307 1-
1308 );-
1309 }
never executed: end of block
0
1310-
1311 ok = tsort (optind == argc ? "-" : argv[optind]);-
1312-
1313 return
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
ok ?
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
9
1314 0
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
9
1315 :
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
9
1316 1
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
9
1317 ;
executed 9 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tsort
9
1318}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2