IntEdgeRecombinationCrossover.java

1
package net.bmahe.genetics4j.core.combination.erx;
2
3
import java.util.HashMap;
4
import java.util.HashSet;
5
import java.util.List;
6
import java.util.Map;
7
import java.util.Map.Entry;
8
import java.util.Optional;
9
import java.util.Set;
10
import java.util.random.RandomGenerator;
11
12
import org.apache.commons.lang3.Validate;
13
14
import net.bmahe.genetics4j.core.chromosomes.Chromosome;
15
import net.bmahe.genetics4j.core.chromosomes.IntChromosome;
16
import net.bmahe.genetics4j.core.combination.ChromosomeCombinator;
17
import net.bmahe.genetics4j.core.spec.AbstractEAConfiguration;
18
19
public class IntEdgeRecombinationCrossover<T extends Comparable<T>> implements ChromosomeCombinator<T> {
20
21
	private final RandomGenerator randomGenerator;
22
23
	public IntEdgeRecombinationCrossover(final RandomGenerator _randomGenerator) {
24
		Validate.notNull(_randomGenerator);
25
26 1 1. <init> : Removed assignment to member variable randomGenerator → KILLED
		this.randomGenerator = _randomGenerator;
27
	}
28
29
	protected void addEdges(final Map<Integer, Set<Integer>> edgeMap, final int[] chromosomeValues) {
30
		Validate.notNull(edgeMap);
31
		Validate.notNull(chromosomeValues);
32
33 5 1. addEdges : Substituted 0 with 1 → SURVIVED
2. addEdges : negated conditional → SURVIVED
3. addEdges : removed conditional - replaced comparison check with false → KILLED
4. addEdges : changed conditional boundary → KILLED
5. addEdges : removed conditional - replaced comparison check with true → KILLED
		for (int i = 0; i < chromosomeValues.length; i++) {
34
			final int j = chromosomeValues[i];
35
36
			// Add city before
37 4 1. addEdges : removed conditional - replaced comparison check with false → SURVIVED
2. addEdges : negated conditional → KILLED
3. addEdges : changed conditional boundary → KILLED
4. addEdges : removed conditional - replaced comparison check with true → KILLED
			if (i > 0) {
38 2 1. addEdges : Substituted 1 with 0 → SURVIVED
2. addEdges : Replaced integer subtraction with addition → KILLED
				final int cityBefore = chromosomeValues[i - 1];
39 5 1. addEdges : replaced call to java/util/Map::computeIfAbsent with argument → KILLED
2. addEdges : removed call to java/lang/Integer::valueOf → KILLED
3. lambda$addEdges$0 : removed call to java/util/HashSet::<init> → KILLED
4. addEdges : removed call to java/util/Map::computeIfAbsent → KILLED
5. lambda$addEdges$0 : replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$0 → KILLED
				final Set<Integer> cities = edgeMap.computeIfAbsent(cityBefore, k -> new HashSet<Integer>());
40 2 1. addEdges : removed call to java/lang/Integer::valueOf → SURVIVED
2. addEdges : removed call to java/util/Set::add → SURVIVED
				cities.add(j);
41
			}
42
43
			// Add city after
44 6 1. addEdges : removed conditional - replaced comparison check with false → SURVIVED
2. addEdges : negated conditional → KILLED
3. addEdges : changed conditional boundary → KILLED
4. addEdges : removed conditional - replaced comparison check with true → KILLED
5. addEdges : Substituted 1 with 0 → KILLED
6. addEdges : Replaced integer subtraction with addition → KILLED
			if (i < chromosomeValues.length - 1) {
45 2 1. addEdges : Substituted 1 with 0 → SURVIVED
2. addEdges : Replaced integer addition with subtraction → KILLED
				final int cityAfter = chromosomeValues[i + 1];
46 5 1. addEdges : replaced call to java/util/Map::computeIfAbsent with argument → KILLED
2. addEdges : removed call to java/lang/Integer::valueOf → KILLED
3. lambda$addEdges$1 : replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$1 → KILLED
4. addEdges : removed call to java/util/Map::computeIfAbsent → KILLED
5. lambda$addEdges$1 : removed call to java/util/HashSet::<init> → KILLED
				final Set<Integer> cities = edgeMap.computeIfAbsent(cityAfter, k -> new HashSet<Integer>());
47 2 1. addEdges : removed call to java/lang/Integer::valueOf → SURVIVED
2. addEdges : removed call to java/util/Set::add → SURVIVED
				cities.add(j);
48
			}
49
		}
50
51 5 1. addEdges : Replaced integer subtraction with addition → KILLED
2. addEdges : removed call to java/util/Map::computeIfAbsent → KILLED
3. addEdges : removed call to java/lang/Integer::valueOf → KILLED
4. addEdges : Substituted 1 with 0 → KILLED
5. addEdges : replaced call to java/util/Map::computeIfAbsent with argument → KILLED
		final Set<Integer> lastCities = edgeMap.computeIfAbsent(chromosomeValues[chromosomeValues.length - 1],
52 2 1. lambda$addEdges$2 : removed call to java/util/HashSet::<init> → NO_COVERAGE
2. lambda$addEdges$2 : replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$2 → NO_COVERAGE
				k -> new HashSet<Integer>());
53 3 1. addEdges : removed call to java/util/Set::add → SURVIVED
2. addEdges : Substituted 0 with 1 → SURVIVED
3. addEdges : removed call to java/lang/Integer::valueOf → SURVIVED
		lastCities.add(chromosomeValues[0]);
54
55 6 1. lambda$addEdges$3 : replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$3 → NO_COVERAGE
2. addEdges : Substituted 0 with 1 → SURVIVED
3. lambda$addEdges$3 : removed call to java/util/HashSet::<init> → NO_COVERAGE
4. addEdges : removed call to java/lang/Integer::valueOf → KILLED
5. addEdges : replaced call to java/util/Map::computeIfAbsent with argument → KILLED
6. addEdges : removed call to java/util/Map::computeIfAbsent → KILLED
		final Set<Integer> firstCities = edgeMap.computeIfAbsent(chromosomeValues[0], k -> new HashSet<Integer>());
56 4 1. addEdges : removed call to java/util/Set::add → SURVIVED
2. addEdges : removed call to java/lang/Integer::valueOf → SURVIVED
3. addEdges : Substituted 1 with 0 → KILLED
4. addEdges : Replaced integer subtraction with addition → KILLED
		firstCities.add(chromosomeValues[chromosomeValues.length - 1]);
57
	}
58
59
	protected Optional<Integer> cityWithSmallestEdgeList(final Map<Integer, Set<Integer>> edgeMap) {
60
		Validate.notNull(edgeMap);
61
62 1 1. cityWithSmallestEdgeList : Substituted -1 with 0 → NO_COVERAGE
		int citySmallestEdgeList = -1;
63 1 1. cityWithSmallestEdgeList : Substituted 2147483647 with -2147483648 → NO_COVERAGE
		int smallestEdgeListSize = Integer.MAX_VALUE;
64
65 1 1. cityWithSmallestEdgeList : removed call to java/util/Map::entrySet → NO_COVERAGE
		for (final Entry<Integer, Set<Integer>> entry : edgeMap.entrySet()) {
66 1 1. cityWithSmallestEdgeList : removed call to java/util/Map$Entry::getKey → NO_COVERAGE
			final Integer city = entry.getKey();
67 1 1. cityWithSmallestEdgeList : removed call to java/util/Map$Entry::getValue → NO_COVERAGE
			final Set<Integer> edgeList = entry.getValue();
68
69 5 1. cityWithSmallestEdgeList : removed conditional - replaced comparison check with true → NO_COVERAGE
2. cityWithSmallestEdgeList : negated conditional → NO_COVERAGE
3. cityWithSmallestEdgeList : removed conditional - replaced comparison check with false → NO_COVERAGE
4. cityWithSmallestEdgeList : removed call to java/util/Set::size → NO_COVERAGE
5. cityWithSmallestEdgeList : changed conditional boundary → NO_COVERAGE
			if (edgeList.size() < smallestEdgeListSize) {
70 1 1. cityWithSmallestEdgeList : removed call to java/lang/Integer::intValue → NO_COVERAGE
				citySmallestEdgeList = city;
71 1 1. cityWithSmallestEdgeList : removed call to java/util/Set::size → NO_COVERAGE
				smallestEdgeListSize = edgeList.size();
72
			}
73
		}
74
75 8 1. cityWithSmallestEdgeList : removed call to java/util/Optional::empty → NO_COVERAGE
2. cityWithSmallestEdgeList : changed conditional boundary → NO_COVERAGE
3. cityWithSmallestEdgeList : Substituted -1 with 0 → NO_COVERAGE
4. cityWithSmallestEdgeList : negated conditional → NO_COVERAGE
5. cityWithSmallestEdgeList : removed conditional - replaced comparison check with true → NO_COVERAGE
6. cityWithSmallestEdgeList : removed call to java/util/Optional::of → NO_COVERAGE
7. cityWithSmallestEdgeList : removed call to java/lang/Integer::valueOf → NO_COVERAGE
8. cityWithSmallestEdgeList : removed conditional - replaced comparison check with false → NO_COVERAGE
		return citySmallestEdgeList > -1 ? Optional.of(citySmallestEdgeList) : Optional.empty();
76
	}
77
78
	protected Optional<Integer> cityWithSmallestEdgeList(final Map<Integer, Set<Integer>> edgeMap,
79
			final Set<Integer> candidates) {
80
		Validate.notNull(edgeMap);
81
82 1 1. cityWithSmallestEdgeList : Substituted -1 with 0 → SURVIVED
		int citySmallestEdgeList = -1;
83 1 1. cityWithSmallestEdgeList : Substituted 2147483647 with -2147483648 → SURVIVED
		int smallestEdgeListSize = Integer.MAX_VALUE;
84
85
		for (final Integer candidate : candidates) {
86 4 1. cityWithSmallestEdgeList : removed call to java/util/Map::containsKey → SURVIVED
2. cityWithSmallestEdgeList : removed conditional - replaced equality check with false → SURVIVED
3. cityWithSmallestEdgeList : negated conditional → KILLED
4. cityWithSmallestEdgeList : removed conditional - replaced equality check with true → KILLED
			if (edgeMap.containsKey(candidate)) {
87 2 1. cityWithSmallestEdgeList : replaced call to java/util/Map::get with argument → KILLED
2. cityWithSmallestEdgeList : removed call to java/util/Map::get → KILLED
				final Set<Integer> edgeList = edgeMap.get(candidate);
88
89 5 1. cityWithSmallestEdgeList : negated conditional → SURVIVED
2. cityWithSmallestEdgeList : changed conditional boundary → SURVIVED
3. cityWithSmallestEdgeList : removed conditional - replaced comparison check with false → SURVIVED
4. cityWithSmallestEdgeList : removed call to java/util/Set::size → SURVIVED
5. cityWithSmallestEdgeList : removed conditional - replaced comparison check with true → SURVIVED
				if (edgeList.size() < smallestEdgeListSize) {
90 1 1. cityWithSmallestEdgeList : removed call to java/lang/Integer::intValue → KILLED
					citySmallestEdgeList = candidate;
91 1 1. cityWithSmallestEdgeList : removed call to java/util/Set::size → SURVIVED
					smallestEdgeListSize = edgeList.size();
92
				}
93
			}
94
		}
95
96 8 1. cityWithSmallestEdgeList : Substituted -1 with 0 → SURVIVED
2. cityWithSmallestEdgeList : removed conditional - replaced comparison check with false → SURVIVED
3. cityWithSmallestEdgeList : changed conditional boundary → SURVIVED
4. cityWithSmallestEdgeList : removed conditional - replaced comparison check with true → SURVIVED
5. cityWithSmallestEdgeList : removed call to java/lang/Integer::valueOf → KILLED
6. cityWithSmallestEdgeList : removed call to java/util/Optional::of → KILLED
7. cityWithSmallestEdgeList : negated conditional → KILLED
8. cityWithSmallestEdgeList : removed call to java/util/Optional::empty → KILLED
		return citySmallestEdgeList > -1 ? Optional.of(citySmallestEdgeList) : Optional.empty();
97
	}
98
99
	@Override
100
	public List<Chromosome> combine(final AbstractEAConfiguration<T> eaConfiguration, final Chromosome chromosome1,
101
			final T firstParentFitness, final Chromosome chromosome2, final T secondParentFitness) {
102
		Validate.notNull(chromosome1);
103
		Validate.notNull(chromosome2);
104
		Validate.isInstanceOf(IntChromosome.class, chromosome1);
105
		Validate.isInstanceOf(IntChromosome.class, chromosome2);
106
107
		final IntChromosome intChromosome1 = (IntChromosome) chromosome1;
108
		Validate.isTrue(intChromosome1.getNumAlleles() > 2);
109 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getValues → KILLED
		final int[] chromosome1Values = intChromosome1.getValues();
110
111
		final IntChromosome intChromosome2 = (IntChromosome) chromosome2;
112 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getValues → KILLED
		final int[] chromosome2Values = intChromosome2.getValues();
113
114
		Validate.isTrue(intChromosome2.getNumAlleles() > 2);
115
		Validate.isTrue(intChromosome1.getNumAlleles() == intChromosome2.getNumAlleles());
116
117 1 1. combine : removed call to java/util/HashMap::<init> → KILLED
		final Map<Integer, Set<Integer>> edgeMap = new HashMap<>();
118 1 1. combine : removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::addEdges → SURVIVED
		addEdges(edgeMap, chromosome1Values);
119 1 1. combine : removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::addEdges → SURVIVED
		addEdges(edgeMap, chromosome2Values);
120
121 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED
		int[] chromosome = new int[chromosome1.getNumAlleles()];
122 2 1. combine : removed call to java/util/random/RandomGenerator::nextInt → SURVIVED
2. combine : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
		int currentCity = randomGenerator.nextInt(chromosome1Values.length);
123 1 1. combine : Substituted 0 with 1 → KILLED
		int currentIndex = 0;
124 1 1. combine : removed call to java/util/HashSet::<init> → KILLED
		final Set<Integer> citiesVisited = new HashSet<>();
125 5 1. combine : negated conditional → SURVIVED
2. combine : removed call to java/util/Map::size → SURVIVED
3. combine : removed conditional - replaced comparison check with false → SURVIVED
4. combine : changed conditional boundary → KILLED
5. combine : removed conditional - replaced comparison check with true → KILLED
		while (edgeMap.size() > 0) {
126
127
			chromosome[currentIndex] = currentCity;
128 3 1. combine : replaced call to java/util/Map::get with argument → KILLED
2. combine : removed call to java/lang/Integer::valueOf → KILLED
3. combine : removed call to java/util/Map::get → KILLED
			final Set<Integer> nextCities = edgeMap.get(currentCity);
129 3 1. combine : removed call to java/lang/Integer::valueOf → KILLED
2. combine : removed call to java/util/Map::remove → KILLED
3. combine : replaced call to java/util/Map::remove with argument → KILLED
			edgeMap.remove(currentCity);
130 2 1. combine : removed call to java/util/Set::add → SURVIVED
2. combine : removed call to java/lang/Integer::valueOf → SURVIVED
			citiesVisited.add(currentCity);
131 2 1. combine : Removed increment 1 → SURVIVED
2. combine : Changed increment from 1 to -1 → KILLED
			currentIndex++;
132
133 1 1. combine : removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::cityWithSmallestEdgeList → KILLED
			final Optional<Integer> cityWithSmallestEdgeList = cityWithSmallestEdgeList(edgeMap, nextCities);
134
135 4 1. combine : removed conditional - replaced equality check with false → SURVIVED
2. combine : removed call to java/util/Optional::isPresent → SURVIVED
3. combine : negated conditional → KILLED
4. combine : removed conditional - replaced equality check with true → KILLED
			if (cityWithSmallestEdgeList.isPresent()) {
136 2 1. combine : removed call to java/util/Optional::get → KILLED
2. combine : removed call to java/lang/Integer::intValue → KILLED
				currentCity = cityWithSmallestEdgeList.get();
137
			} else {
138 1 1. combine : removed call to java/util/Map::keySet → KILLED
				final Set<Integer> citiesSet = edgeMap.keySet();
139 5 1. combine : removed call to java/util/Set::size → SURVIVED
2. combine : removed conditional - replaced equality check with false → SURVIVED
3. combine : removed conditional - replaced equality check with true → KILLED
4. combine : negated conditional → KILLED
5. combine : Substituted 1 with 0 → KILLED
				if (citiesSet.size() == 1) {
140
					currentCity = citiesSet.iterator()
141 2 1. combine : removed call to java/util/Iterator::next → NO_COVERAGE
2. combine : removed call to java/lang/Integer::intValue → NO_COVERAGE
							.next();
142 5 1. combine : removed conditional - replaced comparison check with false → SURVIVED
2. combine : removed call to java/util/Set::size → SURVIVED
3. combine : changed conditional boundary → KILLED
4. combine : negated conditional → KILLED
5. combine : removed conditional - replaced comparison check with true → KILLED
				} else if (citiesSet.size() > 0) {
143 1 1. combine : removed call to java/util/Set::stream → NO_COVERAGE
					currentCity = citiesSet.stream()
144 7 1. combine : removed call to java/util/random/RandomGenerator::nextInt → NO_COVERAGE
2. combine : Replaced integer subtraction with addition → NO_COVERAGE
3. combine : removed call to java/util/stream/Stream::skip → NO_COVERAGE
4. combine : Substituted 1 with 0 → NO_COVERAGE
5. combine : removed call to java/util/Set::size → NO_COVERAGE
6. combine : replaced call to java/util/random/RandomGenerator::nextInt with argument → NO_COVERAGE
7. combine : replaced call to java/util/stream/Stream::skip with receiver → NO_COVERAGE
							.skip(randomGenerator.nextInt(citiesSet.size() - 1))
145 1 1. combine : removed call to java/util/stream/Stream::findFirst → NO_COVERAGE
							.findFirst()
146 2 1. combine : removed call to java/util/Optional::get → NO_COVERAGE
2. combine : removed call to java/lang/Integer::intValue → NO_COVERAGE
							.get();
147
				}
148
			}
149
		}
150
151 5 1. combine : negated conditional → SURVIVED
2. combine : changed conditional boundary → SURVIVED
3. combine : removed conditional - replaced comparison check with true → SURVIVED
4. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
5. combine : removed conditional - replaced comparison check with false → SURVIVED
		if (currentIndex < chromosome1.getNumAlleles()) {
152 1 1. combine : removed call to java/util/HashSet::<init> → NO_COVERAGE
			final Set<Integer> remainingValues = new HashSet<>();
153
			for (int i : chromosome1Values) {
154 2 1. combine : removed call to java/lang/Integer::valueOf → NO_COVERAGE
2. combine : removed call to java/util/Set::add → NO_COVERAGE
				remainingValues.add(i);
155
			}
156
			for (int i : chromosome2Values) {
157 2 1. combine : removed call to java/lang/Integer::valueOf → NO_COVERAGE
2. combine : removed call to java/util/Set::add → NO_COVERAGE
				remainingValues.add(i);
158
			}
159 1 1. combine : removed call to java/util/Set::removeAll → NO_COVERAGE
			remainingValues.removeAll(citiesVisited);
160
			for (Integer remainingCity : remainingValues) {
161 3 1. combine : Removed increment 1 → NO_COVERAGE
2. combine : removed call to java/lang/Integer::intValue → NO_COVERAGE
3. combine : Changed increment from 1 to -1 → NO_COVERAGE
				chromosome[currentIndex++] = remainingCity;
162
163
			}
164
		}
165
166 3 1. combine : replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::combine → SURVIVED
2. combine : removed call to java/util/List::of → SURVIVED
3. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED
		return List.of(new IntChromosome(chromosome1.getNumAlleles(),
167 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMinValue → SURVIVED
				intChromosome1.getMinValue(),
168 2 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMaxValue → SURVIVED
2. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::<init> → KILLED
				intChromosome1.getMaxValue(),
169
				chromosome));
170
	}
171
}

