-
Notifications
You must be signed in to change notification settings - Fork 13
/
kgenprog-config-template.toml
87 lines (64 loc) · 3.02 KB
/
kgenprog-config-template.toml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Specifies the path to the root directory of the target project.
# This parameter is mandatory.
root-dir = "path/to/root/dir"
# Specifies paths to "product" source code (i.e. main, non-test code),
# or to directories containing them.
# This parameter is mandatory.
src = ["path/to/product/source/code"]
# Specifies paths to test source code, or to directories containing them.
# This parameter is mandatory.
test = ["path/to/test/source/code"]
# Specifies class paths needed to build the target project.
#cp = [<class-path>, ...]
# Specifies fully qualified names of test classes executed during evaluation
# of variants (i.e. fix-candidates).
# By default, all tests are executed. It might take a terribly long time,
# so we recommend you specify test classes detecting a bug.
#exec-test = [<fqn>, ...]
# Specifies the path to working directory. By default, a working directory is
# created under system temporary directory (i.e. $TMPDIR on *nix, %TMP% on Windows)
# every kGenProg execution.
#working-dir = <path>
# Writes patches kGenProg generated to the specified directory.
#out-dir = <path>
# Selects the log level to be shown at least.
# Acceptable values are "OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE", or "ALL"
#log-level = <level>
# Specifies how many variants are generated in a generation by a mutation.
#mutation-generating-count = <num>
# Specifies how many variants are generated in a generation by a crossover.
#crossover-generating-count = <num>
# Specifies how many variants survive in a generation.
#headcount = <num>
# Terminates searching solutions when the specified number of generations reached.
#max-generation = <num>
# Terminates searching solutions when the specified time has passed.
#time-limit = <sec>
# Specifies time limit to build and test for each variant in second
#test-time-limit = <sec>
# Terminates searching solutions when the specified number of solutions are found.
#required-solutions = <num>
# Specifies random seed used by random number generator.
#random-seed = <num>
# Specifies the scope from which source code to be reused is selected.
# Acceptable values are "PROJECT", "PACKAGE" or "FILE"
#scope = <level>
# Specifies technique of fault localization.
# Acceptable values are "Ample", "Jaccard", "Ochiai", "Tarantula" or "Zoltar"
#fault-localization = <technique>
# Specifies mutation type.
# Acceptable values are "Simple" or "Heuristic"
#mutation-type = <type>
# Specifies crossover type.
# Acceptable values are "Random", "Single", "Uniform" or "Cascade"
#crossover-type = <type>
# Specifies first variant selection strategy for crossover.
# Acceptable values are "Elite" or "Random"
#crossover-first-variant = <strategy>
# Specifies second variant selection strategy for crossover.
# Acceptable values are "Elite", "GeneSimilarity", "Random" or "TestSimilarity"
#crossover-second-variant = <strategy>
# Writes patch files to the output directory specified in `-o` option.
#patch-output = true/false
# Records and writes generation process of all generated variants as JSON format.
#history-record = true/false