ProgramChromosomeCombinator.java

1
package net.bmahe.genetics4j.gp.combination;
2
3
import java.util.ArrayDeque;
4
import java.util.ArrayList;
5
import java.util.Collections;
6
import java.util.Deque;
7
import java.util.HashMap;
8
import java.util.HashSet;
9
import java.util.List;
10
import java.util.Map;
11
import java.util.Set;
12
import java.util.random.RandomGenerator;
13
import java.util.stream.Collectors;
14
15
import org.apache.commons.lang3.Validate;
16
17
import net.bmahe.genetics4j.core.chromosomes.Chromosome;
18
import net.bmahe.genetics4j.core.chromosomes.TreeChromosome;
19
import net.bmahe.genetics4j.core.chromosomes.TreeNode;
20
import net.bmahe.genetics4j.core.combination.ChromosomeCombinator;
21
import net.bmahe.genetics4j.core.spec.AbstractEAConfiguration;
22
import net.bmahe.genetics4j.gp.Operation;
23
24
final class ProgramChromosomeCombinator<T extends Comparable<T>> implements ChromosomeCombinator<T> {
25
26
	private final RandomGenerator randomGenerator;
27
28
	public ProgramChromosomeCombinator(final RandomGenerator _randomGenerator) {
29
		Validate.notNull(_randomGenerator);
30
31 1 1. <init> : Removed assignment to member variable randomGenerator → KILLED
		this.randomGenerator = _randomGenerator;
32
	}
33
34
	@SuppressWarnings("rawtypes")
35
	protected Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNode(final TreeNode<Operation<?>> root) {
36
		Validate.notNull(root);
37
38 1 1. returnedTypeToNode : removed call to java/util/HashMap::<init> → KILLED
		final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeIndex = new HashMap<>();
39
40 1 1. returnedTypeToNode : removed call to java/util/ArrayDeque::<init> → KILLED
		final Deque<TreeNode<Operation<?>>> nodes = new ArrayDeque<>();
41 1 1. returnedTypeToNode : removed call to java/util/Deque::add → KILLED
		nodes.add(root);
42
43 4 1. returnedTypeToNode : removed call to java/util/Deque::isEmpty → KILLED
2. returnedTypeToNode : removed conditional - replaced equality check with false → KILLED
3. returnedTypeToNode : removed conditional - replaced equality check with true → KILLED
4. returnedTypeToNode : negated conditional → KILLED
		while (nodes.isEmpty() == false) {
44 1 1. returnedTypeToNode : removed call to java/util/Deque::remove → KILLED
			final TreeNode<Operation<?>> node = nodes.remove();
45
46 1 1. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getData → KILLED
			final Operation<?> operation = node.getData();
47 1 1. returnedTypeToNode : removed call to net/bmahe/genetics4j/gp/Operation::returnedType → KILLED
			final Class returnedType = operation.returnedType();
48
49 4 1. returnedTypeToNode : removed call to java/util/Map::computeIfAbsent → KILLED
2. lambda$returnedTypeToNode$0 : replaced return value with Collections.emptyList for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::lambda$returnedTypeToNode$0 → KILLED
3. returnedTypeToNode : replaced call to java/util/Map::computeIfAbsent with argument → KILLED
4. lambda$returnedTypeToNode$0 : removed call to java/util/ArrayList::<init> → KILLED
			returnedTypeIndex.computeIfAbsent(returnedType, k -> new ArrayList<>());
50 3 1. returnedTypeToNode : removed call to java/util/List::add → KILLED
2. returnedTypeToNode : removed call to java/util/Map::get → KILLED
3. returnedTypeToNode : replaced call to java/util/Map::get with argument → KILLED
			returnedTypeIndex.get(returnedType).add(node);
51
52 9 1. returnedTypeToNode : removed conditional - replaced equality check with true → SURVIVED
2. returnedTypeToNode : removed call to java/util/List::isEmpty → SURVIVED
3. returnedTypeToNode : removed conditional - replaced equality check with true → SURVIVED
4. returnedTypeToNode : negated conditional → KILLED
5. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
6. returnedTypeToNode : removed conditional - replaced equality check with false → KILLED
7. returnedTypeToNode : negated conditional → KILLED
8. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
9. returnedTypeToNode : removed conditional - replaced equality check with false → KILLED
			if (node.getChildren() != null && node.getChildren().isEmpty() == false) {
53 2 1. returnedTypeToNode : removed call to java/util/Deque::addAll → KILLED
2. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
				nodes.addAll(node.getChildren());
54
			}
55
		}
56
57 1 1. returnedTypeToNode : replaced return value with Collections.emptyMap for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		return returnedTypeIndex;
58
	}
59
60
	protected TreeNode<Operation<?>> copyAndReplace(final TreeNode<Operation<?>> root,
61
			final TreeNode<Operation<?>> replaced, final TreeNode<Operation<?>> replacement) {
62
		Validate.notNull(root);
63
		Validate.notNull(replaced);
64
		Validate.notNull(replacement);
65
66 3 1. copyAndReplace : removed conditional - replaced equality check with true → KILLED
2. copyAndReplace : negated conditional → KILLED
3. copyAndReplace : removed conditional - replaced equality check with false → KILLED
		if (root == replaced) {
67 3 1. copyAndReplace : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → SURVIVED
2. copyAndReplace : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
3. copyAndReplace : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
			return copyAndReplace(replacement, replaced, replacement);
68
		}
69
70 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getData → KILLED
		final Operation<?> data = root.getData();
71 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
		final List<TreeNode<Operation<?>>> children = root.getChildren();
72
73 3 1. copyAndReplace : removed conditional - replaced equality check with false → SURVIVED
2. copyAndReplace : removed conditional - replaced equality check with true → KILLED
3. copyAndReplace : negated conditional → KILLED
		final List<TreeNode<Operation<?>>> copiedChildren = children == null ? null
74 8 1. copyAndReplace : removed call to java/util/List::stream → KILLED
2. copyAndReplace : removed call to java/util/stream/Stream::collect → KILLED
3. lambda$copyAndReplace$1 : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::lambda$copyAndReplace$1 → KILLED
4. lambda$copyAndReplace$1 : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → KILLED
5. lambda$copyAndReplace$1 : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
6. copyAndReplace : replaced call to java/util/stream/Stream::map with receiver → KILLED
7. copyAndReplace : removed call to java/util/stream/Collectors::toList → KILLED
8. copyAndReplace : removed call to java/util/stream/Stream::map → KILLED
				: children.stream().map(child -> copyAndReplace(child, replaced, replacement)).collect(Collectors.toList());
75
76 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::<init> → KILLED
		final TreeNode<Operation<?>> copy = new TreeNode<>(data);
77 4 1. copyAndReplace : removed conditional - replaced equality check with true → KILLED
2. copyAndReplace : removed conditional - replaced equality check with false → KILLED
3. copyAndReplace : removed call to java/util/List::isEmpty → KILLED
4. copyAndReplace : negated conditional → KILLED
		if (children.isEmpty() == false) {
78 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::addChildren → KILLED
			copy.addChildren(copiedChildren);
79
		}
80
81 1 1. copyAndReplace : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
		return copy;
82
	}
83
84
	@SuppressWarnings("rawtypes")
85
	private final TreeNode<Operation<?>> mix(final TreeNode<Operation<?>> rootA, final TreeNode<Operation<?>> rootB,
86
			final Set<Class> acceptableClasses, final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA,
87
			final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) {
88
		Validate.notNull(rootA);
89
		Validate.notNull(rootB);
90
		Validate.notNull(acceptableClasses);
91
		Validate.isTrue(acceptableClasses.isEmpty() == false);
92
		Validate.notNull(returnedTypeToNodeA);
93
		Validate.notNull(returnedTypeToNodeB);
94
95 3 1. mix : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. mix : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
3. mix : removed call to java/util/Set::size → KILLED
		final int targetClassIndex = randomGenerator.nextInt(acceptableClasses.size());
96 5 1. mix : replaced call to java/util/stream/Stream::skip with receiver → SURVIVED
2. mix : removed call to java/util/Set::stream → KILLED
3. mix : removed call to java/util/Optional::get → KILLED
4. mix : removed call to java/util/stream/Stream::skip → KILLED
5. mix : removed call to java/util/stream/Stream::findFirst → KILLED
		final Class targetClass = acceptableClasses.stream().skip(targetClassIndex).findFirst().get();
97
98 2 1. mix : replaced call to java/util/Map::get with argument → KILLED
2. mix : removed call to java/util/Map::get → KILLED
		final List<TreeNode<Operation<?>>> candidateReplacedNodes = returnedTypeToNodeA.get(targetClass);
99
		final TreeNode<Operation<?>> replacedNode = candidateReplacedNodes
100 4 1. mix : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. mix : removed call to java/util/List::get → KILLED
3. mix : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
4. mix : removed call to java/util/List::size → KILLED
				.get(randomGenerator.nextInt(candidateReplacedNodes.size()));
101
102 2 1. mix : removed call to java/util/Map::get → KILLED
2. mix : replaced call to java/util/Map::get with argument → KILLED
		final List<TreeNode<Operation<?>>> candidateReplacementNodes = returnedTypeToNodeB.get(targetClass);
103
		final TreeNode<Operation<?>> replacementNode = candidateReplacementNodes
104 4 1. mix : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. mix : removed call to java/util/List::size → KILLED
3. mix : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
4. mix : removed call to java/util/List::get → KILLED
				.get(randomGenerator.nextInt(candidateReplacementNodes.size()));
105
106 3 1. mix : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → SURVIVED
2. mix : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED
3. mix : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
		return copyAndReplace(rootA, replacedNode, replacementNode);
107
	}
108
109
	@SuppressWarnings({ "rawtypes", "unchecked" })
110
	@Override
111
	public List<Chromosome> combine(final AbstractEAConfiguration<T> eaConfiguration, final Chromosome chromosome1,
112
			final T firstParentFitness, final Chromosome chromosome2, final T secondParentFitness) {
113
		Validate.notNull(chromosome1);
114
		Validate.notNull(chromosome2);
115
116 3 1. combine : removed conditional - replaced equality check with false → SURVIVED
2. combine : removed conditional - replaced equality check with true → KILLED
3. combine : negated conditional → KILLED
		if (chromosome1 instanceof TreeChromosome<?> == false) {
117
			throw new IllegalArgumentException(
118 3 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE
2. combine : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
3. combine : removed call to java/lang/Class::getSimpleName → NO_COVERAGE
					"This mutator does not support chromosome of type " + chromosome1.getClass().getSimpleName());
119
		}
120
121 3 1. combine : removed conditional - replaced equality check with false → SURVIVED
2. combine : negated conditional → KILLED
3. combine : removed conditional - replaced equality check with true → KILLED
		if (chromosome2 instanceof TreeChromosome<?> == false) {
122
			throw new IllegalArgumentException(
123 3 1. combine : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
2. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE
3. combine : removed call to java/lang/Class::getSimpleName → NO_COVERAGE
					"This mutator does not support chromosome of type " + chromosome2.getClass().getSimpleName());
124
		}
125
126 3 1. combine : removed conditional - replaced equality check with false → SURVIVED
2. combine : negated conditional → KILLED
3. combine : removed conditional - replaced equality check with true → KILLED
		if (chromosome1 == chromosome2) {
127 1 1. combine : removed call to java/util/Collections::emptyList → NO_COVERAGE
			return Collections.emptyList();
128
		}
129
130
		final TreeChromosome<Operation<?>> treeChromosome1 = (TreeChromosome<Operation<?>>) chromosome1;
131 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED
		final TreeNode<Operation<?>> root1 = treeChromosome1.getRoot();
132 1 1. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNode1 = returnedTypeToNode(root1);
133
134
		final TreeChromosome<Operation<?>> treeChromosome2 = (TreeChromosome<Operation<?>>) chromosome2;
135 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED
		final TreeNode<Operation<?>> root2 = treeChromosome2.getRoot();
136 1 1. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNode2 = returnedTypeToNode(root2);
137
138 1 1. combine : removed call to java/util/HashSet::<init> → KILLED
		final Set<Class> acceptableClasses = new HashSet<>();
139 2 1. combine : removed call to java/util/Map::keySet → KILLED
2. combine : removed call to java/util/Set::addAll → KILLED
		acceptableClasses.addAll(returnedTypeToNode1.keySet());
140 2 1. combine : removed call to java/util/Set::retainAll → KILLED
2. combine : removed call to java/util/Map::keySet → KILLED
		acceptableClasses.retainAll(returnedTypeToNode2.keySet());
141
142 1 1. combine : removed call to java/util/ArrayList::<init> → KILLED
		final List<Chromosome> children = new ArrayList<>();
143
144 4 1. combine : removed conditional - replaced equality check with false → KILLED
2. combine : removed conditional - replaced equality check with true → KILLED
3. combine : removed call to java/util/Set::isEmpty → KILLED
4. combine : negated conditional → KILLED
		if (acceptableClasses.isEmpty() == false) {
145
146 2 1. combine : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix with argument → SURVIVED
2. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED
			final TreeNode<Operation<?>> child1 = mix(
147
					root1,
148
						root2,
149
						acceptableClasses,
150
						returnedTypeToNode1,
151
						returnedTypeToNode2);
152 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
			final TreeChromosome<Operation<?>> child1Chromosome = new TreeChromosome<Operation<?>>(child1);
153
154 2 1. combine : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix with argument → SURVIVED
2. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED
			final TreeNode<Operation<?>> child2 = mix(
155
					root2,
156
						root1,
157
						acceptableClasses,
158
						returnedTypeToNode2,
159
						returnedTypeToNode1);
160 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
			final TreeChromosome<Operation<?>> child2Chromosome = new TreeChromosome<Operation<?>>(child2);
161
162 1 1. combine : removed call to java/util/List::add → KILLED
			children.add(child1Chromosome);
163 1 1. combine : removed call to java/util/List::add → KILLED
			children.add(child2Chromosome);
164
		}
165
166 1 1. combine : replaced return value with Collections.emptyList for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::combine → KILLED
		return children;
167
	}
168
}

