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

Mutations

27

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

34

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

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

38

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

39

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

40

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

41

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

45

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

46

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

47

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

48

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

52

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()]
Substituted 1 with 0 → KILLED

53

1.1
Location : lambda$addEdges$2
Killed by : none
removed call to java/util/HashSet::<init> → 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/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()]
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/lang/Integer::valueOf → KILLED

5.5
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

54

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

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

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

56

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

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

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

57

1.1
Location : addEdges
Killed by : none
removed call to java/util/Set::add → 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()]
Substituted 1 with 0 → 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 integer subtraction with addition → KILLED

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

63

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

64

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

66

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

67

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

68

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

70

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

71

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

72

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

76

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

83

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

84

1.1
Location : cityWithSmallestEdgeList
Killed by : none
Substituted 2147483647 with -2147483648 → 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()]
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

88

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

90

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

91

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

92

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

97

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

110

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

113

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

118

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

119

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

120

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

122

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

123

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

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()]
Substituted 0 with 1 → 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()]
removed call to java/util/HashSet::<init> → KILLED

126

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

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()]
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

130

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

131

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

132

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

134

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

136

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

137

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

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 call to java/util/Map::keySet → KILLED

140

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 : 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/Set::isEmpty → 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 conditional - replaced equality check with true → KILLED

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

143

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/util/Set::size → NO_COVERAGE

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

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

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

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

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

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

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

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

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

148

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

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

3.3
Location : combine
Killed by : none
changed conditional boundary → 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

149

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

151

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

154

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

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

156

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

158

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

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

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

163

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

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

164

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

165

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

166

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.25.7 support