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 2 1. returnedTypeToNode : removed call to java/util/Map::get → KILLED
2. returnedTypeToNode : replaced call to java/util/Map::get with argument → KILLED
			returnedTypeIndex.get(returnedType)
51 1 1. returnedTypeToNode : removed call to java/util/List::add → KILLED
					.add(node);
52
53 5 1. returnedTypeToNode : removed conditional - replaced equality check with true → SURVIVED
2. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
3. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
4. returnedTypeToNode : removed conditional - replaced equality check with false → KILLED
5. returnedTypeToNode : negated conditional → KILLED
			if (node.getChildren() != null && node.getChildren()
54 4 1. returnedTypeToNode : removed conditional - replaced equality check with true → SURVIVED
2. returnedTypeToNode : removed call to java/util/List::isEmpty → SURVIVED
3. returnedTypeToNode : negated conditional → KILLED
4. returnedTypeToNode : removed conditional - replaced equality check with false → KILLED
					.isEmpty() == false) {
55 2 1. returnedTypeToNode : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
2. returnedTypeToNode : removed call to java/util/Deque::addAll → KILLED
				nodes.addAll(node.getChildren());
56
			}
57
		}
58
59 1 1. returnedTypeToNode : replaced return value with Collections.emptyMap for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		return returnedTypeIndex;
60
	}
61
62
	protected TreeNode<Operation<?>> copyAndReplace(final TreeNode<Operation<?>> root,
63
			final TreeNode<Operation<?>> replaced, final TreeNode<Operation<?>> replacement) {
64
		Validate.notNull(root);
65
		Validate.notNull(replaced);
66
		Validate.notNull(replacement);
67
68 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) {
69 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);
70
		}
71
72 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getData → KILLED
		final Operation<?> data = root.getData();
73 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED
		final List<TreeNode<Operation<?>>> children = root.getChildren();
74
75 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
76 1 1. copyAndReplace : removed call to java/util/List::stream → KILLED
				: children.stream()
77 5 1. copyAndReplace : replaced call to java/util/stream/Stream::map with receiver → KILLED
2. lambda$copyAndReplace$1 : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::lambda$copyAndReplace$1 → KILLED
3. lambda$copyAndReplace$1 : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → KILLED
4. lambda$copyAndReplace$1 : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
5. copyAndReplace : removed call to java/util/stream/Stream::map → KILLED
						.map(child -> copyAndReplace(child, replaced, replacement))
78 2 1. copyAndReplace : removed call to java/util/stream/Collectors::toList → KILLED
2. copyAndReplace : removed call to java/util/stream/Stream::collect → KILLED
						.collect(Collectors.toList());
79
80 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::<init> → KILLED
		final TreeNode<Operation<?>> copy = new TreeNode<>(data);
81 4 1. copyAndReplace : negated conditional → KILLED
2. copyAndReplace : removed conditional - replaced equality check with false → KILLED
3. copyAndReplace : removed call to java/util/List::isEmpty → KILLED
4. copyAndReplace : removed conditional - replaced equality check with true → KILLED
		if (children.isEmpty() == false) {
82 1 1. copyAndReplace : removed call to net/bmahe/genetics4j/core/chromosomes/TreeNode::addChildren → KILLED
			copy.addChildren(copiedChildren);
83
		}
84
85 1 1. copyAndReplace : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
		return copy;
86
	}
87
88
	@SuppressWarnings("rawtypes")
89
	private final TreeNode<Operation<?>> mix(final TreeNode<Operation<?>> rootA, final TreeNode<Operation<?>> rootB,
90
			final Set<Class> acceptableClasses, final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA,
91
			final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) {
92
		Validate.notNull(rootA);
93
		Validate.notNull(rootB);
94
		Validate.notNull(acceptableClasses);
95
		Validate.isTrue(acceptableClasses.isEmpty() == false);
96
		Validate.notNull(returnedTypeToNodeA);
97
		Validate.notNull(returnedTypeToNodeB);
98
99 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());
100 1 1. mix : removed call to java/util/Set::stream → KILLED
		final Class targetClass = acceptableClasses.stream()
101 2 1. mix : replaced call to java/util/stream/Stream::skip with receiver → SURVIVED
2. mix : removed call to java/util/stream/Stream::skip → KILLED
				.skip(targetClassIndex)
102 1 1. mix : removed call to java/util/stream/Stream::findFirst → KILLED
				.findFirst()
103 1 1. mix : removed call to java/util/Optional::get → KILLED
				.get();
104
105 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<?>>> candidateReplacedNodes = returnedTypeToNodeA.get(targetClass);
106
		final TreeNode<Operation<?>> replacedNode = candidateReplacedNodes
107 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()));
108
109 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);
110
		final TreeNode<Operation<?>> replacementNode = candidateReplacementNodes
111 4 1. mix : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. mix : removed call to java/util/List::get → KILLED
3. mix : removed call to java/util/List::size → KILLED
4. mix : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
				.get(randomGenerator.nextInt(candidateReplacementNodes.size()));
