LCOV - code coverage report
Current view:
top level
-
basic
- util.c
(
source
/ functions)
Hit
Total
Coverage
Test:
systemd test coverage
Lines:
2125
3405
62.4 %
Date:
2015-07-29 18:47:03
Functions:
163
234
69.7 %
Function Name
Hit count
bind_remount_recursive
0
block_get_whole_disk
0
chattr_path
0
cmsg_close_all
0
container_get_leader
0
cpu_set_malloc
0
display_is_local
0
endswith_no_case
0
fchmod_and_fchown
0
fd_getcrtime_at
0
fd_is_temporary_fs
0
fgetxattrat_fake
0
flush_fd
0
fork_agent
0
freeze
0
fstype_is_network
0
get_mount_flags
0
get_shell
0
getlogname_malloc
0
glob_extend
0
http_etag_is_valid
0
in_gid
0
in_group
0
init_gettext
0
ioprio_class_from_string
0
ioprio_class_to_string_alloc
0
ip_tos_from_string
0
ip_tos_to_string_alloc
0
is_device_node
0
is_temporary_fs
0
kexec_loaded
0
log_facility_unshifted_to_string_alloc
0
log_level_to_string_alloc
0
lookup_uid
0
machine_name_is_valid
0
mkfifo_atomic
0
mknod_atomic
0
mount_move_root
0
namespace_enter
0
namespace_open
0
openpt_in_namespace
0
parse_crtime
0
personality_from_string
0
personality_to_string
0
physical_memory
0
pipe_eof
0
plymouth_running
0
read_attr_path
0
rename_noreplace
0
rename_process
0
reset_uid_gid
0
rmdir_parents
0
running_in_chroot
0
safe_atoi16
0
safe_atou16
0
sched_policy_to_string_alloc
0
setrlimit_closest
0
shall_restore_state
0
sigchld_code_from_string
0
sigchld_code_to_string
0
sigkill_wait
0
socket_from_display
0
symlink_atomic
0
symlink_idempotent
0
syslog_parse_priority
0
take_password_lock
0
umount_recursive
0
update_reboot_param_file
0
xbsearch_r
0
xescape
0
xopendirat
0
chmod_and_chown
1
close_all_fds
1
delete_chars
1
dirname_malloc
1
do_execute
1
execute_directories
1
parse_proc_cmdline
1
path_getcrtime
1
read_attr_fd
1
ascii_ellipsize_mem
2
ascii_strlower
2
chattr_fd
2
decchar
2
fchmod_umask
2
fd_getcrtime
2
fd_in_set
2
fflush_and_check
2
files_same
2
safe_atolli
2
tempfn_random
2
tempfn_random_child
2
unlink_noerrno
2
get_files_in_directory
3
get_group_creds
3
gid_to_name
3
log_facility_unshifted_from_string
3
null_or_empty_fd
3
sched_policy_from_string
3
get_proc_cmdline_key
4
open_tmpfile
4
strip_tab_ansi
4
tag_to_udev_node
4
unquote
4
search_and_fopen_nulstr
5
sparse_write
5
fstab_node_to_udev_node
6
on_ac_power
6
search_and_fopen
6
split_pair
6
strreplace
6
uid_to_name
6
base64mem
7
fd_wait_for_event
7
fopen_temporary
7
glob_exists
7
id128_is_valid
7
proc_cmdline
7
safe_atod
7
search_and_fopen_internal
7
shell_maybe_quote
7
unquote_many_words
7
chars_intersect
8
ellipsize
8
ellipsize_mem
8
getusername_malloc
8
safe_atou8
8
strshorten
8
touch
8
hexdump
9
tempfn_xxxxxx
9
first_word
10
greedy_realloc0
11
unbase64mem
11
unhexmem
11
hexmem
12
format_bytes
13
base32hexmem
14
octchar
14
touch_file
14
cescape
15
parse_mode
16
dir_is_empty
17
fd_nonblock
17
getpeercred
17
getpeersec
17
fd_cloexec
18
fd_setcrtime
18
get_user_creds
18
rlimit_from_string
18
rlimit_to_string
18
fd_inc_rcvbuf
20
fd_inc_sndbuf
20
same_fd
20
log_level_from_string
22
is_symlink
29
loop_read
30
loop_read_exact
30
unbase32hexmem
32
base64char
33
in_initrd
35
unoctchar
38
unbase64char
39
parse_size
47
string_has_cc
49
mkostemp_safe
57
nul_length
58
draw_special_char
61
is_locale_utf8
61
http_url_is_valid
67
documentation_url_is_valid
68
parse_boolean
68
base32hexchar
76
string_is_safe
83
cunescape_one
91
get_home_dir
105
filename_is_valid
120
strrep
127
parse_uid
131
unbase32hexchar
132
nulstr_contains
137
is_dir
140
memdup
143
strextend
168
free_and_strdup
171
unquote_first_word_and_warn
175
parse_pid
220
is_device_path
223
safe_atoi
256
loop_write
260
null_or_empty_path
292
unquote_first_word
350
fd_warn_permissions
370
null_or_empty
387
readlink_value
435
safe_atou
533
strcspn_escaped
568
undecchar
574
cunescape
595
cunescape_length
595
cunescape_length_with_prefix
595
dirent_is_file
725
ptsname_malloc
1000
safe_close_pair
1030
path_is_safe
1339
prot_from_flags
1365
strappend
1538
strnappend
1550
file_in_same_dir
3101
readlink_and_canonicalize
3261
readlink_and_make_absolute
3329
dirent_is_file_with_suffix
3455
readlink_malloc
3870
readlinkat_malloc
3872
cescape_char
5601
is_main_thread
7327
dirent_ensure_type
7811
strstrip
11217
strjoin
12647
string_table_lookup
13471
hidden_file
13943
close_many
15687
hidden_file_allow_backup
15922
safe_atollu
16072
close_nointr
19269
truncate_nl
20251
safe_close
28036
split
28540
unhexchar
37637
hexchar
40835
page_size
76022
greedy_realloc
137969
endswith
147209
streq_ptr
148709
Generated by:
LCOV version 1.11