Mutations

26

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

33

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with false → KILLED

2.2
Location : addEdges
Killed by : none
Substituted 0 with 1 → SURVIVED
Covering tests

3.3
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
changed conditional boundary → KILLED

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with true → KILLED

5.5
Location : addEdges
Killed by : none
negated conditional → SURVIVED Covering tests

37

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
changed conditional boundary → KILLED

3.3
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with true → KILLED

4.4
Location : addEdges
Killed by : none
removed conditional - replaced comparison check with false → SURVIVED
Covering tests

38

1.1
Location : addEdges
Killed by : none
Substituted 1 with 0 → SURVIVED
Covering tests

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Replaced integer subtraction with addition → KILLED

39

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::computeIfAbsent with argument → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

3.3
Location : lambda$addEdges$0
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/HashSet::<init> → KILLED

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::computeIfAbsent → KILLED

5.5
Location : lambda$addEdges$0
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$0 → KILLED

40

1.1
Location : addEdges
Killed by : none
removed call to java/lang/Integer::valueOf → SURVIVED
Covering tests

2.2
Location : addEdges
Killed by : none
removed call to java/util/Set::add → SURVIVED Covering tests

44

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
changed conditional boundary → KILLED

3.3
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with true → KILLED

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Substituted 1 with 0 → KILLED

