LCOV - code coverage report
Current view:
top level
-
glib/glib/tests
- mainloop.c
(
source
/ functions)
Hit
Total
Coverage
Test:
unnamed
Lines:
1147
1198
95.7 %
Date:
2024-05-07 05:15:23
Functions:
75
82
91.5 %
Branches:
136
176
77.3 %
Function Name
Hit count
add_idle_source
53
add_source_callback
1
assert_main_context_state
14
assert_not_reached_callback
0
call_func
1
cb
0
check
0
check_loop_run
1
count_calls
32
counter_source_dispatch
44
counter_source_new
16
counter_source_prepare
11304
dispatch
0
dispatch_loop_run
1
dispatch_source_with_source
3
dispose
3
fill_a_pipe
1
finalize
3
finalize_source_with_source
26
flag_bool
5
func
3
main
1
nfds_in_cb
1
nfds_out_cb
1
nfds_out_low_cb
0
nsources_cb
0
on_source_fired_cb
53
once_cb
3
prepare
0
prepare_loop_run
1
quit_loop
9
read_bytes
131133
ready_time_dispatch
5
return_true
4
run_context
1
run_inner_loop
6
shuffle_nsources
2
swap_sources
2
test_blocked_child_sources
1
test_child_sources
1
test_invoke
1
test_maincontext_basic
1
test_maincontext_idle_once
1
test_maincontext_source_finalization
1
test_maincontext_source_finalization_from_dispatch
3
test_maincontext_source_finalization_from_source
10
test_maincontext_timeout_once
1
test_mainloop_basic
1
test_mainloop_overflow
1
test_mainloop_wait
1
test_nfds
1
test_nsources_different_priority
1
test_nsources_same_priority
1
test_nsources_threadpool
1
test_ownerless_polling
2
test_priorities
1
test_ready_time
1
test_recursive_child_sources
1
test_recursive_loop_child_sources
1
test_remove_invalid
1
test_source_time
1
test_source_unix_fd_api
1
test_steal_fd
1
test_swapping_child_sources
1
test_timeouts
1
test_unix_fd
1
test_unix_fd_priority
1
test_unix_fd_source
1
test_unix_file_poll
1
test_unref_while_pending
1
test_wakeup
1
thread_func
1
thread_pool_attach_func
50000
thread_pool_destroy_func
50000
threadf
2
timeout1_callback
2
timeout2_callback
1
timeout_cb
2
trivial_finalize
1
trivial_prepare
1
unixfd_quit_loop
1
write_bytes
131073
Generated by:
LCOV version 1.14