OpenCoverage

Coreutils Test Coverage

Functions

Page:<>1
Condition %: 100.000% (1/1)
...8
Condition %:  83.333% (15/18)
9
Condition %:  75.000% (3/4)
10
Condition %:  68.182% (15/22)
11
Condition %:  61.111% (11/18)
1213
Condition %:  50.000% (2/4)
14
Condition %:  38.776% (19/49)
15
Condition %:  27.273% (6/22)
16
Condition %:  2.459% (6/244)
...20
Condition %:  0.000% (0/1)
FunctionCondition %▾
print_long_format
Name: print_long_format
Prototype: static void print_long_format (const struct fileinfo *f)
Coverage:  52.830% (56/106)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 4016-4225
 52.830% (56/106)
mergelines_node
Name: mergelines_node
Prototype: static void mergelines_node (struct merge_node *__restrict node, size_t total_lines, FILE *tfp, char const *temp_output)
Coverage:  52.727% (29/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 3439-3501
 52.727% (29/55)
time_zone_hhmm
Name: time_zone_hhmm
Prototype: static # 1204 "parse-datetime.y" 3 4 _Bool # 1205 "parse-datetime.y" time_zone_hhmm (parser_control *pc, textint s, intmax_t mm)
Coverage:  52.632% (10/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1204-1229
 52.632% (10/19)
year
Name: year
Prototype: static # 60 "lib/posixtm.c" 3 4 _Bool # 61 "lib/posixtm.c" year (struct tm *tm, const int *digit_pair, size_t n, unsigned int syntax_bits)
Coverage:  52.381% (11/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/posixtm.c
Lines: 60-103
 52.381% (11/21)
desirable_utmp_entry
Name: desirable_utmp_entry
Prototype: static # 64 "lib/readutmp.c" 3 4 _Bool # 65 "lib/readutmp.c" desirable_utmp_entry (STRUCT_UTMP const *u, int options)
Coverage:  52.381% (11/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/readutmp.c
Lines: 64-76
 52.381% (11/21)
fts_open
Name: fts_open
Prototype: FTS * fts_open (char * const *argv, register int options, int (*compar) (FTSENT const **, FTSENT const **))
Coverage:  52.326% (45/86)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/fts.c
Lines: 382-571
 52.326% (45/86)
flush_paragraph
Name: flush_paragraph
Prototype: static void flush_paragraph (void)
Coverage:  52.174% (12/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/fmt.c
Lines: 783-841
 52.174% (12/23)
unary_operator [test.c #2]
Name: unary_operator [test.c #2]
Prototype: static # 394 "src/test.c" 3 4 _Bool # 395 "src/test.c" unary_operator (void)
Coverage:  52.000% (26/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #2
Lines: 394-527
 52.000% (26/50)
unary_operator [test.c #1]
Name: unary_operator [test.c #1]
Prototype: static # 394 "src/test.c" 3 4 _Bool # 395 "src/test.c" unary_operator (void)
Coverage:  52.000% (26/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #1
Lines: 394-527
 52.000% (26/50)
pipe_fork
Name: pipe_fork
Prototype: static pid_t pipe_fork (int pipefds[2], size_t tries)
Coverage:  52.000% (13/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 1033-1102
 52.000% (13/25)
specify_sort_size
Name: specify_sort_size
Prototype: static void specify_sort_size (int oi, char c, char const *s)
Coverage:  51.429% (18/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 1377-1435
 51.429% (18/35)
debug_mktime_not_ok
Name: debug_mktime_not_ok
Prototype: static void debug_mktime_not_ok (struct tm const *tm0, struct tm const *tm1, parser_control const *pc, # 1662 "parse-datetime.y" 3 4 _Bool # 1662 "parse-datetime.y" time_zone_seen)
Coverage:  51.429% (18/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1660-1714
 51.429% (18/35)
__strftime_internal [nstrftime.c #2]
Name: __strftime_internal [nstrftime.c #2]
Prototype: static size_t __strftime_internal (FILE *s, const char *format, const struct tm *tp, # 449 "lib/nstrftime.c" 3 4 _Bool # 449 "lib/nstrftime.c" upcase, # 449 "lib/nstrftime.c" 3 4 _Bool # 449 "lib/nstrftime.c" *tzset_called , timezone_t tz, int ns )
Coverage:  51.220% (378/738)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/nstrftime.c #2
Lines: 446-1520
 51.220% (378/738)
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)
closeout
Name: closeout
Prototype: static void closeout (FILE *fp, int fd, pid_t pid, char const *name)
Coverage:  51.111% (23/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/split.c
Lines: 537-588
 51.111% (23/45)
print_full_info
Name: print_full_info
Prototype: static void print_full_info (const char *username)
Coverage:  51.064% (24/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/id.c
Lines: 369-440
 51.064% (24/47)
split_3 [md5sum.c #2]
Name: split_3 [md5sum.c #2]
Prototype: static # 407 "src/md5sum.c" 3 4 _Bool # 408 "src/md5sum.c" split_3 (char *s, size_t s_len, unsigned char **hex_digest, int *binary, char **file_name)
Coverage:  50.588% (43/85)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/md5sum.c #2
Lines: 407-537
 50.588% (43/85)
rm_fts
Name: rm_fts
Prototype: static enum RM_status rm_fts (FTS *fts, FTSENT *ent, struct rm_options const *x)
Coverage:  50.515% (49/97)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/remove.c
Lines: 416-537
 50.515% (49/97)
wc
Name: wc
Prototype: static # 197 "src/wc.c" 3 4 _Bool # 198 "src/wc.c" wc (int fd, char const *file_x, struct fstatus *fstatus, off_t current_pos)
Coverage:  50.505% (100/198)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/wc.c
Lines: 197-551
 50.505% (100/198)
yydestruct
Name: yydestruct
Prototype: static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, parser_control *pc)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.c
Lines: 1631-1643
 50.000% (2/4)
xtime_make
Name: xtime_make
Prototype: inline xtime_t xtime_make (xtime_t s, long int ns)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xtime.h
Lines: 54-61
 50.000% (2/4)
xstrxfrm
Name: xstrxfrm
Prototype: static size_t xstrxfrm (char *__restrict dest, char const *__restrict src, size_t destsize)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 2104-2120
 50.000% (2/4)
xstrcoll
Name: xstrcoll
Prototype: static int xstrcoll (char const *a, char const *b)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3563-3577
 50.000% (2/4)
xset_binary_mode
Name: xset_binary_mode
Prototype: inline void xset_binary_mode (int fd, int mode)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/xbinary-io.h
Lines: 39-44
 50.000% (2/4)
xputchar
Name: xputchar
Prototype: static inline void xputchar (char c)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/paste.c
Lines: 168-173
 50.000% (2/4)
xfts_open
Name: xfts_open
Prototype: FTS * xfts_open (char * const *argv, int options, int (*compar) (const FTSENT **, const FTSENT **))
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/xfts.c
Lines: 32-46
 50.000% (2/4)
xalloc
Name: xalloc
Prototype: static void * xalloc (size_t s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/make-prime-list.c
Lines: 160-169
 50.000% (2/4)
write_line
Name: write_line
Prototype: static void write_line (struct line const *line, FILE *fp, char const *output_file)
Coverage:  50.000% (22/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 2771-2803
 50.000% (22/44)
who
Name: who
Prototype: static void who (const char *filename, int options)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/who.c
Lines: 619-634
 50.000% (4/8)
verror_at_line
Name: verror_at_line
Prototype: void verror_at_line (int status, int errnum, const char *file, unsigned int line_number, const char *format, va_list args)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/verror.c
Lines: 54-77
 50.000% (4/8)
users
Name: users
Prototype: static void users (const char *filename, int options)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/users.c
Lines: 90-102
 50.000% (2/4)
unblock_signal
Name: unblock_signal
Prototype: static void unblock_signal (int sig)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/timeout.c
Lines: 339-347
 50.000% (2/4)
try_nocreate
Name: try_nocreate
Prototype: static int try_nocreate (char *tmpl, void *flags __attribute__ ((__unused__)))
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/tempname.c
Lines: 282-290
 50.000% (3/6)
time_string
Name: time_string
Prototype: static const char * time_string (const STRUCT_UTMP *utmp_ent)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/who.c
Lines: 217-238
 50.000% (2/4)
store_char
Name: store_char
Prototype: static void store_char (char c)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 1996-2005
 50.000% (2/4)
short_pinky
Name: short_pinky
Prototype: static void short_pinky (const char *filename, const int argc_names, char *const argv_names[])
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pinky.c
Lines: 460-473
 50.000% (2/4)
sha256_process_bytes
Name: sha256_process_bytes
Prototype: void sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx)
Coverage:  50.000% (9/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha256.c
Lines: 351-418
 50.000% (9/18)
sha224_stream
Name: sha224_stream
Prototype: int sha224_stream (FILE *stream, void *resblock)
Coverage:  50.000% (11/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/sha256.c
Lines: 246-314
 50.000% (11/22)
sha1_process_bytes
Name: sha1_process_bytes
Prototype: void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
Coverage:  50.000% (9/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/sha1.c
Lines: 218-285
 50.000% (9/18)
set_increment_size
Name: set_increment_size
Prototype: static # 112 "src/expand-common.c" 3 4 _Bool # 113 "src/expand-common.c" set_increment_size (uintmax_t tabval)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expand-common.c
Lines: 112-127
 50.000% (2/4)
set_acl
Name: set_acl
Prototype: int set_acl (char const *name, int desc, mode_t mode)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/set-acl.c
Lines: 41-48
 50.000% (2/4)
separator_string
Name: separator_string
Prototype: static void separator_string (const char *optarg_S)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 846-854
 50.000% (2/4)
save_cwd
Name: save_cwd
Prototype: int save_cwd (struct saved_cwd *cwd)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/save-cwd.c
Lines: 61-76
 50.000% (3/6)
safe_hasher
Name: safe_hasher
Prototype: static struct hash_entry * safe_hasher (const Hash_table *table, const void *key)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/hash.c
Lines: 248-255
 50.000% (2/4)
restore_cwd
Name: restore_cwd
Prototype: int restore_cwd (const struct saved_cwd *cwd)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/save-cwd.c
Lines: 82-89
 50.000% (2/4)
reap_all
Name: reap_all
Prototype: static void reap_all (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 810-815
 50.000% (2/4)
quoting_options_from_style
Name: quoting_options_from_style
Prototype: static struct quoting_options quoting_options_from_style (enum quoting_style style)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/quotearg.c
Lines: 192-200
 50.000% (2/4)
queue_pop
Name: queue_pop
Prototype: static struct merge_node * queue_pop (struct merge_node_queue *queue)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 3399-3410
 50.000% (2/4)
qcopy_acl
Name: qcopy_acl
Prototype: int qcopy_acl (const char *src_name, int source_desc, const char *dst_name, int dest_desc, mode_t mode)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/qcopy-acl.c
Lines: 38-51
 50.000% (2/4)
process_files
Name: process_files
Prototype: static # 331 "src/chmod.c" 3 4 _Bool # 332 "src/chmod.c" process_files (char **files, int bit_flags)
Coverage:  50.000% (7/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chmod.c
Lines: 331-365
 50.000% (7/14)
print_lineno
Name: print_lineno
Prototype: static void print_lineno (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/nl.c
Lines: 270-281
 50.000% (2/4)
print_element
Name: print_element
Prototype: static void print_element (char const *element)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/uname.c
Lines: 160-168
 50.000% (2/4)
prep_non_filename_text
Name: prep_non_filename_text
Prototype: static void prep_non_filename_text (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 4572-4583
 50.000% (2/4)
plain_read
Name: plain_read
Prototype: static size_t plain_read (char *buf, size_t size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Lines: 1606-1613
 50.000% (2/4)
parse_datetime
Name: parse_datetime
Prototype: _Bool # 1718 "parse-datetime.y" parse_datetime (struct timespec *result, char const *p, struct timespec const *now)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/parse-datetime.y
Lines: 1717-1728
 50.000% (2/4)
openat_safer
Name: openat_safer
Prototype: int openat_safer (int fd, char const *file, int flags, ...)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/openat-safer.c
Lines: 28-46
 50.000% (2/4)
no_leading_hyphen
Name: no_leading_hyphen
Prototype: static # 161 "src/pathchk.c" 3 4 _Bool # 162 "src/pathchk.c" no_leading_hyphen (char const *file)
Coverage:  50.000% (7/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pathchk.c
Lines: 161-175
 50.000% (7/14)
nl_error
Name: nl_error
Prototype: static void __attribute__ ((__format__ (__printf__, 3, 4))) nl_error (int status, int errnum, const char *fmt, ...)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dd.c
Lines: 540-553
 50.000% (2/4)
neg_to_zero
Name: neg_to_zero
Prototype: static inline struct timespec neg_to_zero (struct timespec ts)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/stat.c
Lines: 1014-1021
 50.000% (2/4)
mpz_sub
Name: mpz_sub
Prototype: static void mpz_sub (mpz_t r, mpz_t a0, mpz_t b0)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 75-84
 50.000% (2/4)
mpz_add
Name: mpz_add
Prototype: static void mpz_add (mpz_t r, mpz_t a0, mpz_t b0)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 65-74
 50.000% (2/4)
mode_changed
Name: mode_changed
Prototype: static # 113 "src/chmod.c" 3 4 _Bool # 114 "src/chmod.c" mode_changed (int dir_fd, char const *file, char const *file_full_name, mode_t old_mode, mode_t new_mode)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chmod.c
Lines: 113-136
 50.000% (5/10)
maybe_create_temp
Name: maybe_create_temp
Prototype: static struct tempnode * maybe_create_temp (FILE **pfp, # 1111 "src/sort.c" 3 4 _Bool # 1111 "src/sort.c" survive_fd_exhaustion)
Coverage:  50.000% (8/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sort.c
Lines: 1110-1152
 50.000% (8/16)
lbuf_putint
Name: lbuf_putint
Prototype: static void lbuf_putint (uintmax_t i, size_t min_width)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/factor.c
Lines: 2432-2445
 50.000% (2/4)
lbuf_flush
Name: lbuf_flush
Prototype: static void lbuf_flush (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/factor.c
Lines: 2382-2389
 50.000% (2/4)
lbuf_alloc
Name: lbuf_alloc
Prototype: static void lbuf_alloc (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/factor.c
Lines: 2369-2379
 50.000% (2/4)
isdir
Name: isdir
Prototype: static # 141 "src/realpath.c" 3 4 _Bool # 142 "src/realpath.c" isdir (const char *path)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/realpath.c
Lines: 141-148
 50.000% (2/4)
input_file_size
Name: input_file_size
Prototype: static off_t input_file_size (int fd, struct stat const *st, char *buf, size_t bufsize)
Coverage:  50.000% (20/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/split.c
Lines: 282-344
 50.000% (20/40)
init_store_cols
Name: init_store_cols
Prototype: static void init_store_cols (void)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Lines: 1887-1909
 50.000% (5/10)
ind
Name: ind
Prototype: static inline isaac_word ind (isaac_word const *m, isaac_word x)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/rand-isaac.c
Lines: 67-86
 50.000% (2/4)
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_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)
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_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)
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)
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)
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_link_name
Name: get_link_name
Prototype: static void get_link_name (char const *filename, struct fileinfo *f, # 3450 "src/ls.c" 3 4 _Bool # 3450 "src/ls.c" command_line_arg)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 3449-3456
 50.000% (2/4)
fts_alloc
Name: fts_alloc
Prototype: static FTSENT * fts_alloc (FTS *sp, const char *name, register size_t namelen)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/fts.c
Lines: 1920-1949
 50.000% (2/4)
freadahead
Name: freadahead
Prototype: size_t freadahead (FILE *fp)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/freadahead.c
Lines: 30-99
 50.000% (2/4)
find_backup_file_name
Name: find_backup_file_name
Prototype: char * find_backup_file_name (char const *file, enum backup_type backup_type)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/backup-find.c
Lines: 31-38
 50.000% (2/4)
file_name_concat
Name: file_name_concat
Prototype: char * file_name_concat (char const *dir, char const *base, char **base_in_result)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/filenamecat.c
Lines: 34-41
 50.000% (2/4)
fchmod_or_lchmod
Name: fchmod_or_lchmod
Prototype: static int fchmod_or_lchmod (int desc, char const *name, mode_t mode)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/copy.c
Lines: 976-984
 50.000% (2/4)
factor_insert_large
Name: factor_insert_large
Prototype: static void factor_insert_large (struct factors *factors, uintmax_t p1, uintmax_t p0)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/factor.c
Lines: 559-571
 50.000% (2/4)
extract_trimmed_name
Name: extract_trimmed_name
Prototype: char * extract_trimmed_name (const STRUCT_UTMP *ut)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/readutmp.c
Lines: 44-60
 50.000% (3/6)
expr [test.c #2]
Name: expr [test.c #2]
Prototype: static # 571 "src/test.c" 3 4 _Bool # 572 "src/test.c" expr (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #2
Lines: 571-578
 50.000% (2/4)
expr [test.c #1]
Name: expr [test.c #1]
Prototype: static # 571 "src/test.c" 3 4 _Bool # 572 "src/test.c" expr (void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/test.c #1
Lines: 571-578
 50.000% (2/4)
eval1
Name: eval1
Prototype: static VALUE * eval1 ( # 1056 "src/expr.c" 3 4 _Bool # 1056 "src/expr.c" evaluate)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/expr.c
Lines: 1055-1082
 50.000% (5/10)
elseek
Name: elseek
Prototype: static off_t elseek (int fd, off_t offset, int whence, char const *filename)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/head.c
Lines: 222-237
 50.000% (2/4)
do_encode
Name: do_encode
Prototype: static void do_encode (FILE *in, FILE *out, uintmax_t wrap_column)
Coverage:  50.000% (14/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/base64.c
Lines: 164-202
 50.000% (14/28)
dir_name
Name: dir_name
Prototype: char * dir_name (char const *file)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/dirname.c
Lines: 31-38
 50.000% (2/4)
di_ent_hash
Name: di_ent_hash
Prototype: static size_t di_ent_hash (void const *x, size_t table_size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/di-set.c
Lines: 75-91
 50.000% (2/4)
devlist_for_dev
Name: devlist_for_dev
Prototype: static struct devlist * devlist_for_dev (dev_t dev)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Lines: 625-633
 50.000% (2/4)
dev_ino_push
Name: dev_ino_push
Prototype: static void dev_ino_push (dev_t dev, ino_t ino)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Lines: 1004-1016
 50.000% (2/4)
delete_all_files
Name: delete_all_files
Prototype: static void delete_all_files ( # 982 "src/csplit.c" 3 4 _Bool # 982 "src/csplit.c" in_signal_handler)
Coverage:  50.000% (6/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Lines: 981-995
 50.000% (6/12)
create_output_file
Name: create_output_file
Prototype: static void create_output_file (void)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Lines: 945-976
 50.000% (4/8)
compile_regex
Name: compile_regex
Prototype: static void compile_regex (struct regex_data *regex)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ptx.c
Lines: 410-431
 50.000% (3/6)
clear_ungetc_buffer_preserving_position
Name: clear_ungetc_buffer_preserving_position
Prototype: static void clear_ungetc_buffer_preserving_position (FILE *fp)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/fflush.c
Lines: 39-45
 50.000% (2/4)
Page:<>1
Condition %: 100.000% (1/1)
...8
Condition %:  83.333% (15/18)
9
Condition %:  75.000% (3/4)
10
Condition %:  68.182% (15/22)
11
Condition %:  61.111% (11/18)
1213
Condition %:  50.000% (2/4)
14
Condition %:  38.776% (19/49)
15
Condition %:  27.273% (6/22)
16
Condition %:  2.459% (6/244)
...20
Condition %:  0.000% (0/1)

Generated by Squish Coco 4.1.2