OpenCoverage

Coreutils Test Coverage

Functions

Page:<>1
Condition %:  0.000% (0/1)
2
Condition %:  0.000% (0/7)
3
Condition %:  0.000% (0/6)
4
Condition %:  0.000% (0/11)
56
Condition %:  18.750% (3/16)
7
Condition %:  33.333% (2/6)
8
Condition %:  44.118% (30/68)
9
Condition %:  50.000% (2/4)
10
Condition %:  57.143% (4/7)
...20
Condition %: 100.000% (1/1)
FunctionCondition %▴
u8_uctomb
Name: u8_uctomb
Prototype: static inline int u8_uctomb (uint8_t *s, ucs4_t uc, int n)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/unistr.h
Lines: 314-324
  0.000% (0/6)
u8_uctomb_aux
Name: u8_uctomb_aux
Prototype: int u8_uctomb_aux (uint8_t *s, ucs4_t uc, int n)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/unistr/u8-uctomb-aux.c
Lines: 31-66
  0.000% (0/28)
uc_width
Name: uc_width
Prototype: int uc_width (ucs4_t uc, const char *encoding)
Coverage:  0.000% (0/88)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/uniwidth/width.c
Lines: 414-468
  0.000% (0/88)
uid_to_name
Name: uid_to_name
Prototype: char * uid_to_name (uid_t uid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chown-core.c
Lines: 94-102
  0.000% (0/1)
uid_unset
Name: uid_unset
Prototype: static inline # 45 "src/chroot.c" 3 4 _Bool # 45 "src/chroot.c" uid_unset (uid_t uid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chroot.c
Lines: 45-45
  0.000% (0/1)
unicode_to_mb
Name: unicode_to_mb
Prototype: long unicode_to_mb (unsigned int code, long (*success) (const char *buf, size_t buflen, void *callback_arg), long (*failure) (unsigned int code, const char *msg, void *callback_arg), void *callback_arg)
Coverage:  0.000% (0/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/unicodeio.c
Lines: 63-158
  0.000% (0/60)
update_timespec
Name: update_timespec
Prototype: static # 133 "lib/utimens.c" 3 4 _Bool # 134 "lib/utimens.c" update_timespec (struct stat const *statbuf, struct timespec *ts[2])
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/utimens.c
Lines: 133-158
  0.000% (0/23)
uptime
Name: uptime
Prototype: static void uptime (const char *filename, int options)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/uptime.c
Lines: 181-195
  0.000% (0/4)
user_group_str
Name: user_group_str
Prototype: static char * user_group_str (char const *user, char const *group)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chown-core.c
Lines: 106-129
  0.000% (0/10)
userid_compare
Name: userid_compare
Prototype: static int userid_compare (const void *v_a, const void *v_b)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/users.c
Lines: 44-50
  0.000% (0/31)
vasnprintf
Name: vasnprintf
Prototype: char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
Coverage:  0.000% (0/552)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/vasnprintf.c
Lines: 1783-5604
  0.000% (0/552)
version_etc_ar
Name: version_etc_ar
Prototype: void version_etc_ar (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/version-etc.c
Lines: 179-189
  0.000% (0/4)
visible
Name: visible
Prototype: static const char * visible (cc_t ch)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stty.c
Lines: 2266-2312
  0.000% (0/20)
wc_ensure_printable
Name: wc_ensure_printable
Prototype: static # 39 "lib/mbsalign.c" 3 4 _Bool # 40 "lib/mbsalign.c" wc_ensure_printable (wchar_t *wchars)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/mbsalign.c
Lines: 39-54
  0.000% (0/7)
wc_truncate
Name: wc_truncate
Prototype: static size_t wc_truncate (wchar_t *wc, size_t width)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/mbsalign.c
Lines: 59-80
  0.000% (0/10)
wipefd
Name: wipefd
Prototype: static # 995 "src/shred.c" 3 4 _Bool # 996 "src/shred.c" wipefd (int fd, char const *qname, struct randint_source *s, struct Options const *flags)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/shred.c
Lines: 995-1012
  0.000% (0/7)
wrapf
Name: wrapf
Prototype: static void wrapf (const char *message,...)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stty.c
Lines: 491-522
  0.000% (0/10)
write_error
Name: write_error
Prototype: static void write_error (void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/paste.c
Lines: 160-164
  0.000% (0/1)
write_header
Name: write_header
Prototype: static void write_header (const char *filename)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 166-173
  0.000% (0/1)
xalloc_die
Name: xalloc_die
Prototype: void xalloc_die (void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Lines: 230-235
  0.000% (0/1)
xfprintf
Name: xfprintf
Prototype: int xfprintf (FILE *__restrict stream, char const *__restrict format, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xprintf.c
Lines: 57-67
  0.000% (0/1)
xgethostname
Name: xgethostname
Prototype: char * xgethostname (void)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xgethostname.c
Lines: 39-74
  0.000% (0/17)
xmax
Name: xmax
Prototype: inline size_t __attribute__ ((__pure__)) xmax (size_t size1, size_t size2)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/xsize.h
Lines: 90-99
  0.000% (0/1)
xmem_cd_iconv
Name: xmem_cd_iconv
Prototype: int xmem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xstriconv.c
Lines: 31-40
  0.000% (0/6)
xmemcoll
Name: xmemcoll
Prototype: int xmemcoll (char *s1, size_t s1len, char *s2, size_t s2len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmemcoll.c
Lines: 53-61
  0.000% (0/4)
xmemcoll0
Name: xmemcoll0
Prototype: int xmemcoll0 (char const *s1, size_t s1size, char const *s2, size_t s2size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmemcoll.c
Lines: 68-76
  0.000% (0/4)
xstr_cd_iconv
Name: xstr_cd_iconv
Prototype: char * xstr_cd_iconv (const char *src, iconv_t cd)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xstriconv.c
Lines: 42-50
  0.000% (0/6)
xstrcoll_df_atime
Name: xstrcoll_df_atime
Prototype: static int xstrcoll_df_atime (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3686-3686
  0.000% (0/11)
xstrcoll_df_ctime
Name: xstrcoll_df_ctime
Prototype: static int xstrcoll_df_ctime (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3684-3684
  0.000% (0/11)
xstrcoll_df_extension
Name: xstrcoll_df_extension
Prototype: static int xstrcoll_df_extension (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3689-3689
  0.000% (0/11)
xstrcoll_df_mtime
Name: xstrcoll_df_mtime
Prototype: static int xstrcoll_df_mtime (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3685-3685
  0.000% (0/11)
xstrcoll_df_name
Name: xstrcoll_df_name
Prototype: static int xstrcoll_df_name (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3688-3688
  0.000% (0/11)
xstrcoll_df_size
Name: xstrcoll_df_size
Prototype: static int xstrcoll_df_size (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3687-3687
  0.000% (0/11)
xstrcoll_df_version
Name: xstrcoll_df_version
Prototype: static int xstrcoll_df_version (V a, V b)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3710-3711
  0.000% (0/11)
xstrcoll_extension
Name: xstrcoll_extension
Prototype: static int xstrcoll_extension (V a, V b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3689-3689
  0.000% (0/1)
xstrcoll_size
Name: xstrcoll_size
Prototype: static int xstrcoll_size (V a, V b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3687-3687
  0.000% (0/1)
xstrtol_fatal
Name: xstrtol_fatal
Prototype: void xstrtol_fatal (enum strtol_error err, int opt_idx, char c, struct option const *long_options, char const *arg)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xstrtol-error.c
Lines: 91-98
  0.000% (0/1)
xsum3
Name: xsum3
Prototype: inline size_t __attribute__ ((__pure__)) xsum3 (size_t size1, size_t size2, size_t size3)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/xsize.h
Lines: 70-77
  0.000% (0/1)
xsum4
Name: xsum4
Prototype: inline size_t __attribute__ ((__pure__)) xsum4 (size_t size1, size_t size2, size_t size3, size_t size4)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/xsize.h
Lines: 80-87
  0.000% (0/1)
xtime_nonnegative_nsec
Name: xtime_nonnegative_nsec
Prototype: inline long int xtime_nonnegative_nsec (xtime_t t)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xtime.h
Lines: 82-86
  0.000% (0/1)
xtime_nonnegative_sec
Name: xtime_nonnegative_sec
Prototype: inline xtime_t xtime_nonnegative_sec (xtime_t t)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xtime.h
Lines: 64-68
  0.000% (0/1)
xtime_nsec
Name: xtime_nsec
Prototype: inline long int xtime_nsec (xtime_t t)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xtime.h
Lines: 89-96
  0.000% (0/4)
xtime_sec
Name: xtime_sec
Prototype: inline xtime_t xtime_sec (xtime_t t)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xtime.h
Lines: 71-79
  0.000% (0/1)
xvfprintf
Name: xvfprintf
Prototype: int xvfprintf (FILE *__restrict stream, char const *__restrict format, va_list args)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xprintf.c
Lines: 71-79
  0.000% (0/6)
ydhms_diff
Name: ydhms_diff
Prototype: static long_int ydhms_diff (long_int year1, long_int yday1, int hour1, int min1, int sec1, int year0, int yday0, int hour0, int min0, int sec0)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/mktime.c
Lines: 183-206
  0.000% (0/1)
is_colored
Name: is_colored
Prototype: static # 1252 "src/ls.c" 3 4 _Bool # 1253 "src/ls.c" is_colored (enum indicator_no type)
Coverage:  1.639% (1/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 1252-1260
  1.639% (1/61)
apply_settings
Name: apply_settings
Prototype: static void apply_settings ( # 1087 "src/stty.c" 3 4 _Bool # 1087 "src/stty.c" checking, const char *device_name, char * const *settings, int n_settings, struct termios *mode, # 1089 "src/stty.c" 3 4 _Bool # 1089 "src/stty.c" *speed_was_set, # 1090 "src/stty.c" 3 4 _Bool # 1090 "src/stty.c" *require_set_attr)
Coverage:  2.407% (11/457)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stty.c
Lines: 1086-1265
  2.407% (11/457)
is_local_fs_type
Name: is_local_fs_type
Prototype: static inline int is_local_fs_type (unsigned long int magic)
Coverage:  2.459% (6/244)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/fs-is-local.h
Lines: 4-132
  2.459% (6/244)
setdefaultfilecon
Name: setdefaultfilecon
Prototype: static void setdefaultfilecon (char const *file)
Coverage:  2.817% (2/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/install.c
Lines: 313-383
  2.817% (2/71)
string_compare
Name: string_compare
Prototype: static # 229 "lib/exclude.c" 3 4 _Bool # 230 "lib/exclude.c" string_compare (void const *data1, void const *data2)
Coverage:  3.226% (1/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/exclude.c
Lines: 229-235
  3.226% (1/31)
struct_month_cmp
Name: struct_month_cmp
Prototype: static int struct_month_cmp (void const *m1, void const *m2)
Coverage:  3.226% (1/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 1269-1275
  3.226% (1/31)
triple_compare_ino_str
Name: triple_compare_ino_str
Prototype: _Bool # 63 "lib/hash-triple.c" triple_compare_ino_str (void const *x, void const *y)
Coverage:  3.226% (1/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-triple.c
Lines: 62-68
  3.226% (1/31)
known_term_type
Name: known_term_type
Prototype: static # 2483 "src/ls.c" 3 4 _Bool # 2484 "src/ls.c" known_term_type (void)
Coverage:  3.636% (2/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 2483-2502
  3.636% (2/55)
excluded_fstype
Name: excluded_fstype
Prototype: static # 597 "src/df.c" 3 4 _Bool __attribute__ ((__pure__)) # 598 "src/df.c" excluded_fstype (const char *fstype)
Coverage:  4.878% (2/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Lines: 597-608
  4.878% (2/41)
read_file_system_list
Name: read_file_system_list
Prototype: struct mount_entry * read_file_system_list ( # 432 "lib/mountlist.c" 3 4 _Bool # 432 "lib/mountlist.c" need_fs_type)
Coverage:  6.147% (67/1090)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/mountlist.c
Lines: 431-1127
  6.147% (67/1090)
set_process_security_ctx
Name: set_process_security_ctx
Prototype: _Bool # 893 "src/copy.c" set_process_security_ctx (char const *src_name, char const *dst_name, mode_t mode, # 894 "src/copy.c" 3 4 _Bool # 894 "src/copy.c" new_dst, const struct cp_options *x)
Coverage:  6.250% (3/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 892-945
  6.250% (3/48)
write_permuted_output_reservoir
Name: write_permuted_output_reservoir
Prototype: static int write_permuted_output_reservoir (size_t n_lines, struct linebuffer *lines, size_t const *permutation)
Coverage:  6.667% (2/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/shuf.c
Lines: 239-251
  6.667% (2/30)
mbsnwidth
Name: mbsnwidth
Prototype: int mbsnwidth (const char *string, size_t nbytes, int flags)
Coverage:  7.143% (11/154)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/mbswidth.c
Lines: 56-193
  7.143% (11/154)
rpl_pipe2
Name: rpl_pipe2
Prototype: int # 40 "lib/pipe2.c" 3 rpl_pipe2 # 40 "lib/pipe2.c" (int fd[2], int flags)
Coverage:  7.500% (3/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/pipe2.c
Lines: 39-168
  7.500% (3/40)
map_to_failure
Name: map_to_failure
Prototype: static int map_to_failure (int ret, security_context_t *con)
Coverage:  7.692% (3/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/getfilecon.c
Lines: 48-66
  7.692% (3/39)
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)
locale_charset
Name: locale_charset
Prototype: const char * locale_charset (void)
Coverage:  8.696% (4/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/localcharset.c
Lines: 396-617
  8.696% (4/46)
get_funky_string
Name: get_funky_string
Prototype: static # 2275 "src/ls.c" 3 4 _Bool # 2276 "src/ls.c" get_funky_string (char **dest, const char **src, # 2276 "src/ls.c" 3 4 _Bool # 2276 "src/ls.c" equals_end, size_t *output_count)
Coverage:  9.091% (10/110)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 2275-2468
  9.091% (10/110)
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)
c_isupper
Name: c_isupper
Prototype: inline # 311 "./lib/c-ctype.h" 3 4 _Bool # 312 "./lib/c-ctype.h" c_isupper (int c)
Coverage:  10.345% (3/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/c-ctype.h
Lines: 311-321
 10.345% (3/29)
check_tuning
Name: check_tuning
Prototype: static # 511 "lib/hash.c" 3 4 _Bool # 512 "lib/hash.c" check_tuning (Hash_table *table)
Coverage:  10.526% (2/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 511-537
 10.526% (2/19)
set_program_name
Name: set_program_name
Prototype: void set_program_name (const char *argv0)
Coverage:  11.702% (11/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/progname.c
Lines: 38-92
 11.702% (11/94)
add_uint_with_neg_flag
Name: add_uint_with_neg_flag
Prototype: static void add_uint_with_neg_flag (uintmax_t *dest, # 829 "src/df.c" 3 4 _Bool # 829 "src/df.c" *dest_neg, uintmax_t src, # 830 "src/df.c" 3 4 _Bool # 830 "src/df.c" src_neg)
Coverage:  11.765% (2/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Lines: 828-854
 11.765% (2/17)
nextarg
Name: nextarg
Prototype: static # 637 "src/expr.c" 3 4 _Bool # 638 "src/expr.c" nextarg (char const *str)
Coverage:  11.765% (4/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 637-648
 11.765% (4/34)
record_relation
Name: record_relation
Prototype: static void record_relation (struct item *j, struct item *k)
Coverage:  11.765% (4/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tsort.c
Lines: 277-290
 11.765% (4/34)
lookup_zone
Name: lookup_zone
Prototype: static table const * # 1293 "parse-datetime.y" 3 __attribute__ ((__pure__)) # 1294 "parse-datetime.y" lookup_zone (parser_control const *pc, char const *name)
Coverage:  13.208% (14/106)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1293-1313
 13.208% (14/106)
str2signum
Name: str2signum
Prototype: static int str2signum (char const *signame)
Coverage:  13.423% (20/149)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sig2str.c
Lines: 260-298
 13.423% (20/149)
cmp
Name: cmp
Prototype: static int cmp (char const *a, size_t a_len, char const *b, size_t b_len)
Coverage:  13.514% (5/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/seq.c
Lines: 420-428
 13.514% (5/37)
print_field
Name: print_field
Prototype: static void print_field (BLOCK field)
Coverage:  13.636% (9/66)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ptx.c
Lines: 1032-1185
 13.636% (9/66)
fnmatch_pattern_has_wildcards
Name: fnmatch_pattern_has_wildcards
Prototype: _Bool # 143 "lib/exclude.c" fnmatch_pattern_has_wildcards (const char *str, int options)
Coverage:  13.889% (5/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/exclude.c
Lines: 142-177
 13.889% (5/36)
get_fs_usage
Name: get_fs_usage
Prototype: int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp)
Coverage:  14.103% (11/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/fsusage.c
Lines: 114-260
 14.103% (11/78)
next_line_num
Name: next_line_num
Prototype: static void next_line_num (void)
Coverage:  14.286% (2/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cat.c
Lines: 129-146
 14.286% (2/14)
print_statfs
Name: print_statfs
Prototype: static # 806 "src/stat.c" 3 4 _Bool # 806 "src/stat.c" __attribute__ ((__warn_unused_result__)) print_statfs (char *pformat, size_t prefix_len, unsigned int m, int fd, char const *filename, void const *data)
Coverage:  14.286% (5/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stat.c
Lines: 806-889
 14.286% (5/35)
open_file
Name: open_file
Prototype: static # 1465 "src/pr.c" 3 4 _Bool # 1466 "src/pr.c" open_file (char *name, COLUMN *p)
Coverage:  14.634% (6/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 1465-1491
 14.634% (6/41)
dc_parse_file
Name: dc_parse_file
Prototype: static # 373 "src/dircolors.c" 3 4 _Bool # 374 "src/dircolors.c" dc_parse_file (const char *filename)
Coverage:  15.385% (6/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dircolors.c
Lines: 373-393
 15.385% (6/39)
dosync
Name: dosync
Prototype: static int dosync (int fd, char const *qname)
Coverage:  15.385% (2/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/shred.c
Lines: 333-362
 15.385% (2/13)
get_ids
Name: get_ids
Prototype: static void get_ids (void)
Coverage:  15.385% (4/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/install.c
Lines: 575-618
 15.385% (4/26)
scan_entries
Name: scan_entries
Prototype: static void scan_entries (size_t n, const STRUCT_UTMP *utmp_buf)
Coverage:  15.603% (22/141)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/who.c
Lines: 567-615
 15.603% (22/141)
settimeout
Name: settimeout
Prototype: static void settimeout (double duration, # 114 "src/timeout.c" 3 4 _Bool # 114 "src/timeout.c" warn)
Coverage:  15.789% (3/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/timeout.c
Lines: 113-152
 15.789% (3/19)
proper_name_utf8
Name: proper_name_utf8
Prototype: const char * proper_name_utf8 (const char *name_ascii, const char *name_utf8)
Coverage:  16.092% (14/87)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/propername.c
Lines: 187-294
 16.092% (14/87)
freadseek
Name: freadseek
Prototype: int freadseek (FILE *fp, size_t offset)
Coverage:  16.279% (7/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/freadseek.c
Lines: 72-144
 16.279% (7/43)
check_and_close
Name: check_and_close
Prototype: static # 943 "src/od.c" 3 4 _Bool # 944 "src/od.c" check_and_close (int in_errno)
Coverage:  16.667% (13/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/od.c
Lines: 943-973
 16.667% (13/78)
check_extension
Name: check_extension
Prototype: static void check_extension (char *file, size_t filelen, char e)
Coverage:  16.667% (3/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/backupfile.c
Lines: 97-148
 16.667% (3/18)
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)
look_up_char_class
Name: look_up_char_class
Prototype: static enum Char_class __attribute__ ((__pure__)) look_up_char_class (char const *class_str, size_t len)
Coverage:  16.667% (8/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 542-552
 16.667% (8/48)
xlseek
Name: xlseek
Prototype: static off_t xlseek (int fd, off_t offset, int whence, char const *filename)
Coverage:  16.667% (2/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 470-500
 16.667% (2/12)
fdutimens
Name: fdutimens
Prototype: int fdutimens (int fd, char const *file, struct timespec const timespec[2])
Coverage:  16.822% (18/107)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/utimens.c
Lines: 170-501
 16.822% (18/107)
lookup_word
Name: lookup_word
Prototype: static table const * lookup_word (parser_control const *pc, char *word)
Coverage:  16.901% (48/284)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1342-1408
 16.901% (48/284)
lutimens
Name: lutimens
Prototype: int lutimens (char const *file, struct timespec const timespec[2])
Coverage:  16.981% (9/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/utimens.c
Lines: 515-631
 16.981% (9/53)
copy_unescaped_string
Name: copy_unescaped_string
Prototype: static char * copy_unescaped_string (const char *string)
Coverage:  17.544% (10/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ptx.c
Lines: 298-404
 17.544% (10/57)
apply_translations
Name: apply_translations
Prototype: static void apply_translations (void)
Coverage:  18.182% (8/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dd.c
Lines: 1609-1642
 18.182% (8/44)
source_is_dst_backup
Name: source_is_dst_backup
Prototype: static # 1815 "src/copy.c" 3 4 _Bool # 1816 "src/copy.c" source_is_dst_backup (char const *srcbase, struct stat const *src_st, char const *dst_name)
Coverage:  18.421% (7/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 1815-1834
 18.421% (7/38)
read_input_reservoir_sampling
Name: read_input_reservoir_sampling
Prototype: static size_t read_input_reservoir_sampling (FILE *in, char eolbyte, size_t k, struct randint_source *s, struct linebuffer **out_rsrv)
Coverage:  18.519% (5/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/shuf.c
Lines: 174-237
 18.519% (5/27)
main [test.c #1]
Name: main [test.c #1]
Prototype: int main (int margc, char **margv)
Coverage:  18.750% (21/112)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #1
Lines: 822-885
 18.750% (21/112)
rpl_nl_langinfo
Name: rpl_nl_langinfo
Prototype: char * rpl_nl_langinfo (nl_item item)
Coverage:  18.750% (3/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/nl_langinfo.c
Lines: 92-159
 18.750% (3/16)
Page:<>1
Condition %:  0.000% (0/1)
2
Condition %:  0.000% (0/7)
3
Condition %:  0.000% (0/6)
4
Condition %:  0.000% (0/11)
56
Condition %:  18.750% (3/16)
7
Condition %:  33.333% (2/6)
8
Condition %:  44.118% (30/68)
9
Condition %:  50.000% (2/4)
10
Condition %:  57.143% (4/7)
...20
Condition %: 100.000% (1/1)

Generated by Squish Coco 4.1.2