LCOV - code coverage report
Current view:
top level
-
test
- test_util.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
3875
3921
98.8 %
Date:
2021-11-24 03:28:48
Functions:
100
100
100.0 %
Function Name
Hit count
test_tor_isinf
1
test_util_asprintf
1
test_util_calloc_check
1
test_util_clamp_double_to_int64
1
test_util_config_line
1
test_util_config_line_comment_character
1
test_util_config_line_crlf
1
test_util_config_line_escaped_content
1
test_util_config_line_partition
1
test_util_config_line_quotes
1
test_util_control_formats
1
test_util_datadir
1
test_util_dest_validation_edgecase
1
test_util_di_map
1
test_util_di_ops
1
test_util_eat_whitespace
1
test_util_envnames
1
test_util_escape_string_socks
1
test_util_expand_filename
1
test_util_find_str_at_start_of_line
1
test_util_format_dec_number
1
test_util_format_hex_number
1
test_util_format_time_interval
1
test_util_fraction
1
test_util_ftruncate
1
test_util_get_avail_disk_space
1
test_util_get_glob_opened_files
1
test_util_get_unquoted_path
1
test_util_glob
1
test_util_gzip_compression_bomb
1
test_util_hostname_validation
1
test_util_htonll
1
test_util_ipv4_validation
1
test_util_ipv6_validation
1
test_util_laplace
1
test_util_listdir
1
test_util_make_environment
1
test_util_map_anon
1
test_util_map_anon_nofork
1
test_util_mathlog
1
test_util_max_mem
1
test_util_memarea
1
test_util_memcpy_iftrue_timei
1
test_util_mmap
1
test_util_monotonic_time
1
test_util_monotonic_time_add_msec
1
test_util_monotonic_time_ratchet
1
test_util_monotonic_time_zero
1
test_util_n_bits_set
1
test_util_nowrap_math
1
test_util_num_cpus
1
test_util_parent_dir
1
test_util_parse_http_time
1
test_util_parse_integer
1
test_util_path_is_relative
1
test_util_pow2
1
test_util_pwdb
1
test_util_read_file_endlines
1
test_util_read_file_eof_one_loop_a
1
test_util_read_file_eof_one_loop_b
1
test_util_read_file_eof_tiny_limit
1
test_util_read_file_eof_two_loops
1
test_util_read_file_eof_two_loops_b
1
test_util_read_file_eof_zero_bytes
1
test_util_round_to_next_multiple_of
1
test_util_set_env_var_in_sl
1
test_util_sl_new_from_text_lines
1
test_util_sscanf
1
test_util_string_is_C_identifier
1
test_util_string_is_key_value
1
test_util_string_is_utf8
1
test_util_strmisc
1
test_util_strtok
1
test_util_time
1
test_util_tor_strreplacechar
1
test_util_touch_file
1
test_util_weak_random
1
test_util_write_chunks_to_file
1
test_util_write_str_if_changed
1
test_util_writepid
1
set_file_mtime
2
test_util_socket
2
test_util_socketpair
2
test_util_decompress_junk
3
test_util_decompress_junk_impl
3
mock_is_never_compression_bomb
5
test_util_decompress_dos
5
test_util_decompress_dos_impl
5
test_util_compress
6
test_util_compress_impl
6
test_util_decompress_concatenated
6
test_util_decompress_concatenated_impl
6
test_util_read_until_eof_impl
6
smartlist_new_from_text_lines
8
fd_is_cloexec
12
fd_is_nonblocking
12
compression_test_cleanup
20
compression_test_setup
20
test_util_compress_stream_impl
24
tor_timegm_wrapper
52
Generated by:
LCOV version 1.14