LCOV - code coverage report
Current view:
top level
-
third_party/cmocka
- cmocka.c
(
source
/ functions)
Hit
Total
Coverage
Test:
coverage report for master 2f515e9b
Lines:
580
1510
38.4 %
Date:
2024-04-21 15:09:00
Functions:
73
125
58.4 %
Function Name
Hit count
_assert_in_range
433
_assert_in_set
15
_assert_int_equal
34805
_assert_int_not_equal
80
_assert_memory_equal
713
_assert_memory_not_equal
7
_assert_not_in_range
0
_assert_not_in_set
0
_assert_return_code
124
_assert_string_equal
694
_assert_string_not_equal
6
_assert_true
5606806
_check_expected
94
_cmocka_run_group_tests
85
_expect_any
0
_expect_check
109
_expect_function_call
0
_expect_in_range
0
_expect_in_set
0
_expect_memory
18
_expect_not_in_range
0
_expect_not_in_set
0
_expect_not_memory
0
_expect_not_string
0
_expect_not_value
0
_expect_string
2
_expect_value
39
_fail
0
_function_called
0
_mock
300
_run_group_tests
0
_run_test
0
_run_tests
0
_skip
0
_test_calloc
0
_test_free
0
_test_malloc
0
_test_realloc
0
_will_return
299
add_symbol_value
408
c_strmatch
0
c_strreplace
0
check_any
0
check_for_leftover_values
3370
check_for_leftover_values_list
1685
check_in_range
0
check_in_set
0
check_memory
12
check_not_in_range
0
check_not_in_set
0
check_not_memory
0
check_not_string
0
check_not_value
0
check_point_allocated_blocks
60
check_string
2
check_value
30
cm_get_output
1812
cm_print_error
0
cm_secdiff
29
cm_tspecdiff
821
cmocka_run_group_fixture
8
cmocka_run_one_test_or_fixture
1685
cmocka_run_one_tests
821
cmocka_set_message_output
85
cmocka_set_test_filter
0
cmprintf
1642
cmprintf_group_finish
85
cmprintf_group_finish_standard
0
cmprintf_group_finish_tap
0
cmprintf_group_finish_xml
0
cmprintf_group_start
85
cmprintf_group_start_standard
0
cmprintf_group_start_tap
0
cmprintf_standard
0
cmprintf_subunit
1642
cmprintf_tap
0
display_allocated_blocks
1339
exception_handler
0
exit_test
0
expect_memory_setup
18
expect_range
0
expect_set
0
fail_if_blocks_allocated
1339
fail_if_leftover_values
1685
free_allocated_blocks
0
free_symbol_map_value
306
free_value
36
get_allocated_blocks_list
120
get_symbol_value
488
initialize_source_location
522
initialize_testing
1685
integer_in_range_display_error
0
integer_not_in_range_display_error
0
libc_free
31
libc_malloc
2
libc_realloc
0
list_add
735
list_add_value
735
list_empty
348
list_find
1005
list_first
394
list_free
5361
list_initialize
263
list_remove
735
list_remove_free
735
memory_equal_display_error
725
memory_not_equal_display_error
7
mock_assert
0
print_error
14
print_message
1762
remove_always_return_values
3376
remove_always_return_values_from_list
1685
set_source_location
0
source_location_is_set
0
string_equal_display_error
696
string_not_equal_display_error
6
symbol_names_match
894
teardown_testing
1685
value_in_set_display_error
15
values_equal_display_error
109
values_not_equal_display_error
2
vcm_free_error
29
vcm_print_error
0
vprint_error
14
vprint_message
1762
Generated by:
LCOV version 1.14