OpenCoverage

Coreutils Test Coverage

Function Tree

Page:<>1
Function: zaptemp
...9
Function: prep_non_filename_text
10
Function: null
11
Function: mbslen
12
Function: isdir
1314
Function: get_mtime [test.c #1]
15
Function: fnmatch_no_wildcards
16
Function: errno_rmdir_non_empty
17
Function: detect_loop
...20
Function: alloc_ibuf
Functionâ–ľCondition %
heapify_up
Name: heapify_up
Prototype: static void heapify_up (void **array, size_t count, int (*compare) (void const *, void const *))
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 137-151
 33.333% (2/6)
heapify_down
Name: heapify_down
Prototype: static size_t heapify_down (void **array, size_t count, size_t initial, int (*compare) (void const *, void const *))
Coverage:  16.667% (2/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 110-133
 16.667% (2/12)
heap_remove_top
Name: heap_remove_top
Prototype: void * heap_remove_top (struct heap *heap)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 93-106
 50.000% (2/4)
heap_insert
Name: heap_insert
Prototype: int heap_insert (struct heap *heap, void *item)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 78-89
 50.000% (2/4)
heap_free
Name: heap_free
Prototype: void heap_free (struct heap *heap)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 69-74
  0.000% (0/1)
heap_default_compare
Name: heap_default_compare
Prototype: static int heap_default_compare (void const *a, void const *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 62-66
  0.000% (0/1)
heap_alloc
Name: heap_alloc
Prototype: struct heap * heap_alloc (int (*compare) (void const *, void const *), size_t n_reserve)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/heap.c
Lines: 43-59
 50.000% (3/6)
head_lines
Name: head_lines
Prototype: static # 797 "src/head.c" 3 4 _Bool # 798 "src/head.c" head_lines (const char *filename, int fd, uintmax_t lines_to_write)
Coverage:  80.000% (20/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 797-832
 80.000% (20/25)
head_file
Name: head_file
Prototype: static # 868 "src/head.c" 3 4 _Bool # 869 "src/head.c" head_file (const char *filename, uintmax_t n_units, # 869 "src/head.c" 3 4 _Bool # 869 "src/head.c" count_lines, # 870 "src/head.c" 3 4 _Bool # 870 "src/head.c" elide_from_end)
Coverage:  32.558% (14/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 868-900
 32.558% (14/43)
head_bytes
Name: head_bytes
Prototype: static # 772 "src/head.c" 3 4 _Bool # 773 "src/head.c" head_bytes (const char *filename, int fd, uintmax_t bytes_to_write)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 772-795
 84.615% (11/13)
head
Name: head
Prototype: static # 834 "src/head.c" 3 4 _Bool # 835 "src/head.c" head (const char *filename, int fd, uintmax_t n_units, # 835 "src/head.c" 3 4 _Bool # 835 "src/head.c" count_lines, # 836 "src/head.c" 3 4 _Bool # 836 "src/head.c" elide_from_end)
Coverage:  75.000% (18/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 834-866
 75.000% (18/24)
have_same_content
Name: have_same_content
Prototype: static # 145 "src/install.c" 3 4 _Bool # 146 "src/install.c" have_same_content (int a_fd, int b_fd)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/install.c
Lines: 145-162
 80.000% (8/10)
hash_table_ok
Name: hash_table_ok
Prototype: _Bool # 201 "lib/hash.c" hash_table_ok (const Hash_table *table)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 200-227
  0.000% (0/15)
hash_string
Name: hash_string
Prototype: size_t hash_string (const char *string, size_t n_buckets)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 427-436
100.000% (4/4)
hash_reset_tuning
Name: hash_reset_tuning
Prototype: void hash_reset_tuning (Hash_tuning *tuning)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 478-482
  0.000% (0/1)
hash_rehash
Name: hash_rehash
Prototype: _Bool # 943 "lib/hash.c" hash_rehash (Hash_table *table, size_t candidate)
Coverage:  27.778% (5/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 942-1019
 27.778% (5/18)
hash_print_statistics
Name: hash_print_statistics
Prototype: void hash_print_statistics (const Hash_table *table, FILE *stream)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 229-244
  0.000% (0/1)
hash_pjw
Name: hash_pjw
Prototype: size_t hash_pjw (const void *x, size_t tablesize)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-pjw.c
Lines: 30-40
100.000% (4/4)
hash_lookup
Name: hash_lookup
Prototype: void * hash_lookup (const Hash_table *table, const void *entry)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 260-274
 90.909% (10/11)
hash_insert_if_absent
Name: hash_insert_if_absent
Prototype: int hash_insert_if_absent (Hash_table *table, void const *entry, void const **matched_ent)
Coverage:  63.636% (21/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 1037-1117
 63.636% (21/33)
hash_insert
Name: hash_insert
Prototype: void * hash_insert (Hash_table *table, void const *entry)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 1125-1133
100.000% (1/1)
hash_ins
Name: hash_ins
Prototype: static # 365 "src/du.c" 3 4 _Bool # 366 "src/du.c" hash_ins (struct di_set *di_set, ino_t ino, dev_t dev)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/du.c
Lines: 365-372
 50.000% (2/4)
hash_initialize
Name: hash_initialize
Prototype: Hash_table * hash_initialize (size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 593-646
 47.826% (11/23)
hash_init
Name: hash_init
Prototype: void hash_init (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp-hash.c
Lines: 146-155
 50.000% (2/4)
hash_get_next
Name: hash_get_next
Prototype: void * hash_get_next (const Hash_table *table, const void *entry)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 306-329
  0.000% (0/14)
hash_get_n_entries
Name: hash_get_n_entries
Prototype: size_t hash_get_n_entries (const Hash_table *table)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 165-169
100.000% (1/1)
hash_get_n_buckets_used
Name: hash_get_n_buckets_used
Prototype: size_t hash_get_n_buckets_used (const Hash_table *table)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 157-161
  0.000% (0/1)
hash_get_n_buckets
Name: hash_get_n_buckets
Prototype: size_t hash_get_n_buckets (const Hash_table *table)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 149-153
  0.000% (0/1)
hash_get_max_bucket_length
Name: hash_get_max_bucket_length
Prototype: size_t hash_get_max_bucket_length (const Hash_table *table)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 173-195
  0.000% (0/13)
hash_get_first
Name: hash_get_first
Prototype: void * hash_get_first (const Hash_table *table)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 287-300
  0.000% (0/10)
hash_get_entries
Name: hash_get_entries
Prototype: size_t hash_get_entries (const Hash_table *table, void **buffer, size_t buffer_size)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 335-357
  0.000% (0/13)
hash_free
Name: hash_free
Prototype: void hash_free (Hash_table *table)
Coverage: 100.000% (24/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 695-743
100.000% (24/24)
hash_find_entry
Name: hash_find_entry
Prototype: static void * hash_find_entry (Hash_table *table, const void *entry, struct hash_entry **bucket_head, # 791 "lib/hash.c" 3 4 _Bool # 791 "lib/hash.c" delete)
Coverage:  92.308% (24/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 789-851
 92.308% (24/26)
hash_do_for_each
Name: hash_do_for_each
Prototype: size_t hash_do_for_each (const Hash_table *table, Hash_processor processor, void *processor_data)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 367-389
  0.000% (0/13)
hash_delete
Name: hash_delete
Prototype: void * hash_delete (Hash_table *table, const void *entry)
Coverage:  38.095% (8/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 1139-1197
 38.095% (8/21)
hash_clear
Name: hash_clear
Prototype: void hash_clear (Hash_table *table)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 652-688
  0.000% (0/16)
has_uuid_suffix
Name: has_uuid_suffix
Prototype: static # 859 "src/df.c" 3 4 _Bool __attribute__ ((__pure__)) # 860 "src/df.c" has_uuid_suffix (char const *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Lines: 859-865
100.000% (1/1)
has_capability_cache
Name: has_capability_cache
Prototype: static # 3074 "src/ls.c" 3 4 _Bool # 3075 "src/ls.c" has_capability_cache (char const *file, struct fileinfo *f)
Coverage:  77.778% (7/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3074-3091
 77.778% (7/9)
has_capability
Name: has_capability
Prototype: static # 2958 "src/ls.c" 3 4 _Bool # 2959 "src/ls.c" has_capability (char const *name __attribute__ ((__unused__)))
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 2958-2963
100.000% (1/1)
hard_locale
Name: hard_locale
Prototype: _Bool # 38 "lib/hard-locale.c" hard_locale (int category)
Coverage:  8.497% (13/153)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hard-locale.c
Lines: 37-72
  8.497% (13/153)
handle_line_error
Name: handle_line_error
Prototype: static void handle_line_error (const struct control *p, uintmax_t repetition)
Coverage:  40.000% (2/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Lines: 713-726
 40.000% (2/5)
guess_time_tm
Name: guess_time_tm
Prototype: static long_int guess_time_tm (long_int year, long_int yday, int hour, int min, int sec, long_int t, const struct tm *tp)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/mktime.c
Lines: 226-248
  0.000% (0/7)
guess_shell_syntax
Name: guess_shell_syntax
Prototype: static enum Shell_syntax guess_shell_syntax (void)
Coverage:  9.859% (7/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dircolors.c
Lines: 125-140
  9.859% (7/71)
group_number
Name: group_number
Prototype: static char * group_number (char *number, size_t numberlen, char const *grouping, char const *thousands_sep)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/human.c
Lines: 78-116
  0.000% (0/13)
gobble_file
Name: gobble_file
Prototype: static uintmax_t gobble_file (char const *name, enum filetype type, ino_t inode, # 3107 "src/ls.c" 3 4 _Bool # 3107 "src/ls.c" command_line_arg, char const *dirname)
Coverage:  51.125% (159/311)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3105-3436
 51.125% (159/311)
gnu_mbswidth
Name: gnu_mbswidth
Prototype: int gnu_mbswidth (const char *string, int flags)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/mbswidth.c
Lines: 46-50
100.000% (1/1)
gnu_getpass
Name: gnu_getpass
Prototype: char * gnu_getpass (const char *prompt)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/getpass.c
Lines: 83-172
  0.000% (0/23)
glthread_rwlock_init_for_glibc
Name: glthread_rwlock_init_for_glibc
Prototype: int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/glthread/lock.c
Lines: 40-61
  0.000% (0/7)
glthread_recursive_lock_init_multithreaded
Name: glthread_recursive_lock_init_multithreaded
Prototype: int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/glthread/lock.c
Lines: 310-335
  0.000% (0/13)
glthread_once_singlethreaded
Name: glthread_once_singlethreaded
Prototype: int glthread_once_singlethreaded (pthread_once_t *once_control)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/glthread/lock.c
Lines: 483-497
  0.000% (0/4)
gl_sockets_startup
Name: gl_sockets_startup
Prototype: int gl_sockets_startup (int version __attribute__ ((__unused__)))
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sockets.c
Lines: 115-143
  0.000% (0/1)
gl_sockets_cleanup
Name: gl_sockets_cleanup
Prototype: int gl_sockets_cleanup (void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sockets.c
Lines: 145-161
  0.000% (0/1)
gidtostr_ptr
Name: gidtostr_ptr
Prototype: static char * gidtostr_ptr (gid_t const *gid)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/id.c
Lines: 326-331
100.000% (1/1)
gid_unset
Name: gid_unset
Prototype: static inline # 46 "src/chroot.c" 3 4 _Bool # 46 "src/chroot.c" gid_unset (gid_t gid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chroot.c
Lines: 46-46
  0.000% (0/1)
gid_to_name
Name: gid_to_name
Prototype: char * gid_to_name (gid_t gid)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chown-core.c
Lines: 80-88
100.000% (1/1)
getuser
Name: getuser
Prototype: char * getuser (uid_t uid)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/idcache.c
Lines: 68-97
 75.000% (9/12)
getuidbyname
Name: getuidbyname
Prototype: uid_t * getuidbyname (const char *user)
Coverage:  0.000% (0/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/idcache.c
Lines: 104-146
  0.000% (0/78)
getugroups
Name: getugroups
Prototype: int getugroups (int maxcount, gid_t *grouplist, char const *username, gid_t gid)
Coverage:  0.000% (0/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/getugroups.c
Lines: 60-126
  0.000% (0/70)
gettime
Name: gettime
Prototype: void gettime (struct timespec *ts)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/gettime.c
Lines: 28-48
 50.000% (2/4)
gettext_quote
Name: gettext_quote
Prototype: static char const * gettext_quote (char const *msgid, enum quoting_style s)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/quotearg.c
Lines: 206-240
 40.000% (4/10)
getsize
Name: getsize
Prototype: static size_t getsize (mpz_t i)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 620-632
  0.000% (0/10)
getseq
Name: getseq
Prototype: static # 503 "src/join.c" 3 4 _Bool # 504 "src/join.c" getseq (FILE *fp, struct seq *seq, int whichfile)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/join.c
Lines: 503-519
100.000% (10/10)
getprogname
Name: getprogname
Prototype: char const * getprogname (void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/getprogname.c
Lines: 57-182
  0.000% (0/1)
getoptnum
Name: getoptnum
Prototype: static void getoptnum (const char *n_str, int min, int *num, const char *err)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 1154-1159
100.000% (1/1)
getoptarg
Name: getoptarg
Prototype: static void getoptarg (char *arg, char switch_char, char *character, int *number)
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 1167-1185
 71.429% (10/14)
getndelim2
Name: getndelim2
Prototype: ssize_t getndelim2 (char **lineptr, size_t *linesize, size_t offset, size_t nmax, int delim1, int delim2, FILE *stream)
Coverage:  40.217% (37/92)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/getndelim2.c
Lines: 70-217
 40.217% (37/92)
getmonth
Name: getmonth
Prototype: static int getmonth (char const *month, char **ea)
Coverage: 100.000% (20/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 2043-2081
100.000% (20/20)
gethrxtime
Name: gethrxtime
Prototype: xtime_t gethrxtime (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/gethrxtime.c
Lines: 35-71
 50.000% (2/4)
getgroup
Name: getgroup
Prototype: char * getgroup (gid_t gid)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/idcache.c
Lines: 150-179
 75.000% (9/12)
getgidbyname
Name: getgidbyname
Prototype: gid_t * getgidbyname (const char *group)
Coverage:  0.000% (0/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/idcache.c
Lines: 186-228
  0.000% (0/78)
getfileconat
Name: getfileconat
Prototype: int getfileconat (int fd, char const *file , security_context_t *con)
Coverage:  0.000% (0/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/at-func.c
Lines: 69-143
  0.000% (0/49)
getfilecon_cache
Name: getfilecon_cache
Prototype: static int getfilecon_cache (char const *file, struct fileinfo *f, # 3020 "src/ls.c" 3 4 _Bool # 3020 "src/ls.c" deref)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3019-3044
 45.455% (5/11)
getenv_quoting_style
Name: getenv_quoting_style
Prototype: static void getenv_quoting_style (void)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stat.c
Lines: 1026-1044
 71.429% (5/7)
getenv_TZ
Name: getenv_TZ
Prototype: static char * getenv_TZ (void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/time_rz.c
Lines: 211-215
100.000% (1/1)
get_win_size
Name: get_win_size
Prototype: static int get_win_size (int fd, struct winsize *win)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stty.c
Lines: 1712-1717
  0.000% (0/1)
get_type_indicator
Name: get_type_indicator
Prototype: static char get_type_indicator ( # 4620 "src/ls.c" 3 4 _Bool # 4620 "src/ls.c" stat_ok, mode_t mode, enum filetype type)
Coverage:  35.556% (16/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 4619-4649
 35.556% (16/45)
get_stat_mtime_ns
Name: get_stat_mtime_ns
Prototype: inline long int # 91 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 92 "./lib/stat-time.h" get_stat_mtime_ns (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 91-101
100.000% (1/1)
get_stat_mtime
Name: get_stat_mtime
Prototype: inline struct timespec # 145 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 146 "./lib/stat-time.h" get_stat_mtime (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 145-156
100.000% (1/1)
get_stat_ctime_ns
Name: get_stat_ctime_ns
Prototype: inline long int # 78 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 79 "./lib/stat-time.h" get_stat_ctime_ns (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 78-88
100.000% (1/1)
get_stat_ctime
Name: get_stat_ctime
Prototype: inline struct timespec # 131 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 132 "./lib/stat-time.h" get_stat_ctime (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 131-142
100.000% (1/1)
get_stat_birthtime_ns
Name: get_stat_birthtime_ns
Prototype: inline long int # 104 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 105 "./lib/stat-time.h" get_stat_birthtime_ns (struct stat const *st __attribute__ ((__unused__)))
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 104-114
  0.000% (0/1)
get_stat_birthtime
Name: get_stat_birthtime
Prototype: inline struct timespec # 160 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 161 "./lib/stat-time.h" get_stat_birthtime (struct stat const *st __attribute__ ((__unused__)))
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 160-203
100.000% (1/1)
get_stat_atime_ns
Name: get_stat_atime_ns
Prototype: inline long int # 65 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 66 "./lib/stat-time.h" get_stat_atime_ns (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 65-75
100.000% (1/1)
get_stat_atime
Name: get_stat_atime
Prototype: inline struct timespec # 117 "./lib/stat-time.h" 3 __attribute__ ((__pure__)) # 118 "./lib/stat-time.h" get_stat_atime (struct stat const *st)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h
Lines: 117-128
100.000% (1/1)
get_spec_stats
Name: get_spec_stats
Prototype: static void get_spec_stats (struct Spec_list *s)
Coverage:  87.500% (35/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1240-1314
 87.500% (35/40)
get_space
Name: get_space
Prototype: static int get_space (FILE *f, int c)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/fmt.c
Lines: 746-762
 88.889% (8/9)
get_s2_spec_stats
Name: get_s2_spec_stats
Prototype: static void get_s2_spec_stats (struct Spec_list *s2, count len_s1)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1324-1334
100.000% (6/6)
get_s1_spec_stats
Name: get_s1_spec_stats
Prototype: static void get_s1_spec_stats (struct Spec_list *s1)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1316-1322
100.000% (4/4)
get_root_dev_ino
Name: get_root_dev_ino
Prototype: struct dev_ino * get_root_dev_ino (struct dev_ino *root_d_i)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/root-dev-ino.c
Lines: 28-37
 50.000% (2/4)
get_reldate
Name: get_reldate
Prototype: static void get_reldate (struct timespec *result, char const *flex_date, struct timespec const *now)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/touch.c
Lines: 111-117
 50.000% (2/4)
get_prefix
Name: get_prefix
Prototype: static int get_prefix (FILE *f)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/fmt.c
Lines: 716-741
100.000% (13/13)
get_point
Name: get_point
Prototype: static void get_point (const char *point, const struct stat *statp)
Coverage:  21.264% (37/174)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Lines: 1302-1395
 21.264% (37/174)
get_permissions
Name: get_permissions
Prototype: int get_permissions (const char *name, int desc, mode_t mode, struct permission_context *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/get-permissions.c
Lines: 32-291
100.000% (1/1)
get_paragraph
Name: get_paragraph
Prototype: static # 537 "src/fmt.c" 3 4 _Bool # 538 "src/fmt.c" get_paragraph (FILE *f)
Coverage:  47.826% (22/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/fmt.c
Lines: 537-611
 47.826% (22/46)
get_nth_bit
Name: get_nth_bit
Prototype: static # 53 "lib/readtokens.c" 3 4 _Bool # 54 "lib/readtokens.c" get_nth_bit (size_t n, word const *bitset)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/readtokens.c
Lines: 53-57
100.000% (1/1)
get_nonce
Name: get_nonce
Prototype: static void get_nonce (void *buffer, size_t bufsize, size_t bytes_bound)
Coverage:  75.000% (24/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randread.c
Lines: 150-189
 75.000% (24/32)
get_next_tab_column
Name: get_next_tab_column
Prototype: uintmax_t get_next_tab_column (const uintmax_t column, size_t* tab_index, # 280 "src/expand-common.c" 3 4 _Bool # 280 "src/expand-common.c" * last_tab)
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expand-common.c
Lines: 278-311
100.000% (16/16)
get_next
Name: get_next
Prototype: static int get_next (struct Spec_list *s, enum Upper_Lower_class *class)
Coverage:  95.312% (61/64)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1014-1133
 95.312% (61/64)
get_new_buffer
Name: get_new_buffer
Prototype: static struct buffer_record * get_new_buffer (size_t min_size)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Lines: 409-430
100.000% (4/4)
get_mtime [test.c #2]
Name: get_mtime [test.c #2]
Prototype: static # 168 "src/test.c" 3 4 _Bool # 169 "src/test.c" get_mtime (char const *filename, struct timespec *mtime)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #2
Lines: 168-180
  0.000% (0/4)
Page:<>1
Function: zaptemp
...9
Function: prep_non_filename_text
10
Function: null
11
Function: mbslen
12
Function: isdir
1314
Function: get_mtime [test.c #1]
15
Function: fnmatch_no_wildcards
16
Function: errno_rmdir_non_empty
17
Function: detect_loop
...20
Function: alloc_ibuf

Generated by Squish Coco 4.1.2