112
113 3 1. mix : replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → SURVIVED
2. mix : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED
3. mix : replaced return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED
		return copyAndReplace(rootA, replacedNode, replacementNode);
114
	}
115
116
	@SuppressWarnings({ "rawtypes", "unchecked" })
117
	@Override
118
	public List<Chromosome> combine(final AbstractEAConfiguration<T> eaConfiguration, final Chromosome chromosome1,
119
			final T firstParentFitness, final Chromosome chromosome2, final T secondParentFitness) {
120
		Validate.notNull(chromosome1);
121
		Validate.notNull(chromosome2);
122
123 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) {
124 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE
			throw new IllegalArgumentException("This mutator does not support chromosome of type " + chromosome1.getClass()
125 2 1. combine : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
2. combine : removed call to java/lang/Class::getSimpleName → NO_COVERAGE
					.getSimpleName());
126
		}
127
128 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) {
129 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getClass → NO_COVERAGE
			throw new IllegalArgumentException("This mutator does not support chromosome of type " + chromosome2.getClass()
130 2 1. combine : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
2. combine : removed call to java/lang/Class::getSimpleName → NO_COVERAGE
					.getSimpleName());
131
		}
132
133 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) {
134 1 1. combine : removed call to java/util/Collections::emptyList → NO_COVERAGE
			return Collections.emptyList();
135
		}
136
137
		final TreeChromosome<Operation<?>> treeChromosome1 = (TreeChromosome<Operation<?>>) chromosome1;
138 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED
		final TreeNode<Operation<?>> root1 = treeChromosome1.getRoot();
139 1 1. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNode1 = returnedTypeToNode(root1);
140
141
		final TreeChromosome<Operation<?>> treeChromosome2 = (TreeChromosome<Operation<?>>) chromosome2;
142 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED
		final TreeNode<Operation<?>> root2 = treeChromosome2.getRoot();
143 1 1. combine : removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → KILLED
		final Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNode2 = returnedTypeToNode(root2);
144
145 1 1. combine : removed call to java/util/HashSet::<init> → KILLED
		final Set<Class> acceptableClasses = new HashSet<>();
146 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());
147 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());
148
149 1 1. combine : removed call to java/util/ArrayList::<init> → KILLED
		final List<Chromosome> children = new ArrayList<>();
150
151 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) {
152
153 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(root1,
154
					root2,
155
					acceptableClasses,
156
					returnedTypeToNode1,
157
					returnedTypeToNode2);
158 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
			final TreeChromosome<Operation<?>> child1Chromosome = new TreeChromosome<Operation<?>>(child1);
159
160 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(root2,
161
					root1,
162
					acceptableClasses,
163
					returnedTypeToNode2,
164
					returnedTypeToNode1);
165 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/TreeChromosome::<init> → SURVIVED
			final TreeChromosome<Operation<?>> child2Chromosome = new TreeChromosome<Operation<?>>(child2);
166
167 1 1. combine : removed call to java/util/List::add → KILLED
			children.add(child1Chromosome);
168 1 1. combine : removed call to java/util/List::add → KILLED
			children.add(child2Chromosome);
169
		}
170
171 1 1. combine : replaced return value with Collections.emptyList for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::combine → KILLED
		return children;
172
	}
173
}

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/Map::get → 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()]
replaced call to java/util/Map::get with argument → KILLED

51

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

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 net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → 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 : net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinatorTest]/[method:returnedTypeToNode()]
negated conditional → KILLED

54

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

2.2
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

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 false → KILLED

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

55

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::getChildren → 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/Deque::addAll → KILLED

59

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

68

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

69

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

72

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

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 call to net/bmahe/genetics4j/core/chromosomes/TreeNode::getChildren → KILLED

75

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

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 java/util/List::stream → 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()]
replaced call to java/util/stream/Stream::map with receiver → KILLED

2.2
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

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 call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → 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()]
removed call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → KILLED

5.5
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

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 java/util/stream/Collectors::toList → 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

80

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

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()]
negated conditional → 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()]
removed conditional - replaced equality check with true → KILLED

82

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

85

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

99

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

100

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/Set::stream → KILLED

101

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/stream/Stream::skip → KILLED

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

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/stream/Stream::findFirst → KILLED

103

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/Optional::get → KILLED

105

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

107

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

109

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

111

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::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()]
removed call to java/util/List::size → 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()]
replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED

113

1.1
Location : mix
Killed by : none
replaced call to net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace with argument → 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 net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::copyAndReplace → 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 return value with null for net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::mix → KILLED

123

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

124

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

125

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 java/lang/Class::getSimpleName → NO_COVERAGE

128

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

129

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

130

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 java/lang/Class::getSimpleName → NO_COVERAGE

133

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

134

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

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 net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → 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 net/bmahe/genetics4j/gp/combination/ProgramChromosomeCombinator::returnedTypeToNode → 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 net/bmahe/genetics4j/core/chromosomes/TreeChromosome::getRoot → KILLED

143

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

145

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

146

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

147

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

149

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

151

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

153

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

158

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

160

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

165

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

167

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

168

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

171

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.19.6