OpenCoverage

xfts.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/xfts.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6FTS *-
7xfts_open (char * const *argv, int options,-
8 int (*compar) (const FTSENT **, const FTSENT **))-
9{-
10 FTS *fts = fts_open (argv, options | 0x0200, compar);-
11 if (fts ==
fts == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 6820 times by 6 tests
Evaluated by:
  • chgrp
  • chmod
  • chown
  • du
  • mv
  • rm
0-6820
12 ((void *)0)
fts == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 6820 times by 6 tests
Evaluated by:
  • chgrp
  • chmod
  • chown
  • du
  • mv
  • rm
0-6820
13 )-
14 {-
15-
16-
17 -
18 (((*__errno_location ()) -
19 != -
20 22) ? (void) (0) : __assert_fail (-
21 "errno != EINVAL"-
22 , "lib/xfts.c", 41, __PRETTY_FUNCTION__))-
23 ;-
24 xalloc_die ();-
25 }
never executed: end of block
0
26-
27 return
executed 6820 times by 6 tests: return fts;
Executed by:
  • chgrp
  • chmod
  • chown
  • du
  • mv
  • rm
fts;
executed 6820 times by 6 tests: return fts;
Executed by:
  • chgrp
  • chmod
  • chown
  • du
  • mv
  • rm
6820
28}-
29-
30_Bool-
31-
32cycle_warning_required (FTS const *fts, FTSENT const *ent)-
33{-
34-
35-
36-
37-
38 return
executed 1 time by 1 test: return ((((fts)->fts_options & (0x0010)) && !((fts)->fts_options & (0x0001))) || (((fts)->fts_options & (0x0010)) && ((fts)->fts_options & (0x0001)) && ent->fts_level != 0));
Executed by:
  • du
((((fts)->fts_options & (0x0010)) && !((fts)->fts_options & (0x0001)))
executed 1 time by 1 test: return ((((fts)->fts_options & (0x0010)) && !((fts)->fts_options & (0x0001))) || (((fts)->fts_options & (0x0010)) && ((fts)->fts_options & (0x0001)) && ent->fts_level != 0));
Executed by:
  • du
1
39 || (((fts)->fts_options & (0x0010)) && ((fts)->fts_options & (0x0001))
executed 1 time by 1 test: return ((((fts)->fts_options & (0x0010)) && !((fts)->fts_options & (0x0001))) || (((fts)->fts_options & (0x0010)) && ((fts)->fts_options & (0x0001)) && ent->fts_level != 0));
Executed by:
  • du
1
40 && ent->fts_level != 0));
executed 1 time by 1 test: return ((((fts)->fts_options & (0x0010)) && !((fts)->fts_options & (0x0001))) || (((fts)->fts_options & (0x0010)) && ((fts)->fts_options & (0x0001)) && ent->fts_level != 0));
Executed by:
  • du
1
41}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2