5.5
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Replaced integer subtraction with addition → KILLED

6.6
Location : addEdges
Killed by : none
removed conditional - replaced comparison check with false → SURVIVED
Covering tests

45

1.1
Location : addEdges
Killed by : none
Substituted 1 with 0 → SURVIVED
Covering tests

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Replaced integer addition with subtraction → KILLED

46

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::computeIfAbsent with argument → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

3.3
Location : lambda$addEdges$1
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$1 → KILLED

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::computeIfAbsent → KILLED

5.5
Location : lambda$addEdges$1
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/HashSet::<init> → KILLED

47

1.1
Location : addEdges
Killed by : none
removed call to java/lang/Integer::valueOf → SURVIVED
Covering tests

2.2
Location : addEdges
Killed by : none
removed call to java/util/Set::add → SURVIVED Covering tests

51

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Replaced integer subtraction with addition → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::computeIfAbsent → KILLED

3.3
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Substituted 1 with 0 → KILLED

5.5
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::computeIfAbsent with argument → KILLED

52

1.1
Location : lambda$addEdges$2
Killed by : none
removed call to java/util/HashSet::<init> → NO_COVERAGE

2.2
Location : lambda$addEdges$2
Killed by : none
replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$2 → NO_COVERAGE

53

1.1
Location : addEdges
Killed by : none
removed call to java/util/Set::add → SURVIVED
Covering tests

