1
|
|
package net.bmahe.genetics4j.gp.math; |
2
|
|
|
3
|
|
import java.util.List; |
4
|
|
import java.util.Objects; |
5
|
|
import java.util.random.RandomGenerator; |
6
|
|
import java.util.stream.Collectors; |
7
|
|
import java.util.stream.IntStream; |
8
|
|
|
9
|
|
import org.apache.commons.lang3.Validate; |
10
|
|
|
11
|
|
import net.bmahe.genetics4j.gp.OperationFactories; |
12
|
|
import net.bmahe.genetics4j.gp.OperationFactory; |
13
|
|
|
14
|
|
public class Terminals { |
15
|
|
|
16
|
|
public final static String TYPE_COEFFICIENT = "Coefficient"; |
17
|
|
public final static String TYPE_COEFFICIENT_INT = "CoefficientInt"; |
18
|
|
public final static String TYPE_INPUT = "Input"; |
19
|
|
|
20
|
|
public final static String NAME_PI = "PI"; |
21
|
|
public final static String NAME_E = "E"; |
22
|
|
|
23
|
|
public static OperationFactory PI = OperationFactories.ofTerminal(NAME_PI, Double.class, () -> Math.PI); |
24
|
|
|
25
|
|
public static OperationFactory E = OperationFactories.ofTerminal(NAME_E, Double.class, () -> Math.E); |
26
|
|
|
27
|
|
public static OperationFactory Coefficient(final RandomGenerator randomGenerator, final double min, |
28
|
|
final double max) { |
29
|
3
1. Coefficient : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Coefficient → KILLED
2. Coefficient : Substituted 0 with 1 → KILLED
3. Coefficient : removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → KILLED
|
return OperationFactories.ofOperationSupplier(new Class[] {}, Double.class, () -> { |
30
|
|
|
31
|
4
1. lambda$Coefficient$2 : removed call to java/util/random/RandomGenerator::nextDouble → SURVIVED
2. lambda$Coefficient$2 : Replaced double addition with subtraction → SURVIVED
3. lambda$Coefficient$2 : Replaced double subtraction with addition → SURVIVED
4. lambda$Coefficient$2 : Replaced double multiplication with division → SURVIVED
|
final double value = randomGenerator.nextDouble() * (max - min) + min; |
32
|
|
|
33
|
1
1. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → KILLED
|
final var operationBuilder = ImmutableCoefficientOperation.builder(); |
34
|
|
|
35
|
2
1. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → KILLED
2. lambda$Coefficient$2 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → KILLED
|
operationBuilder.name(TYPE_COEFFICIENT) |
36
|
2
1. lambda$Coefficient$2 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → SURVIVED
2. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → KILLED
|
.prettyName(TYPE_COEFFICIENT + "[" + value + "]") |
37
|
2
1. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → KILLED
2. lambda$Coefficient$2 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → KILLED
|
.returnedType(Double.class) |
38
|
3
1. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → KILLED
2. lambda$Coefficient$2 : removed call to java/lang/Double::valueOf → KILLED
3. lambda$Coefficient$2 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → KILLED
|
.value(value); |
39
|
|
|
40
|
2
1. lambda$Coefficient$2 : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Coefficient$2 → KILLED
2. lambda$Coefficient$2 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → KILLED
|
return operationBuilder.build(); |
41
|
|
}); |
42
|
|
} |
43
|
|
|
44
|
|
public static OperationFactory CoefficientRounded(final RandomGenerator randomGenerator, final int min, |
45
|
|
final int max) { |
46
|
3
1. CoefficientRounded : removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → KILLED
2. CoefficientRounded : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::CoefficientRounded → KILLED
3. CoefficientRounded : Substituted 0 with 1 → KILLED
|
return OperationFactories.ofOperationSupplier(new Class[] {}, Double.class, () -> { |
47
|
|
|
48
|
4
1. lambda$CoefficientRounded$3 : Replaced integer subtraction with addition → SURVIVED
2. lambda$CoefficientRounded$3 : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
3. lambda$CoefficientRounded$3 : Replaced integer addition with subtraction → SURVIVED
4. lambda$CoefficientRounded$3 : replaced call to java/util/random/RandomGenerator::nextInt with argument → SURVIVED
|
final double value = randomGenerator.nextInt(max - min) + min; |
49
|
|
|
50
|
1
1. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → KILLED
|
final var operationBuilder = ImmutableCoefficientOperation.builder(); |
51
|
2
1. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → KILLED
2. lambda$CoefficientRounded$3 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → KILLED
|
operationBuilder.name(TYPE_COEFFICIENT) |
52
|
2
1. lambda$CoefficientRounded$3 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → SURVIVED
2. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → KILLED
|
.prettyName("CoefficientRounded[" + value + "]") |
53
|
2
1. lambda$CoefficientRounded$3 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → KILLED
2. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → KILLED
|
.returnedType(Double.class) |
54
|
3
1. lambda$CoefficientRounded$3 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → KILLED
2. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → KILLED
3. lambda$CoefficientRounded$3 : removed call to java/lang/Double::valueOf → KILLED
|
.value(value); |
55
|
|
|
56
|
2
1. lambda$CoefficientRounded$3 : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$CoefficientRounded$3 → KILLED
2. lambda$CoefficientRounded$3 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → KILLED
|
return operationBuilder.build(); |
57
|
|
}); |
58
|
|
} |
59
|
|
|
60
|
|
public static OperationFactory CoefficientInt(final RandomGenerator randomGenerator, final int min, final int max) { |
61
|
3
1. CoefficientInt : Substituted 0 with 1 → NO_COVERAGE
2. CoefficientInt : removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → NO_COVERAGE
3. CoefficientInt : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::CoefficientInt → NO_COVERAGE
|
return OperationFactories.ofOperationSupplier(new Class[] {}, Integer.class, () -> { |
62
|
|
|
63
|
4
1. lambda$CoefficientInt$4 : Replaced integer addition with subtraction → NO_COVERAGE
2. lambda$CoefficientInt$4 : removed call to java/util/random/RandomGenerator::nextInt → NO_COVERAGE
3. lambda$CoefficientInt$4 : replaced call to java/util/random/RandomGenerator::nextInt with argument → NO_COVERAGE
4. lambda$CoefficientInt$4 : Replaced integer subtraction with addition → NO_COVERAGE
|
final int value = randomGenerator.nextInt(max - min) + min; |
64
|
|
|
65
|
1
1. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → NO_COVERAGE
|
final var operationBuilder = ImmutableCoefficientOperation.builder(); |
66
|
2
1. lambda$CoefficientInt$4 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → NO_COVERAGE
2. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → NO_COVERAGE
|
operationBuilder.name(TYPE_COEFFICIENT_INT) |
67
|
2
1. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → NO_COVERAGE
2. lambda$CoefficientInt$4 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → NO_COVERAGE
|
.prettyName("CoefficientInt[" + value + "]") |
68
|
2
1. lambda$CoefficientInt$4 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → NO_COVERAGE
2. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → NO_COVERAGE
|
.returnedType(Integer.class) |
69
|
3
1. lambda$CoefficientInt$4 : removed call to java/lang/Integer::valueOf → NO_COVERAGE
2. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → NO_COVERAGE
3. lambda$CoefficientInt$4 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → NO_COVERAGE
|
.value(value); |
70
|
|
|
71
|
2
1. lambda$CoefficientInt$4 : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$CoefficientInt$4 → NO_COVERAGE
2. lambda$CoefficientInt$4 : removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → NO_COVERAGE
|
return operationBuilder.build(); |
72
|
|
}); |
73
|
|
} |
74
|
|
|
75
|
|
@SuppressWarnings({ "unchecked", "rawtypes" }) |
76
|
|
public static <T> OperationFactory Input(final int inputIndex, final Class<T> clazz) { |
77
|
|
Validate.isTrue(inputIndex >= 0); |
78
|
|
Objects.requireNonNull(clazz); |
79
|
|
|
80
|
3
1. Input : removed call to net/bmahe/genetics4j/gp/OperationFactories::of → NO_COVERAGE
2. Input : Substituted 0 with 1 → NO_COVERAGE
3. Input : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Input → NO_COVERAGE
|
return OperationFactories.of(new Class[] {}, clazz, (inputSpec) -> { |
81
|
1
1. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/InputSpec::types → NO_COVERAGE
|
final List<Class> types = inputSpec.types(); |
82
|
|
Validate.isTrue(types.get(inputIndex) |
83
|
1
1. lambda$Input$5 : removed call to java/lang/Class::isAssignableFrom → NO_COVERAGE
|
.isAssignableFrom(clazz)); |
84
|
|
|
85
|
1
1. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation::builder → NO_COVERAGE
|
final var operationBuilder = ImmutableInputOperation.builder(); |
86
|
2
1. lambda$Input$5 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name with receiver → NO_COVERAGE
2. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name → NO_COVERAGE
|
operationBuilder.name(TYPE_INPUT) |
87
|
2
1. lambda$Input$5 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName with receiver → NO_COVERAGE
2. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName → NO_COVERAGE
|
.prettyName(TYPE_INPUT + "[" + inputIndex + "]") |
88
|
2
1. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType → NO_COVERAGE
2. lambda$Input$5 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType with receiver → NO_COVERAGE
|
.returnedType(clazz) |
89
|
2
1. lambda$Input$5 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index with receiver → NO_COVERAGE
2. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index → NO_COVERAGE
|
.index(inputIndex); |
90
|
|
|
91
|
2
1. lambda$Input$5 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::build → NO_COVERAGE
2. lambda$Input$5 : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$5 → NO_COVERAGE
|
return operationBuilder.build(); |
92
|
|
}); |
93
|
|
} |
94
|
|
|
95
|
|
@SuppressWarnings({ "unchecked", "rawtypes" }) |
96
|
|
public static <T> OperationFactory Input(final RandomGenerator randomGenerator, final Class<T> clazz) { |
97
|
|
Objects.requireNonNull(randomGenerator); |
98
|
|
Objects.requireNonNull(clazz); |
99
|
|
|
100
|
3
1. Input : Substituted 0 with 1 → KILLED
2. Input : removed call to net/bmahe/genetics4j/gp/OperationFactories::of → KILLED
3. Input : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
|
return OperationFactories.of(new Class[] {}, clazz, (inputSpec) -> { |
101
|
1
1. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/InputSpec::types → KILLED
|
final List<Class> types = inputSpec.types(); |
102
|
3
1. lambda$Input$7 : Substituted 0 with 1 → KILLED
2. lambda$Input$7 : removed call to java/util/stream/IntStream::range → KILLED
3. lambda$Input$7 : removed call to java/util/List::size → KILLED
|
final List<Integer> candidates = IntStream.range(0, types.size()) |
103
|
5
1. lambda$Input$6 : replaced boolean return with true for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$6 → SURVIVED
2. lambda$Input$7 : replaced call to java/util/stream/IntStream::filter with receiver → SURVIVED
3. lambda$Input$6 : replaced boolean return with false for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$6 → KILLED
4. lambda$Input$6 : removed call to java/util/List::get → KILLED
5. lambda$Input$7 : removed call to java/util/stream/IntStream::filter → KILLED
|
.filter((i) -> types.get(i) |
104
|
1
1. lambda$Input$6 : removed call to java/lang/Class::isAssignableFrom → KILLED
|
.isAssignableFrom(clazz)) |
105
|
1
1. lambda$Input$7 : removed call to java/util/stream/IntStream::boxed → KILLED
|
.boxed() |
106
|
2
1. lambda$Input$7 : removed call to java/util/stream/Stream::collect → KILLED
2. lambda$Input$7 : removed call to java/util/stream/Collectors::toList → KILLED
|
.collect(Collectors.toList()); |
107
|
|
|
108
|
4
1. lambda$Input$7 : removed call to java/util/List::isEmpty → SURVIVED
2. lambda$Input$7 : removed conditional - replaced equality check with false → SURVIVED
3. lambda$Input$7 : negated conditional → KILLED
4. lambda$Input$7 : removed conditional - replaced equality check with true → KILLED
|
if (candidates.isEmpty()) { |
109
|
2
1. lambda$Input$7 : removed call to java/lang/String::valueOf → NO_COVERAGE
2. lambda$Input$7 : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
throw new IllegalArgumentException("No input with type " + clazz + " found"); |
110
|
|
} |
111
|
|
|
112
|
4
1. lambda$Input$7 : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. lambda$Input$7 : removed call to java/util/List::size → KILLED
3. lambda$Input$7 : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
4. lambda$Input$7 : removed call to java/util/List::get → KILLED
|
final Integer inputIdx = candidates.get(randomGenerator.nextInt(candidates.size())); |
113
|
|
|
114
|
1
1. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation::builder → KILLED
|
final var operationBuilder = ImmutableInputOperation.builder(); |
115
|
2
1. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name → KILLED
2. lambda$Input$7 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name with receiver → KILLED
|
operationBuilder.name(TYPE_INPUT) |
116
|
2
1. lambda$Input$7 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName with receiver → SURVIVED
2. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName → KILLED
|
.prettyName(TYPE_INPUT + "[" + inputIdx + "]") |
117
|
2
1. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType → KILLED
2. lambda$Input$7 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType with receiver → KILLED
|
.returnedType(clazz) |
118
|
3
1. lambda$Input$7 : removed call to java/lang/Integer::intValue → SURVIVED
2. lambda$Input$7 : replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index with receiver → KILLED
3. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index → KILLED
|
.index(inputIdx); |
119
|
|
|
120
|
2
1. lambda$Input$7 : removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::build → KILLED
2. lambda$Input$7 : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$7 → KILLED
|
return operationBuilder.build(); |
121
|
|
}); |
122
|
|
} |
123
|
|
|
124
|
|
public static OperationFactory InputDouble(final RandomGenerator randomGenerator) { |
125
|
2
1. InputDouble : removed call to net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
2. InputDouble : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::InputDouble → KILLED
|
return Input(randomGenerator, Double.class); |
126
|
|
} |
127
|
|
|
128
|
|
public static OperationFactory InputString(final RandomGenerator randomGenerator) { |
129
|
2
1. InputString : removed call to net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
2. InputString : replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::InputString → KILLED
|
return Input(randomGenerator, String.class); |
130
|
|
} |
131
|
|
} |
| | Mutations |
29 |
|
1.1 Location : Coefficient Killed by : net.bmahe.genetics4j.gp.program.ProgramHelperTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.ProgramHelperTest]/[method:pickRandomTerminalWithConstraintButNoTerminalAvailable()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Coefficient → KILLED
2.2 Location : Coefficient Killed by : net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generateWithRootType()] Substituted 0 with 1 → KILLED
3.3 Location : Coefficient Killed by : net.bmahe.genetics4j.gp.program.ProgramHelperTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.ProgramHelperTest]/[method:pickRandomTerminalWithConstraintButNoTerminalAvailable()] removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → KILLED
|
31 |
|
1.1 Location : lambda$Coefficient$2 Killed by : none removed call to java/util/random/RandomGenerator::nextDouble → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()]
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
2.2 Location : lambda$Coefficient$2 Killed by : none Replaced double addition with subtraction → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()]
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
3.3 Location : lambda$Coefficient$2 Killed by : none Replaced double subtraction with addition → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()]
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
4.4 Location : lambda$Coefficient$2 Killed by : none Replaced double multiplication with division → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()]
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
|
33 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → KILLED
|
35 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → KILLED
2.2 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → KILLED
|
36 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → KILLED
2.2 Location : lambda$Coefficient$2 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()]
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
|
37 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generateWithRootType()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → KILLED
2.2 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → KILLED
|
38 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → KILLED
2.2 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()] removed call to java/lang/Double::valueOf → KILLED
3.3 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generate()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → KILLED
|
40 |
|
1.1 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Coefficient$2 → KILLED
2.2 Location : lambda$Coefficient$2 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → KILLED
|
46 |
|
1.1 Location : CoefficientRounded Killed by : net.bmahe.genetics4j.gp.program.ProgramHelperTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.ProgramHelperTest]/[method:pickRandomTerminalWithConstraintButNoTerminalAvailable()] removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → KILLED
2.2 Location : CoefficientRounded Killed by : net.bmahe.genetics4j.gp.program.ProgramHelperTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.ProgramHelperTest]/[method:pickRandomTerminalWithConstraintButNoTerminalAvailable()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::CoefficientRounded → KILLED
3.3 Location : CoefficientRounded Killed by : net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generateWithRootType()] Substituted 0 with 1 → KILLED
|
48 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : none Replaced integer subtraction with addition → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generateWithRootType()]
2.2 Location : lambda$CoefficientRounded$3 Killed by : none removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generateWithRootType()]
3.3 Location : lambda$CoefficientRounded$3 Killed by : none Replaced integer addition with subtraction → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generateWithRootType()]
4.4 Location : lambda$CoefficientRounded$3 Killed by : none replaced call to java/util/random/RandomGenerator::nextInt with argument → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generateWithRootType()]
|
50 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → KILLED
|
51 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → KILLED
2.2 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → KILLED
|
52 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()]
- net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.GrowProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.StdProgramGeneratorTest]/[method:generate()]
- net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()]
- net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.program.FullProgramGeneratorTest]/[method:generateWithRootType()]
2.2 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → KILLED
|
53 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → KILLED
2.2 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → KILLED
|
54 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → KILLED
2.2 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → KILLED
3.3 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] removed call to java/lang/Double::valueOf → KILLED
|
56 |
|
1.1 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$CoefficientRounded$3 → KILLED
2.2 Location : lambda$CoefficientRounded$3 Killed by : net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()] removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → KILLED
|
61 |
|
1.1 Location : CoefficientInt Killed by : none Substituted 0 with 1 → NO_COVERAGE
2.2 Location : CoefficientInt Killed by : none removed call to net/bmahe/genetics4j/gp/OperationFactories::ofOperationSupplier → NO_COVERAGE
3.3 Location : CoefficientInt Killed by : none replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::CoefficientInt → NO_COVERAGE
|
63 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none Replaced integer addition with subtraction → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none removed call to java/util/random/RandomGenerator::nextInt → NO_COVERAGE
3.3 Location : lambda$CoefficientInt$4 Killed by : none replaced call to java/util/random/RandomGenerator::nextInt with argument → NO_COVERAGE
4.4 Location : lambda$CoefficientInt$4 Killed by : none Replaced integer subtraction with addition → NO_COVERAGE
|
65 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation::builder → NO_COVERAGE
|
66 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name with receiver → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::name → NO_COVERAGE
|
67 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::prettyName with receiver → NO_COVERAGE
|
68 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType with receiver → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::returnedType → NO_COVERAGE
|
69 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none removed call to java/lang/Integer::valueOf → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value → NO_COVERAGE
3.3 Location : lambda$CoefficientInt$4 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::value with receiver → NO_COVERAGE
|
71 |
|
1.1 Location : lambda$CoefficientInt$4 Killed by : none replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$CoefficientInt$4 → NO_COVERAGE
2.2 Location : lambda$CoefficientInt$4 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableCoefficientOperation$Builder::build → NO_COVERAGE
|
80 |
|
1.1 Location : Input Killed by : none removed call to net/bmahe/genetics4j/gp/OperationFactories::of → NO_COVERAGE
2.2 Location : Input Killed by : none Substituted 0 with 1 → NO_COVERAGE
3.3 Location : Input Killed by : none replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Input → NO_COVERAGE
|
81 |
|
1.1 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/InputSpec::types → NO_COVERAGE
|
83 |
|
1.1 Location : lambda$Input$5 Killed by : none removed call to java/lang/Class::isAssignableFrom → NO_COVERAGE
|
85 |
|
1.1 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation::builder → NO_COVERAGE
|
86 |
|
1.1 Location : lambda$Input$5 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name with receiver → NO_COVERAGE
2.2 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name → NO_COVERAGE
|
87 |
|
1.1 Location : lambda$Input$5 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName with receiver → NO_COVERAGE
2.2 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName → NO_COVERAGE
|
88 |
|
1.1 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType → NO_COVERAGE
2.2 Location : lambda$Input$5 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType with receiver → NO_COVERAGE
|
89 |
|
1.1 Location : lambda$Input$5 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index with receiver → NO_COVERAGE
2.2 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index → NO_COVERAGE
|
91 |
|
1.1 Location : lambda$Input$5 Killed by : none removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::build → NO_COVERAGE
2.2 Location : lambda$Input$5 Killed by : none replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$5 → NO_COVERAGE
|
100 |
|
1.1 Location : Input Killed by : net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.chromosomes.factory.ProgramTreeChromosomeFactoryTest]/[method:generateSimple()] Substituted 0 with 1 → KILLED
2.2 Location : Input Killed by : net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest]/[method:resolveNoResolver()] removed call to net/bmahe/genetics4j/gp/OperationFactories::of → KILLED
3.3 Location : Input Killed by : net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest]/[method:resolveNoResolver()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
|
101 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/InputSpec::types → KILLED
|
102 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.SimpleGPTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.SimpleGPTest]/[method:simple()] Substituted 0 with 1 → KILLED
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/stream/IntStream::range → KILLED
3.3 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/List::size → KILLED
|
103 |
|
1.1 Location : lambda$Input$6 Killed by : none replaced boolean return with true for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$6 → SURVIVED
Covering tests
2.2 Location : lambda$Input$7 Killed by : none replaced call to java/util/stream/IntStream::filter with receiver → SURVIVED
Covering tests
3.3 Location : lambda$Input$6 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced boolean return with false for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$6 → KILLED
4.4 Location : lambda$Input$6 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/List::get → KILLED
5.5 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/stream/IntStream::filter → KILLED
|
104 |
|
1.1 Location : lambda$Input$6 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/lang/Class::isAssignableFrom → KILLED
|
105 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/stream/IntStream::boxed → KILLED
|
106 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/stream/Stream::collect → KILLED
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/stream/Collectors::toList → KILLED
|
108 |
|
1.1 Location : lambda$Input$7 Killed by : none removed call to java/util/List::isEmpty → SURVIVED
Covering tests
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] negated conditional → KILLED
3.3 Location : lambda$Input$7 Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
4.4 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed conditional - replaced equality check with true → KILLED
|
109 |
|
1.1 Location : lambda$Input$7 Killed by : none removed call to java/lang/String::valueOf → NO_COVERAGE
2.2 Location : lambda$Input$7 Killed by : none removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
112 |
|
1.1 Location : lambda$Input$7 Killed by : none removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
Covering tests
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/List::size → KILLED
3.3 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
4.4 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to java/util/List::get → KILLED
|
114 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation::builder → KILLED
|
115 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name → KILLED
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::name with receiver → KILLED
|
116 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName → KILLED
2.2 Location : lambda$Input$7 Killed by : none replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::prettyName with receiver → SURVIVED
Covering tests
|
117 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType → KILLED
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::returnedType with receiver → KILLED
|
118 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index with receiver → KILLED
2.2 Location : lambda$Input$7 Killed by : none removed call to java/lang/Integer::intValue → SURVIVED
Covering tests
3.3 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::index → KILLED
|
120 |
|
1.1 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/ImmutableInputOperation$Builder::build → KILLED
2.2 Location : lambda$Input$7 Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::lambda$Input$7 → KILLED
|
125 |
|
1.1 Location : InputDouble Killed by : net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest]/[method:resolveNoResolver()] removed call to net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
2.2 Location : InputDouble Killed by : net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandlerTest]/[method:resolveNoResolver()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::InputDouble → KILLED
|
129 |
|
1.1 Location : InputString Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] removed call to net/bmahe/genetics4j/gp/math/Terminals::Input → KILLED
2.2 Location : InputString Killed by : net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.mutation.ProgramRandomPruneMutatorTest]/[method:noMutate()] replaced return value with null for net/bmahe/genetics4j/gp/math/Terminals::InputString → KILLED
|