-
Notifications
You must be signed in to change notification settings - Fork 16
/
lcov.format.txt
35 lines (24 loc) · 2.69 KB
/
lcov.format.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LCOV
VERSION ==> #1.13
ORIGIN ==> #Format output by gcov (gcc's code coverage tool)
#But used by many test coverage tools
SYNTAX ==> #Series of CATEGORY:VAL lines:
# - CATEGORY are on the left side below
# - FN|FNDA|BRDA|DA can be repeated for each file
TN #Arbitrary TEST_NAME, i.e. set of SF/end_of_record sections.
#Must be first line.
SF #Single file, as its absolute '/PATH'
#All the fields below are per-file, i.e. must be after a SF and before an end_of_record
end_of_record #End of single file
FN #LINE_NUM,FUNC_NAME (each function's location and name)
FNDA #NUM,FUNC_NAME (each function's number of executions)
FNF #NUM (number of functions)
FNH #NUM (number of functions executed at least once)
BRDA #LINE_NUM,BRANCH_ID,SIBLING_BRANCH_ID,NUM (each branch's location and number of executions ('-' if none))
BRF #NUM (number of branches)
BRH #NUM (number of branches executed at least once)
DA #LINE_NUM,NUM[,MD5_HASH] (each line's location and number of executions)
LF #NUM (number of lines)
LH #NUM (number of lines executed at least once)