2.2
Location : addEdges
Killed by : none
Substituted 0 with 1 → SURVIVED Covering tests

3.3
Location : addEdges
Killed by : none
removed call to java/lang/Integer::valueOf → SURVIVED Covering tests

55

1.1
Location : lambda$addEdges$3
Killed by : none
replaced return value with Collections.emptySet for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::lambda$addEdges$3 → NO_COVERAGE

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

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

4.4
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::computeIfAbsent → KILLED

5.5
Location : addEdges
Killed by : none
Substituted 0 with 1 → SURVIVED
Covering tests

6.6
Location : lambda$addEdges$3
Killed by : none
removed call to java/util/HashSet::<init> → NO_COVERAGE

56

1.1
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Substituted 1 with 0 → KILLED

2.2
Location : addEdges
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Replaced integer subtraction with addition → KILLED

3.3
Location : addEdges
Killed by : none
removed call to java/util/Set::add → SURVIVED
Covering tests

4.4
Location : addEdges
Killed by : none
removed call to java/lang/Integer::valueOf → SURVIVED Covering tests

62

1.1
Location : cityWithSmallestEdgeList
Killed by : none
Substituted -1 with 0 → NO_COVERAGE

63

1.1
Location : cityWithSmallestEdgeList
Killed by : none
Substituted 2147483647 with -2147483648 → NO_COVERAGE