Mutations

31

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
Removed assignment to member variable randomGenerator → KILLED

38

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/HashMap::<init> → KILLED

40

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/ArrayDeque::<init> → KILLED

41

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Deque::add → KILLED

43

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Deque::isEmpty → KILLED

2.2
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed conditional - replaced equality check with true → KILLED

4.4
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
negated conditional → KILLED

44

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Deque::remove → KILLED

46

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getData → KILLED

47

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to net/bmahe/genetics4j/gp/Operation::returnedType → KILLED

49

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Map::computeIfAbsent → KILLED

2.2
Location : lambda$returnedTypeToNode$0
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::lambda$returnedTypeToNode$0 → KILLED

3.3
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
replaced call to java/util/Map::computeIfAbsent with argument → KILLED

4.4
Location : lambda$returnedTypeToNode$0
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/ArrayList::<init> → KILLED

50

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/List::add → KILLED

2.2
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Map::get → KILLED

3.3
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
replaced call to java/util/Map::get with argument → KILLED

52

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
negated conditional → KILLED

2.2
Location : returnedTypeToNode
Killed by : none
removed conditional - replaced equality check with true → SURVIVED
Covering tests

3.3
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED

4.4
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : returnedTypeToNode
Killed by : none
removed call to java/util/List::isEmpty → SURVIVED Covering tests

