OpenCoverage

Coreutils Test Coverage

Function Tree

Page:<>12
Condition %: 100.000% (1/1)
3
Condition %: 100.000% (7/7)
4
Condition %: 100.000% (1/1)
5
Condition %: 100.000% (7/7)
...10
Condition %:  68.182% (15/22)
...20
Condition %:  0.000% (0/1)
FunctionCondition %▾
yyerror
Name: yyerror
Prototype: static int yyerror (parser_control const *pc __attribute__ ((__unused__)), char const *s __attribute__ ((__unused__)))
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1550-1555
100.000% (1/1)
xzalloc
Name: xzalloc
Prototype: void * xzalloc (size_t s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmalloc.c
Lines: 83-87
100.000% (1/1)
xsum
Name: xsum
Prototype: inline size_t __attribute__ ((__pure__)) xsum (size_t size1, size_t size2)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/xsize.h
Lines: 59-67
100.000% (1/1)
xstrtod
Name: xstrtod
Prototype: _Bool # 44 "lib/xstrtod.c" xstrtod (char const *str, char const **ptr, double *result, double (*convert) (char const *, char **))
Coverage: 100.000% (17/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xstrtod.c
Lines: 43-71
100.000% (17/17)
xstrdup
Name: xstrdup
Prototype: char * xstrdup (char const *string)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmalloc.c
Lines: 118-122
100.000% (1/1)
xstrcoll_version
Name: xstrcoll_version
Prototype: static int xstrcoll_version (V a, V b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3706-3707
100.000% (1/1)
xstrcoll_name
Name: xstrcoll_name
Prototype: static int xstrcoll_name (V a, V b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3688-3688
100.000% (1/1)
xstrcoll_mtime
Name: xstrcoll_mtime
Prototype: static int xstrcoll_mtime (V a, V b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3685-3685
100.000% (1/1)
xstrcoll_ctime
Name: xstrcoll_ctime
Prototype: static int xstrcoll_ctime (V a, V b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3684-3684
100.000% (1/1)
xstrcoll_atime
Name: xstrcoll_atime
Prototype: static int xstrcoll_atime (V a, V b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3686-3686
100.000% (1/1)
xprintf
Name: xprintf
Prototype: int xprintf (char const *__restrict format, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xprintf.c
Lines: 31-41
100.000% (1/1)
xmemdup
Name: xmemdup
Prototype: void * xmemdup (void const *p, size_t s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmalloc.c
Lines: 110-114
100.000% (1/1)
xfopen
Name: xfopen
Prototype: static FILE * xfopen (char const *file, char const *how)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 980-987
100.000% (4/4)
xdectoumax [xdectoint.c #2]
Name: xdectoumax [xdectoint.c #2]
Prototype: uintmax_t xdectoumax (const char *n_str, uintmax_t min, uintmax_t max, const char *suffixes, const char *err, int err_exit)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/xdectoint.c #2
Lines: 81-86
100.000% (1/1)
xdectoimax [xdectoint.c #1]
Name: xdectoimax [xdectoint.c #1]
Prototype: intmax_t xdectoimax (const char *n_str, intmax_t min, intmax_t max, const char *suffixes, const char *err, int err_exit)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/xdectoint.c #1
Lines: 81-86
100.000% (1/1)
xcharalloc
Name: xcharalloc
Prototype: inline char * xcharalloc (size_t n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xalloc.h
Lines: 221-225
100.000% (1/1)
xasprintf
Name: xasprintf
Prototype: char * xasprintf (const char *format, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xasprintf.c
Lines: 23-34
100.000% (1/1)
x2realloc
Name: x2realloc
Prototype: void * x2realloc (void *p, size_t *pn)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xmalloc.c
Lines: 73-77
100.000% (1/1)
write_unique
Name: write_unique
Prototype: static void write_unique (struct line const *line, FILE *tfp, char const *temp_output)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 3419-3430
100.000% (9/9)
write_pending
Name: write_pending
Prototype: static inline void write_pending (char *outbuf, char **bpout)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cat.c
Lines: 196-206
100.000% (7/7)
write_header
Name: write_header
Prototype: static void write_header (const char *pretty_filename)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 397-404
100.000% (1/1)
writable_destination
Name: writable_destination
Prototype: static # 1667 "src/copy.c" 3 4 _Bool # 1668 "src/copy.c" writable_destination (char const *file, mode_t mode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 1667-1673
100.000% (1/1)
wd_hasher
Name: wd_hasher
Prototype: static size_t wd_hasher (const void *entry, size_t tabsize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 1360-1365
100.000% (1/1)
wd_comparator
Name: wd_comparator
Prototype: static # 1367 "src/tail.c" 3 4 _Bool # 1368 "src/tail.c" wd_comparator (const void *e1, const void *e2)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 1367-1373
100.000% (1/1)
version_etc
Name: version_etc
Prototype: void version_etc (FILE *stream, const char *command_name, const char *package, const char *version, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/version-etc.c
Lines: 226-236
100.000% (1/1)
verror
Name: verror
Prototype: void verror (int status, int errnum, const char *format, va_list args)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/verror.c
Lines: 42-46
100.000% (1/1)
verify_numeric
Name: verify_numeric
Prototype: static void verify_numeric (const char *s, const char *end)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/printf.c
Lines: 144-160
100.000% (11/11)
validate_case_classes
Name: validate_case_classes
Prototype: static void validate_case_classes (struct Spec_list *s1, struct Spec_list *s2)
Coverage: 100.000% (34/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1165-1225
100.000% (34/34)
valid_suffix
Name: valid_suffix
Prototype: static inline int valid_suffix (const char suf)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 233-238
100.000% (1/1)
valid_options
Name: valid_options
Prototype: static # 2938 "src/copy.c" 3 4 _Bool # 2938 "src/copy.c" __attribute__ ((__pure__)) valid_options (const struct cp_options *co)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 2938-2950
100.000% (1/1)
valid_file_spec
Name: valid_file_spec
Prototype: static # 354 "src/tail.c" 3 4 _Bool # 355 "src/tail.c" valid_file_spec (struct File_spec const *f)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 354-359
100.000% (1/1)
utimens
Name: utimens
Prototype: int utimens (char const *file, struct timespec const timespec[2])
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/utimens.c
Lines: 505-509
100.000% (1/1)
utimecmp
Name: utimecmp
Prototype: int utimecmp (char const *dst_name, struct stat const *dst_stat, struct stat const *src_stat, int options)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/utimecmp.c
Lines: 122-129
100.000% (1/1)
usage
Name: usage
Prototype: void usage (int status)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/yes.c
Lines: 40-62
100.000% (5/5)
usable_st_size
Name: usable_st_size
Prototype: static inline # 700 "src/system.h" 3 4 _Bool # 701 "src/system.h" usable_st_size (struct stat const *sb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/system.h
Lines: 700-705
100.000% (1/1)
unsigned_file_size
Name: unsigned_file_size
Prototype: static uintmax_t unsigned_file_size (off_t size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 2928-2932
100.000% (1/1)
unlock_node
Name: unlock_node
Prototype: static inline void unlock_node (struct merge_node *node)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 3354-3358
100.000% (1/1)
unary_advance [test.c #2]
Name: unary_advance [test.c #2]
Prototype: static void unary_advance (void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #2
Lines: 113-118
100.000% (1/1)
unary_advance [test.c #1]
Name: unary_advance [test.c #1]
Prototype: static void unary_advance (void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #1
Lines: 113-118
100.000% (1/1)
uidtostr_ptr
Name: uidtostr_ptr
Prototype: static char * uidtostr_ptr (uid_t const *uid)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/id.c
Lines: 337-342
100.000% (1/1)
try_symlink
Name: try_symlink
Prototype: static int try_symlink (char *dest, void *arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/force-link.c
Lines: 135-140
100.000% (1/1)
try_link
Name: try_link
Prototype: static int try_link (char *dest, void *arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/force-link.c
Lines: 79-84
100.000% (1/1)
try_file
Name: try_file
Prototype: static int try_file (char *tmpl, void *flags)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/tempname.c
Lines: 267-274
100.000% (1/1)
try_dir
Name: try_dir
Prototype: static int try_dir (char *tmpl, void *flags __attribute__ ((__unused__)))
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/tempname.c
Lines: 276-280
100.000% (1/1)
triple_hash_no_name
Name: triple_hash_no_name
Prototype: size_t triple_hash_no_name (void const *x, size_t table_size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-triple.c
Lines: 44-51
100.000% (1/1)
triple_hash
Name: triple_hash
Prototype: size_t triple_hash (void const *x, size_t table_size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-triple.c
Lines: 33-41
100.000% (1/1)
triple_free
Name: triple_free
Prototype: void triple_free (void *x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-triple.c
Lines: 71-77
100.000% (1/1)
triple_compare
Name: triple_compare
Prototype: _Bool # 55 "lib/hash-triple.c" triple_compare (void const *x, void const *y)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash-triple.c
Lines: 54-60
100.000% (1/1)
translate_charset
Name: translate_charset
Prototype: static void translate_charset (char const *new_trans)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dd.c
Lines: 750-756
100.000% (4/4)
translate_buffer
Name: translate_buffer
Prototype: static void translate_buffer (char *buf, size_t nread)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dd.c
Lines: 1647-1654
100.000% (4/4)
to_uchar
Name: to_uchar
Prototype: static unsigned char to_uchar (char ch)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 134-134
100.000% (1/1)
to_uchar
Name: to_uchar
Prototype: static inline unsigned char to_uchar (char ch)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/system.h
Lines: 156-156
100.000% (1/1)
tm_year_str
Name: tm_year_str
Prototype: static char const * tm_year_str (int tm_year, char buf[TM_YEAR_BUFSIZE])
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1252-1260
100.000% (1/1)
timetostr
Name: timetostr
Prototype: static inline char * timetostr (time_t t, char *buf)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/system.h
Lines: 685-691
100.000% (1/1)
timespec_cmp
Name: timespec_cmp
Prototype: inline int __attribute__ ((__pure__)) timespec_cmp (struct timespec a, struct timespec b)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/timespec.h
Lines: 81-95
100.000% (7/7)
time_overflow
Name: time_overflow
Prototype: static # 124 "parse-datetime.y" 3 4 _Bool # 125 "parse-datetime.y" time_overflow (intmax_t n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 124-129
100.000% (1/1)
test_syntax_error [test.c #2]
Name: test_syntax_error [test.c #2]
Prototype: static void test_syntax_error (char const *format, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #2
Lines: 91-98
100.000% (1/1)
test_syntax_error [test.c #1]
Name: test_syntax_error [test.c #1]
Prototype: static void test_syntax_error (char const *format, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #1
Lines: 91-98
100.000% (1/1)
target_directory_operand
Name: target_directory_operand
Prototype: static # 569 "src/cp.c" 3 4 _Bool # 570 "src/cp.c" target_directory_operand (char const *file, struct stat *st, # 570 "src/cp.c" 3 4 _Bool # 570 "src/cp.c" *new_dst)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp.c
Lines: 569-581
100.000% (13/13)
tail
Name: tail
Prototype: static # 1944 "src/tail.c" 3 4 _Bool # 1945 "src/tail.c" tail (const char *filename, int fd, uintmax_t n_units, uintmax_t *read_pos)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Lines: 1944-1953
100.000% (4/4)
tac_nonseekable
Name: tac_nonseekable
Prototype: static # 545 "src/tac.c" 3 4 _Bool # 546 "src/tac.c" tac_nonseekable (int input_fd, const char *file)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tac.c
Lines: 545-556
100.000% (4/4)
swap
Name: swap
Prototype: static void swap (size_t *v, size_t i, size_t j)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randperm.c
Lines: 64-70
100.000% (1/1)
strnumcmp
Name: strnumcmp
Prototype: int __attribute__ ((__pure__)) strnumcmp (char const *a, char const *b, int decimal_point, int thousands_sep)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/strnumcmp.c
Lines: 26-31
100.000% (1/1)
strip_trailing_slashes
Name: strip_trailing_slashes
Prototype: _Bool # 31 "lib/stripslash.c" strip_trailing_slashes (char *file)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stripslash.c
Lines: 30-45
100.000% (4/4)
strintcmp
Name: strintcmp
Prototype: int strintcmp (char const *a, char const *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/strintcmp.c
Lines: 28-32
100.000% (1/1)
string_to_integer
Name: string_to_integer
Prototype: static uintmax_t string_to_integer ( # 909 "src/head.c" 3 4 _Bool # 909 "src/head.c" count_lines, const char *n_string)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 908-914
100.000% (1/1)
string_hasher
Name: string_hasher
Prototype: static size_t string_hasher (void const *data, size_t n_buckets)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/exclude.c
Lines: 197-202
100.000% (1/1)
strict_posix2
Name: strict_posix2
Prototype: static # 230 "src/uniq.c" 3 4 _Bool # 231 "src/uniq.c" strict_posix2 (void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/uniq.c
Lines: 230-235
100.000% (1/1)
str_value
Name: str_value
Prototype: static VALUE * str_value (char const *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 483-490
100.000% (1/1)
str2sig
Name: str2sig
Prototype: int str2sig (char const *signame, int *signum)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sig2str.c
Lines: 303-308
100.000% (1/1)
store64
Name: store64
Prototype: static inline void store64( void *dst, uint64_t w )
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/blake2/blake2-impl.h
Lines: 104-119
100.000% (1/1)
store32
Name: store32
Prototype: static inline void store32( void *dst, uint32_t w )
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/blake2/blake2-impl.h
Lines: 91-102
100.000% (1/1)
src_to_dest_lookup
Name: src_to_dest_lookup
Prototype: char * src_to_dest_lookup (ino_t ino, dev_t dev)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp-hash.c
Lines: 99-108
100.000% (1/1)
src_to_dest_hash
Name: src_to_dest_hash
Prototype: static size_t src_to_dest_hash (void const *x, size_t table_size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp-hash.c
Lines: 50-59
100.000% (1/1)
src_to_dest_free
Name: src_to_dest_free
Prototype: static void src_to_dest_free (void *x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp-hash.c
Lines: 71-77
100.000% (1/1)
src_to_dest_compare
Name: src_to_dest_compare
Prototype: static # 63 "src/cp-hash.c" 3 4 _Bool # 64 "src/cp-hash.c" src_to_dest_compare (void const *x, void const *y)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cp-hash.c
Lines: 63-69
100.000% (1/1)
src_info_init
Name: src_info_init
Prototype: void src_info_init (struct cp_options *x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 1717-1735
100.000% (1/1)
spec_init
Name: spec_init
Prototype: static void spec_init (struct Spec_list *spec_list)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1336-1342
100.000% (1/1)
sparse_new
Name: sparse_new
Prototype: static sparse_map * sparse_new (size_t size_hint)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randperm.c
Lines: 104-108
100.000% (1/1)
sparse_hash_
Name: sparse_hash_
Prototype: static size_t sparse_hash_ (void const *x, size_t table_size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randperm.c
Lines: 83-88
100.000% (1/1)
sparse_free
Name: sparse_free
Prototype: static void sparse_free (sparse_map *sv)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randperm.c
Lines: 143-147
100.000% (1/1)
sparse_cmp_
Name: sparse_cmp_
Prototype: static # 90 "lib/randperm.c" 3 4 _Bool # 91 "lib/randperm.c" sparse_cmp_ (void const *x, void const *y)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randperm.c
Lines: 90-96
100.000% (1/1)
sort_found_occurs
Name: sort_found_occurs
Prototype: static void sort_found_occurs (void)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ptx.c
Lines: 633-641
100.000% (4/4)
skip_construct
Name: skip_construct
Prototype: static void skip_construct (struct Spec_list *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 993-998
100.000% (1/1)
simple_strtod_human
Name: simple_strtod_human
Prototype: static enum simple_strtod_error simple_strtod_human (const char *input_str, char **endptr, long double *value, size_t *precision, enum scale_type allowed_scaling)
Coverage: 100.000% (44/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 606-678
100.000% (44/44)
simple_round_to_zero
Name: simple_round_to_zero
Prototype: static inline intmax_t simple_round_to_zero (long double val)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 385-389
100.000% (1/1)
simple_round_nearest
Name: simple_round_nearest
Prototype: static inline intmax_t simple_round_nearest (long double val)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 393-397
100.000% (1/1)
simple_round_from_zero
Name: simple_round_from_zero
Prototype: static inline intmax_t simple_round_from_zero (long double val)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 377-381
100.000% (1/1)
simple_round_floor
Name: simple_round_floor
Prototype: static inline intmax_t simple_round_floor (long double val)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 369-373
100.000% (1/1)
simple_round_ceiling
Name: simple_round_ceiling
Prototype: static inline intmax_t simple_round_ceiling (long double val)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/numfmt.c
Lines: 358-365
100.000% (4/4)
simple_new
Name: simple_new
Prototype: static struct randread_source * simple_new (FILE *source, void const *handler_arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randread.c
Lines: 136-144
100.000% (1/1)
signal_restore
Name: signal_restore
Prototype: static inline void signal_restore (void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 1440-1444
100.000% (1/1)
show_date
Name: show_date
Prototype: static void show_date (const char *format, struct timespec when, timezone_t tz)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/du.c
Lines: 378-391
100.000% (4/4)
should_dereference
Name: should_dereference
Prototype: static inline # 1805 "src/copy.c" 3 4 _Bool # 1805 "src/copy.c" __attribute__ ((__pure__)) should_dereference (const struct cp_options *x, # 1806 "src/copy.c" 3 4 _Bool # 1806 "src/copy.c" command_line_arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 1805-1811
100.000% (1/1)
shift_left
Name: shift_left
Prototype: static inline randint shift_left (randint x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randint.c
Lines: 104-107
100.000% (1/1)
sha512_read_ctx
Name: sha512_read_ctx
Prototype: void * sha512_read_ctx (const struct sha512_ctx *ctx, void *resbuf)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha512.c
Lines: 112-122
100.000% (4/4)
sha512_process_block
Name: sha512_process_block
Prototype: void sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha512.c
Lines: 483-630
100.000% (7/7)
sha512_init_ctx
Name: sha512_init_ctx
Prototype: void sha512_init_ctx (struct sha512_ctx *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha512.c
Lines: 69-83
100.000% (1/1)
sha512_finish_ctx
Name: sha512_finish_ctx
Prototype: void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha512.c
Lines: 165-170
100.000% (1/1)
sha384_read_ctx
Name: sha384_read_ctx
Prototype: void * sha384_read_ctx (const struct sha512_ctx *ctx, void *resbuf)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha512.c
Lines: 124-134
100.000% (4/4)
Page:<>12
Condition %: 100.000% (1/1)
3
Condition %: 100.000% (7/7)
4
Condition %: 100.000% (1/1)
5
Condition %: 100.000% (7/7)
...10
Condition %:  68.182% (15/22)
...20
Condition %:  0.000% (0/1)

Generated by Squish Coco 4.1.2