65

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Map::entrySet → NO_COVERAGE

66

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Map$Entry::getKey → NO_COVERAGE

67

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Map$Entry::getValue → NO_COVERAGE

69

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with true → NO_COVERAGE

2.2
Location : cityWithSmallestEdgeList
Killed by : none
negated conditional → NO_COVERAGE

3.3
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with false → NO_COVERAGE

4.4
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Set::size → NO_COVERAGE

5.5
Location : cityWithSmallestEdgeList
Killed by : none
changed conditional boundary → NO_COVERAGE

70

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/lang/Integer::intValue → NO_COVERAGE

71

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Set::size → NO_COVERAGE

75

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Optional::empty → NO_COVERAGE

2.2
Location : cityWithSmallestEdgeList
Killed by : none
changed conditional boundary → NO_COVERAGE

3.3
Location : cityWithSmallestEdgeList
Killed by : none
Substituted -1 with 0 → NO_COVERAGE

4.4
Location : cityWithSmallestEdgeList
Killed by : none
negated conditional → NO_COVERAGE

5.5
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with true → NO_COVERAGE

6.6
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Optional::of → NO_COVERAGE

7.7
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/lang/Integer::valueOf → NO_COVERAGE

8.8
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with false → NO_COVERAGE

82

1.1
Location : cityWithSmallestEdgeList
Killed by : none
Substituted -1 with 0 → SURVIVED
Covering tests