6.6
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
negated conditional → KILLED

7.7
Location : returnedTypeToNode
Killed by : none
removed conditional - replaced equality check with true → SURVIVED Covering tests

8.8
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED

9.9
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed conditional - replaced equality check with false → KILLED

53

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to java/util/Deque::addAll → KILLED

2.2
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED

57

1.1
Location : returnedTypeToNode
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
replaced return value with Collections.emptyMap for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED

66

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
negated conditional → KILLED

3.3
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed conditional - replaced equality check with false → KILLED

67

1.1
Location : copyAndReplace
Killed by : none
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → SURVIVED
Covering tests

2.2
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

3.3
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

70

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getData → KILLED

71

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED

73

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : copyAndReplace
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

3.3
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
negated conditional → KILLED

74

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to java/util/List::stream → KILLED

2.2
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to java/util/stream/Stream::collect → KILLED

3.3
Location : lambda$copyAndReplace$1
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::lambda$copyAndReplace$1 → KILLED

4.4
Location : lambda$copyAndReplace$1
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → KILLED

5.5
Location : lambda$copyAndReplace$1
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

6.6
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
replaced call to java/util/stream/Stream::map with receiver → KILLED

7.7
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to java/util/stream/Collectors::toList → KILLED

8.8
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to java/util/stream/Stream::map → KILLED

