| 1 |
# Profile of a small source code project. Use with mkinfo to generate fake test |
| 2 |
# source code and coverage data. |
| 3 |
|
| 4 |
[tests] |
| 5 |
# List of test names |
| 6 |
names = test1 test2 |
| 7 |
|
| 8 |
[files] |
| 9 |
# Create this many files |
| 10 |
numfiles = 5 |
| 11 |
# Generate paths from these components (top/sub/subsub/prefix_suffix.ext) |
| 12 |
top = lib tools test bin img scripts |
| 13 |
sub = build debug release include target sys config |
| 14 |
subsub = work www utils gui info log basic |
| 15 |
prefix = main misc report tune mem list |
| 16 |
suffix = a b c top work proto final fast |
| 17 |
ext = .c .h |
| 18 |
|
| 19 |
[lines] |
| 20 |
# Generate line coverage data |
| 21 |
enabled = 1 |
| 22 |
# Line coverage rate |
| 23 |
covered = 80 |
| 24 |
# Percentage of lines covered |
| 25 |
instrumented = 50 |
| 26 |
# Maximum number of lines per file |
| 27 |
maxlines = 500 |
| 28 |
|
| 29 |
[functions] |
| 30 |
# Generate function coverage data |
| 31 |
enabled = 1 |
| 32 |
# Function coverage rate |
| 33 |
covered = 60 |
| 34 |
# Percent of instrumented lines containing function definitions |
| 35 |
perinstrumented = 5 |
| 36 |
# Generate function names from these components (verb_adj_noun) |
| 37 |
verb = get set find read write stat add sub combine |
| 38 |
adj = first last best min max avg |
| 39 |
noun = bit byte file str num obj data |
| 40 |
|
| 41 |
[branches] |
| 42 |
# Generate branch coverage data |
| 43 |
enabled = 1 |
| 44 |
# Branch coverage rate |
| 45 |
covered = 20 |
| 46 |
# Percent of instrumented lines containing branches |
| 47 |
perinstrumented = 50 |
| 48 |
# List of blocks to use |
| 49 |
blocks = 0 4294967295 |
| 50 |
# Distribution of number of branches per block (num:probability) |
| 51 |
branchdist = 2:50 3:45 50:5 |