83

1.1
Location : cityWithSmallestEdgeList
Killed by : none
Substituted 2147483647 with -2147483648 → SURVIVED
Covering tests

86

1.1
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Map::containsKey → SURVIVED
Covering tests

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

87

1.1
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::get with argument → KILLED

2.2
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::get → KILLED

89

1.1
Location : cityWithSmallestEdgeList
Killed by : none
negated conditional → SURVIVED
Covering tests

2.2
Location : cityWithSmallestEdgeList
Killed by : none
changed conditional boundary → SURVIVED Covering tests

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

4.4
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Set::size → SURVIVED Covering tests

5.5
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with true → SURVIVED Covering tests

90

1.1
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::intValue → KILLED

91

1.1
Location : cityWithSmallestEdgeList
Killed by : none
removed call to java/util/Set::size → SURVIVED
Covering tests

96

1.1
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

2.2
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Optional::of → KILLED

3.3
Location : cityWithSmallestEdgeList
Killed by : none
Substituted -1 with 0 → SURVIVED
Covering tests

4.4
Location : cityWithSmallestEdgeList
Killed by : none
removed conditional - replaced comparison check with false → SURVIVED Covering tests

5.5
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

6.6
Location : cityWithSmallestEdgeList
Killed by : none
changed conditional boundary → SURVIVED Covering tests

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