76

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::<init> → KILLED

77

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to java/util/List::isEmpty → KILLED

4.4
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
negated conditional → KILLED

78

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::addChildren → KILLED

81

1.1
Location : copyAndReplace
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:copyAndReplace()]
replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

95

1.1
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Set::size → KILLED

3.3
Location : mix
Killed by : none
removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
Covering tests

96

1.1
Location : mix
Killed by : none
replaced call to java/util/stream/Stream::skip with receiver → SURVIVED
Covering tests

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Set::stream → KILLED

3.3
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Optional::get → KILLED

4.4
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/stream/Stream::skip → KILLED

5.5
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/stream/Stream::findFirst → KILLED

98

1.1
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced call to java/util/Map::get with argument → KILLED

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Map::get → KILLED

100

1.1
Location : mix
Killed by : none
removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
Covering tests

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::get → KILLED

3.3
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED

4.4
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::size → KILLED

102

1.1
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Map::get → KILLED

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced call to java/util/Map::get with argument → KILLED

104

1.1
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::size → KILLED

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED

3.3
Location : mix
Killed by : none
removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
Covering tests

4.4
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::get → KILLED

106

1.1
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED

2.2
Location : mix
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

3.3
Location : mix
Killed by : none
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → SURVIVED
Covering tests

