LCOV - code coverage report
Current view: top level - journal - sd-journal.c (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 815 1724 47.3 %
Date: 2019-08-23 13:36:53 Functions: 58 99 58.6 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 631 1859 33.9 %

Function Name Sort by function name Hit count Sort by hit count
add_any_file 39264
add_current_paths 0
add_directory 5356
add_file_by_name 39264
add_root_directory 1268
add_search_paths 412
allocate_inotify 0
check_network 40620
compare_with_location 4005732
detach_location 1016
determine_change 0
directory_enumerate 1356
directory_open 1776
directory_watch 1356
dirent_is_id128_subdir 7128
dirent_is_journal_file 47332
dirname_is_machine_id 5252
field_is_valid 2428
file_has_type_prefix 0
file_type_wanted 39264
find_location_for_match 2596
find_location_with_matches 940
init_location 41504
journal_make_match_string 12
journal_new 848
journal_pid_changed 48548
journal_print_header 0
journal_put_error 0
lookup_field 0
match_free 240
match_free_if_empty 0
match_is_valid 124
match_make_string 192
match_new 240
next_beyond_location 4048140
next_for_match 6324
next_with_matches 41824
path_has_prefix 44560
process_inotify_event 0
process_q_overflow 0
real_journal_next 41556
real_journal_next_skip 16
reiterate_all_paths 0
remove_directory 1356
remove_file_by_name 0
remove_file_real 0
reset_location 60
return_data 1840
same_field 120
sd_journal_add_conjunction 4
sd_journal_add_disjunction 8
sd_journal_add_match 124
sd_journal_close 848
sd_journal_enumerate_data 0
sd_journal_enumerate_fields 0
sd_journal_enumerate_unique 804
sd_journal_flush_matches 856
sd_journal_get_catalog 0
sd_journal_get_catalog_for_message_id 0
sd_journal_get_cursor 2256
sd_journal_get_cutoff_monotonic_usec 0
sd_journal_get_cutoff_realtime_usec 0
sd_journal_get_data 2424
sd_journal_get_data_threshold 0
sd_journal_get_events 0
sd_journal_get_fd 0
sd_journal_get_monotonic_usec 0
sd_journal_get_realtime_usec 0
sd_journal_get_timeout 0
sd_journal_get_usage 0
sd_journal_has_persistent_files 0
sd_journal_has_runtime_files 0
sd_journal_next 41216
sd_journal_next_skip 8
sd_journal_open 412
sd_journal_open_container 0
sd_journal_open_directory 836
sd_journal_open_directory_fd 0
sd_journal_open_files 0
sd_journal_open_files_fd 0
sd_journal_previous 276
sd_journal_previous_skip 8
sd_journal_process 0
sd_journal_query_unique 4
sd_journal_reliable_fd 0
sd_journal_restart_data 0
sd_journal_restart_fields 0
sd_journal_restart_unique 4
sd_journal_seek_cursor 0
sd_journal_seek_head 36
sd_journal_seek_monotonic_usec 0
sd_journal_seek_realtime_usec 0
sd_journal_seek_tail 24
sd_journal_set_data_threshold 4
sd_journal_test_cursor 1288
sd_journal_wait 0
set_location 41504
skip_slash 0
track_file_disposition 39264

Generated by: LCOV version 1.14