8.8
Location : cityWithSmallestEdgeList
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Optional::empty → KILLED

109

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getValues → KILLED

112

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getValues → KILLED

117

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

118

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::addEdges → SURVIVED
Covering tests

119

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::addEdges → SURVIVED
Covering tests

121

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED

122

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

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED

123

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Substituted 0 with 1 → KILLED

124

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

125

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
changed conditional boundary → KILLED

2.2
Location : combine
Killed by : none
negated conditional → SURVIVED
Covering tests

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with true → KILLED

4.4
Location : combine
Killed by : none
removed call to java/util/Map::size → SURVIVED Covering tests

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

128

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::get with argument → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::get → KILLED

129

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::valueOf → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Map::remove → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
replaced call to java/util/Map::remove with argument → KILLED

130

1.1
Location : combine
Killed by : none
removed call to java/util/Set::add → SURVIVED
Covering tests

2.2
Location : combine
Killed by : none
removed call to java/lang/Integer::valueOf → SURVIVED Covering tests

131

1.1
Location : combine
Killed by : none
Removed increment 1 → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Changed increment from 1 to -1 → KILLED

133

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::cityWithSmallestEdgeList → KILLED

135

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

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

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

4.4
Location : combine
Killed by : none
removed call to java/util/Optional::isPresent → SURVIVED Covering tests