116

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : combine
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

3.3
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
negated conditional → KILLED

118

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE

3.3
Location : combine
Killed by : none
removed call to java/lang/Class::getSimpleName → NO_COVERAGE

121

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
negated conditional → KILLED

2.2
Location : combine
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

3.3
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed conditional - replaced equality check with true → KILLED

123

1.1
Location : combine
Killed by : none
removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE

3.3
Location : combine
Killed by : none
removed call to java/lang/Class::getSimpleName → NO_COVERAGE

126

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
negated conditional → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : combine
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

127

1.1
Location : combine
Killed by : none
removed call to java/util/Collections::emptyList → NO_COVERAGE

131

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED

132

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED

135

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED

136

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED

138

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/HashSet::<init> → KILLED

139

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/Map::keySet → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/Set::addAll → KILLED

140

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/Set::retainAll → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/Map::keySet → KILLED

142

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/ArrayList::<init> → KILLED

144

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed conditional - replaced equality check with false → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
removed call to java/util/Set::isEmpty → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:combineNoCommonTypes()]
negated conditional → KILLED

146

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED

2.2
Location : combine
Killed by : none
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix with argument → SURVIVED
Covering tests

152

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
Covering tests

154

1.1
Location : combine
Killed by : none
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix with argument → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED

160

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
Covering tests

162

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::add → KILLED

163

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
removed call to java/util/List::add → KILLED

166

1.1
Location : combine
Killed by : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:simpleCombine()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::combine → KILLED

Active mutators

Tests examined


Report generated by PIT 1.20.3