OpenCoverage

root-dev-ino.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/root-dev-ino.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8struct dev_ino *-
9get_root_dev_ino (struct dev_ino *root_d_i)-
10{-
11 struct stat statbuf;-
12 if (lstat ("/", &statbuf)
lstat ("/", &statbuf)Description
TRUEnever evaluated
FALSEevaluated 4303 times by 5 tests
Evaluated by:
  • chgrp
  • chmod
  • chown
  • mv
  • rm
)
0-4303
13 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
14 ((void *)0)
never executed: return ((void *)0) ;
0
15 ;
never executed: return ((void *)0) ;
0
16 root_d_i->st_ino = statbuf.st_ino;-
17 root_d_i->st_dev = statbuf.st_dev;-
18 return
executed 4303 times by 5 tests: return root_d_i;
Executed by:
  • chgrp
  • chmod
  • chown
  • mv
  • rm
root_d_i;
executed 4303 times by 5 tests: return root_d_i;
Executed by:
  • chgrp
  • chmod
  • chown
  • mv
  • rm
4303
19}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2