136

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/util/Optional::get → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to java/lang/Integer::intValue → KILLED

138

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

139

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

2.2
Location : combine
Killed by : none
removed call to java/util/Set::size → SURVIVED
Covering tests

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

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
Substituted 1 with 0 → KILLED

141

1.1
Location : combine
Killed by : none
removed call to java/util/Iterator::next → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/lang/Integer::intValue → NO_COVERAGE

142

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

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
changed conditional boundary → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
negated conditional → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed conditional - replaced comparison check with true → KILLED

5.5
Location : combine
Killed by : none
removed call to java/util/Set::size → SURVIVED Covering tests

143

1.1
Location : combine
Killed by : none
removed call to java/util/Set::stream → NO_COVERAGE

144

1.1
Location : combine
Killed by : none
removed call to java/util/random/RandomGenerator::nextInt → NO_COVERAGE

2.2
Location : combine
Killed by : none
Replaced integer subtraction with addition → NO_COVERAGE

3.3
Location : combine
Killed by : none
removed call to java/util/stream/Stream::skip → NO_COVERAGE

4.4
Location : combine
Killed by : none
Substituted 1 with 0 → NO_COVERAGE

5.5
Location : combine
Killed by : none
removed call to java/util/Set::size → NO_COVERAGE

6.6
Location : combine
Killed by : none
replaced call to java/util/random/RandomGenerator::nextInt with argument → NO_COVERAGE

7.7
Location : combine
Killed by : none
replaced call to java/util/stream/Stream::skip with receiver → NO_COVERAGE

145

1.1
Location : combine
Killed by : none
removed call to java/util/stream/Stream::findFirst → NO_COVERAGE

146

1.1
Location : combine
Killed by : none
removed call to java/util/Optional::get → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/lang/Integer::intValue → NO_COVERAGE

151

1.1
Location : combine
Killed by : none
negated conditional → SURVIVED
Covering tests

2.2
Location : combine
Killed by : none
changed conditional boundary → SURVIVED Covering tests

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

4.4
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED Covering tests

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

152

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

154

1.1
Location : combine
Killed by : none
removed call to java/lang/Integer::valueOf → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/util/Set::add → NO_COVERAGE

157

1.1
Location : combine
Killed by : none
removed call to java/lang/Integer::valueOf → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/util/Set::add → NO_COVERAGE

159

1.1
Location : combine
Killed by : none
removed call to java/util/Set::removeAll → NO_COVERAGE

161

1.1
Location : combine
Killed by : none
Removed increment 1 → NO_COVERAGE

2.2
Location : combine
Killed by : none
removed call to java/lang/Integer::intValue → NO_COVERAGE

3.3
Location : combine
Killed by : none
Changed increment from 1 to -1 → NO_COVERAGE

166

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED

2.2
Location : combine
Killed by : none
replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/erx/IntEdgeRecombinationCrossover::combine → SURVIVED
Covering tests

3.3
Location : combine
Killed by : none
removed call to java/util/List::of → SURVIVED Covering tests

167

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMinValue → SURVIVED
Covering tests

168

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMaxValue → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossoverTest]/[method:simple()]
removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::<init> → KILLED

Active mutators

Tests examined


Report generated by PIT 1.19.6