OpenCoverage

Bash Test Coverage

Function Tree

Page:<>1
Condition %:  0.000% (0/7)
...10
Condition %:  0.000% (0/27)
11
Condition %:  0.000% (0/1)
12
Condition %:  0.000% (0/4)
13
Condition %:  0.000% (0/4)
1415
Condition %:  44.444% (4/9)
16
Condition %:  50.000% (6/12)
17
Condition %:  59.643% (167/280)
18
Condition %:  66.667% (4/6)
...20
Condition %:  75.000% (3/4)
...28
Condition %: 100.000% (1/1)
FunctionCondition %▴
sv_histtimefmt
Name: sv_histtimefmt
Prototype: void sv_histtimefmt (name)
Coverage:  28.571% (2/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 5607-5619
 28.571% (2/7)
unquoted_tilde_word
Name: unquoted_tilde_word
Prototype: static int unquoted_tilde_word (s)
Coverage:  28.571% (4/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/general.c
Lines: 1050-1067
 28.571% (4/14)
push_func_var
Name: push_func_var
Prototype: static void push_func_var (data)
Coverage:  28.767% (21/73)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 4859-4899
 28.767% (21/73)
sh_stat
Name: sh_stat
Prototype: int sh_stat (path, finfo)
Coverage:  29.412% (15/51)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/eaccess.c
Lines: 80-133
 29.412% (15/51)
fg_builtin
Name: fg_builtin
Prototype: int fg_builtin (list)
Coverage:  29.825% (17/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/fg_bg.def
Lines: 58-84
 29.825% (17/57)
check_dev_tty
Name: check_dev_tty
Prototype: void check_dev_tty ()
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/general.c
Lines: 502-519
 30.000% (3/10)
let_builtin
Name: let_builtin
Prototype: int let_builtin (list)
Coverage:  30.000% (18/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/let.def
Lines: 82-109
 30.000% (18/60)
throw_to_top_level
Name: throw_to_top_level
Prototype: void throw_to_top_level ()
Coverage:  30.000% (12/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/sig.c
Lines: 386-455
 30.000% (12/40)
find_special_var
Name: find_special_var
Prototype: static inline int find_special_var (name)
Coverage:  30.233% (13/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 5287-5306
 30.233% (13/43)
sh_physpath
Name: sh_physpath
Prototype: char * sh_physpath (path, flags)
Coverage:  31.522% (29/92)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/pathphys.c
Lines: 74-252
 31.522% (29/92)
set_minus_o_option
Name: set_minus_o_option
Prototype: int set_minus_o_option (on_or_off, option_name)
Coverage:  31.915% (15/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/set.def
Lines: 447-480
 31.915% (15/47)
extract_delimited_string
Name: extract_delimited_string
Prototype: static char * extract_delimited_string (string, sindex, opener, alt_opener, closer, flags)
Coverage:  32.059% (109/340)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/subst.c
Lines: 1310-1472
 32.059% (109/340)
set_limit
Name: set_limit
Prototype: static int set_limit (ind, newlim, mode)
Coverage:  32.143% (9/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/ulimit.def
Lines: 558-621
 32.143% (9/28)
uconvert
Name: uconvert
Prototype: int uconvert(s, ip, up)
Coverage:  32.500% (26/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/uconvert.c
Lines: 66-116
 32.500% (26/80)
bg_builtin
Name: bg_builtin
Prototype: int bg_builtin (list)
Coverage:  32.727% (18/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/fg_bg.def
Lines: 103-134
 32.727% (18/55)
all_variables_matching_prefix
Name: all_variables_matching_prefix
Prototype: char ** all_variables_matching_prefix (prefix)
Coverage:  32.877% (24/73)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 4182-4206
 32.877% (24/73)
extmatch_wc
Name: extmatch_wc
Prototype: static int extmatch_wc (xc, s, se, p, pe, flags)
Coverage:  32.941% (28/85)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/sm_loop.c
Lines: 759-881
 32.941% (28/85)
match_wpattern
Name: match_wpattern
Prototype: static int match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep)
Coverage:  33.071% (42/127)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/subst.c
Lines: 4819-4958
 33.071% (42/127)
caller_builtin
Name: caller_builtin
Prototype: int caller_builtin (list)
Coverage:  33.333% (24/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/caller.def
Lines: 71-132
 33.333% (24/72)
get_tty_state
Name: get_tty_state
Prototype: int get_tty_state ()
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 2257-2291
 33.333% (4/12)
push_exported_var
Name: push_exported_var
Prototype: static void push_exported_var (data)
Coverage:  33.333% (5/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 4959-4988
 33.333% (5/15)
sh_invalidnum
Name: sh_invalidnum
Prototype: void sh_invalidnum (s)
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/common.c
Lines: 233-246
 33.333% (4/12)
snprintf
Name: snprintf
Prototype: int snprintf(char *string, size_t length, const char * format, ...)
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/snprintf.c
Lines: 1721-1746
 33.333% (2/6)
u32reset
Name: u32reset
Prototype: void u32reset ()
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/unicode.c
Lines: 96-108
 33.333% (2/6)
vsnprintf
Name: vsnprintf
Prototype: int vsnprintf(char *string, size_t length, const char *format, va_list args)
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/snprintf.c
Lines: 1702-1719
 33.333% (2/6)
xdupmbstowcs
Name: xdupmbstowcs
Prototype: size_t xdupmbstowcs (destp, indicesp, src)
Coverage:  33.333% (26/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/xmbsrtowcs.c
Lines: 267-407
 33.333% (26/78)
vsnprintf_internal
Name: vsnprintf_internal
Prototype: static int vsnprintf_internal(struct DATA *data, char *string, size_t length, const char *format, va_list args)
Coverage:  35.062% (142/405)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/snprintf.c
Lines: 1246-1632
 35.062% (142/405)
gmatch_wc
Name: gmatch_wc
Prototype: static int gmatch_wc (string, se, pattern, pe, ends, flags)
Coverage:  35.417% (102/288)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/sm_loop.c
Lines: 53-344
 35.417% (102/288)
strsub
Name: strsub
Prototype: char * strsub (string, pat, rep, global)
Coverage:  35.443% (28/79)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/stringlib.c
Lines: 144-178
 35.443% (28/79)
parse_command
Name: parse_command
Prototype: int parse_command ()
Coverage:  35.714% (5/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/eval.c
Lines: 277-306
 35.714% (5/14)
check_history_control
Name: check_history_control
Prototype: static int check_history_control (line)
Coverage:  35.849% (19/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/bashhist.c
Lines: 654-683
 35.849% (19/53)
make_here_document
Name: make_here_document
Prototype: void make_here_document (temp, lineno)
Coverage:  35.915% (51/142)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/make_cmd.c
Lines: 560-669
 35.915% (51/142)
initialize_shell_variables
Name: initialize_shell_variables
Prototype: void initialize_shell_variables (env, privmode)
Coverage:  36.364% (100/275)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 323-646
 36.364% (100/275)
hash_remove
Name: hash_remove
Prototype: BUCKET_CONTENTS * hash_remove (string, table, flags)
Coverage:  36.538% (19/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/hashlib.c
Lines: 211-241
 36.538% (19/52)
print_pipeline
Name: print_pipeline
Prototype: static void print_pipeline (p, job_index, format, stream)
Coverage:  36.752% (43/117)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 1728-1826
 36.752% (43/117)
run_startup_files
Name: run_startup_files
Prototype: static void run_startup_files ()
Coverage:  36.957% (34/92)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/shell.c
Lines: 1083-1214
 36.957% (34/92)
find_in_path_element
Name: find_in_path_element
Prototype: static char * find_in_path_element (name, path, flags, name_len, dotinfop)
Coverage:  37.037% (20/54)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/findcmd.c
Lines: 517-584
 37.037% (20/54)
zmapfd
Name: zmapfd
Prototype: int zmapfd (fd, ostr, fn)
Coverage:  37.037% (10/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/zmapfd.c
Lines: 43-89
 37.037% (10/27)
initialize_shell_options
Name: initialize_shell_options
Prototype: void initialize_shell_options (no_shellopts)
Coverage:  37.500% (6/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/set.def
Lines: 589-613
 37.500% (6/16)
printable_job_status
Name: printable_job_status
Prototype: static char * printable_job_status (j, p, format)
Coverage:  37.500% (12/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 1655-1703
 37.500% (12/32)
push_history
Name: push_history
Prototype: static void push_history (list)
Coverage:  37.500% (6/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/history.def
Lines: 390-424
 37.500% (6/16)
notify_of_job_status
Name: notify_of_job_status
Prototype: static void notify_of_job_status ()
Coverage:  37.576% (62/165)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 4023-4160
 37.576% (62/165)
hash_search
Name: hash_search
Prototype: BUCKET_CONTENTS * hash_search (string, table, flags)
Coverage:  37.736% (20/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/hashlib.c
Lines: 165-206
 37.736% (20/53)
change_to_directory
Name: change_to_directory
Prototype: static int change_to_directory (newdir, nolinks, xattr)
Coverage:  37.931% (22/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/cd.def
Lines: 542-672
 37.931% (22/58)
set_job_status_and_cleanup
Name: set_job_status_and_cleanup
Prototype: static int set_job_status_and_cleanup (job)
Coverage:  38.356% (28/73)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 3764-3935
 38.356% (28/73)
hist_error
Name: hist_error
Prototype: static char * hist_error(char *s, int start, int current, int errtype)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/histexpand.c
Lines: 370-413
 38.462% (5/13)
set_bash_input
Name: set_bash_input
Prototype: static void set_bash_input ()
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/shell.c
Lines: 1682-1703
 38.462% (5/13)
write_here_document
Name: write_here_document
Prototype: static int write_here_document (fd, redirectee)
Coverage:  38.462% (15/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/redir.c
Lines: 357-446
 38.462% (15/39)
select_query
Name: select_query
Prototype: static char * select_query (list, list_len, prompt, print_menu)
Coverage:  38.776% (19/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 3199-3262
 38.776% (19/49)
sh_canonpath
Name: sh_canonpath
Prototype: char * sh_canonpath (path, flags)
Coverage:  38.889% (35/90)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/pathcanon.c
Lines: 103-234
 38.889% (35/90)
bgp_delete
Name: bgp_delete
Prototype: static int bgp_delete (pid)
Coverage:  40.000% (8/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 871-903
 40.000% (8/20)
expandable_redirection_filename
Name: expandable_redirection_filename
Prototype: static int expandable_redirection_filename (redirect)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/redir.c
Lines: 242-265
 40.000% (6/15)
getint
Name: getint
Prototype: static int getint ()
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/printf.def
Lines: 1124-1146
 40.000% (4/10)
history_find_word
Name: history_find_word
Prototype: static char * history_find_word (char *line, int ind)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/histexpand.c
Lines: 1640-1660
 40.000% (6/15)
u32toutf8
Name: u32toutf8
Prototype: int u32toutf8 (wc, s)
Coverage:  40.000% (8/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/unicode.c
Lines: 153-212
 40.000% (8/20)
xmalloc
Name: xmalloc
Prototype: void * xmalloc (bytes)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/xmalloc.c
Lines: 102-120
 40.000% (4/10)
builtin_address_internal
Name: builtin_address_internal
Prototype: struct builtin * builtin_address_internal (name, disabled_okay)
Coverage:  40.385% (21/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/common.c
Lines: 814-851
 40.385% (21/52)
history_delimiting_chars
Name: history_delimiting_chars
Prototype: char * history_delimiting_chars (line)
Coverage:  40.506% (32/79)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/parse.y
Lines: 5449-5534
 40.506% (32/79)
shell_execve
Name: shell_execve
Prototype: int shell_execve (command, args, env)
Coverage:  40.580% (28/69)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 5591-5745
 40.580% (28/69)
_rl_adjust_point
Name: _rl_adjust_point
Prototype: int _rl_adjust_point (char *string, int point, mbstate_t *ps)
Coverage:  40.741% (11/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/mbutil.c
Lines: 279-317
 40.741% (11/27)
error_token_from_token
Name: error_token_from_token
Prototype: static char * error_token_from_token (tok)
Coverage:  40.741% (11/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/parse.y
Lines: 6082-6120
 40.741% (11/27)
strcreplace
Name: strcreplace
Prototype: char * strcreplace (string, c, text, do_glob)
Coverage:  41.071% (23/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/stringlib.c
Lines: 183-237
 41.071% (23/56)
print_index_and_element
Name: print_index_and_element
Prototype: static int print_index_and_element (len, ind, list)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 3109-3125
 41.667% (5/12)
set_tty_state
Name: set_tty_state
Prototype: int set_tty_state ()
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 2294-2327
 41.667% (5/12)
history_do_write
Name: history_do_write
Prototype: static int history_do_write (const char *filename, int nelements, int overwrite)
Coverage:  41.758% (38/91)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/histfile.c
Lines: 632-774
 41.758% (38/91)
print_formatted_time
Name: print_formatted_time
Prototype: static void print_formatted_time (fp, format, rs, rsf, us, usf, ss, ssf, cpu)
Coverage:  41.935% (26/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 1212-1300
 41.935% (26/62)
fc_gethnum
Name: fc_gethnum
Prototype: static int fc_gethnum (command, hlist)
Coverage:  42.000% (42/100)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/fc.def
Lines: 491-575
 42.000% (42/100)
history_tokenize_word
Name: history_tokenize_word
Prototype: static int history_tokenize_word (const char *string, int ind)
Coverage:  42.177% (62/147)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/histexpand.c
Lines: 1401-1549
 42.177% (62/147)
build_actions
Name: build_actions
Prototype: static int build_actions (list, flagp, actp, optp)
Coverage:  42.667% (32/75)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/complete.def
Lines: 185-339
 42.667% (32/75)
array_to_string
Name: array_to_string
Prototype: char * array_to_string (a, sep, quoted)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/array.c
Lines: 992-1003
 42.857% (3/7)
async_redirect_stdin
Name: async_redirect_stdin
Prototype: static void async_redirect_stdin ()
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 524-537
 42.857% (3/7)
bgp_add
Name: bgp_add
Prototype: static struct pidstat * bgp_add (pid, status)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 799-843
 42.857% (3/7)
close_buffered_stream
Name: close_buffered_stream
Prototype: int close_buffered_stream (bp)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/input.c
Lines: 441-454
 42.857% (3/7)
disable_priv_mode
Name: disable_priv_mode
Prototype: void disable_priv_mode ()
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/shell.c
Lines: 1291-1310
 42.857% (3/7)
get_subst_pattern
Name: get_subst_pattern
Prototype: static char * get_subst_pattern (char *str, int *iptr, int delimiter, int is_rhs, int *lenptr)
Coverage:  42.857% (18/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/histexpand.c
Lines: 427-480
 42.857% (18/42)
getmaxgroups
Name: getmaxgroups
Prototype: int getmaxgroups ()
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/oslib.c
Lines: 252-278
 42.857% (3/7)
here_document_to_fd
Name: here_document_to_fd
Prototype: static int here_document_to_fd (redirectee, ri)
Coverage:  42.857% (9/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/redir.c
Lines: 451-512
 42.857% (9/21)
parse_and_execute_cleanup
Name: parse_and_execute_cleanup
Prototype: void parse_and_execute_cleanup ()
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/evalstring.c
Lines: 138-151
 42.857% (3/7)
print_select_list
Name: print_select_list
Prototype: static void print_select_list (list, list_len, max_elem_len, indices_len)
Coverage:  42.857% (15/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/execute_cmd.c
Lines: 3146-3192
 42.857% (15/35)
print_until_or_while
Name: print_until_or_while
Prototype: static void print_until_or_while (while_command, which)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/print_cmd.c
Lines: 764-781
 42.857% (3/7)
remove_alias
Name: remove_alias
Prototype: int remove_alias (name)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/alias.c
Lines: 173-194
 42.857% (3/7)
save_input_line_state
Name: save_input_line_state
Prototype: sh_input_line_state_t * save_input_line_state (ls)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/parse.y
Lines: 6625-6644
 42.857% (3/7)
sh_mktmpfp
Name: sh_mktmpfp
Prototype: FILE * sh_mktmpfp (nameroot, flags, namep)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/tmpfile.c
Lines: 231-247
 42.857% (3/7)
sh_unset_nodelay_mode
Name: sh_unset_nodelay_mode
Prototype: int sh_unset_nodelay_mode (fd)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/general.c
Lines: 438-466
 42.857% (3/7)
sv_editmode
Name: sv_editmode
Prototype: static int sv_editmode (const char *value)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/readline/bind.c
Lines: 1962-1980
 42.857% (3/7)
timeval_to_secs
Name: timeval_to_secs
Prototype: void timeval_to_secs (tvp, sp, sfp)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/timeval.c
Lines: 103-125
 42.857% (3/7)
u32cconv
Name: u32cconv
Prototype: int u32cconv (c, s)
Coverage:  42.857% (15/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/unicode.c
Lines: 242-333
 42.857% (15/35)
xtrace_print_assignment
Name: xtrace_print_assignment
Prototype: void xtrace_print_assignment (name, value, assign_list, xflags)
Coverage:  42.857% (12/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/print_cmd.c
Lines: 483-514
 42.857% (12/28)
yydestruct
Name: yydestruct
Prototype: static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/y.tab.c
Lines: 1637-1648
 42.857% (3/7)
redir_varvalue
Name: redir_varvalue
Prototype: static int redir_varvalue (redir)
Coverage:  43.243% (16/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/redir.c
Lines: 1369-1428
 43.243% (16/37)
wait_for
Name: wait_for
Prototype: int wait_for (pid)
Coverage:  43.363% (98/226)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 2698-3020
 43.363% (98/226)
adjust_shell_level
Name: adjust_shell_level
Prototype: void adjust_shell_level (change)
Coverage:  43.478% (10/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 784-828
 43.478% (10/23)
glob_dir_to_array
Name: glob_dir_to_array
Prototype: static char ** glob_dir_to_array (dir, array, flags)
Coverage:  43.478% (20/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/glob.c
Lines: 954-1031
 43.478% (20/46)
sh_modcase
Name: sh_modcase
Prototype: char * sh_modcase (string, pat, flags)
Coverage:  43.617% (82/188)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/casemod.c
Lines: 102-273
 43.617% (82/188)
printf_builtin
Name: printf_builtin
Prototype: int printf_builtin (list)
Coverage:  43.806% (343/783)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/printf.def
Lines: 239-693
 43.806% (343/783)
popd_builtin
Name: popd_builtin
Prototype: int popd_builtin (list)
Coverage:  43.810% (46/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/pushd.def
Lines: 318-405
 43.810% (46/105)
wait_for_any_job
Name: wait_for_any_job
Prototype: int wait_for_any_job (flags)
Coverage:  43.860% (25/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/jobs.c
Lines: 3072-3137
 43.860% (25/57)
absolute_pathname
Name: absolute_pathname
Prototype: int absolute_pathname (string)
Coverage:  44.000% (11/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/general.c
Lines: 697-714
 44.000% (11/25)
buffered_getchar
Name: buffered_getchar
Prototype: int buffered_getchar ()
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/input.c
Lines: 567-584
 44.444% (4/9)
get_bash_name
Name: get_bash_name
Prototype: static char * get_bash_name ()
Coverage:  44.444% (16/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/bash/src/variables.c
Lines: 711-782
 44.444% (16/36)
Page:<>1
Condition %:  0.000% (0/7)
...10
Condition %:  0.000% (0/27)
11
Condition %:  0.000% (0/1)
12
Condition %:  0.000% (0/4)
13
Condition %:  0.000% (0/4)
1415
Condition %:  44.444% (4/9)
16
Condition %:  50.000% (6/12)
17
Condition %:  59.643% (167/280)
18
Condition %:  66.667% (4/6)
...20
Condition %:  75.000% (3/4)
...28
Condition %: 100.000% (1/1)

Generated by Squish Coco 4.1.2