InputSpec.java

1
package net.bmahe.genetics4j.gp;
2
3
import java.util.List;
4
5
import org.immutables.value.Value;
6
import org.immutables.value.Value.Parameter;
7
8
@Value.Immutable
9
public abstract class InputSpec {
10
11
	@SuppressWarnings("rawtypes")
12
	@Parameter
13
	public abstract List<Class> types();
14
15
	public int inputSize() {
16 3 1. inputSize : replaced int return with 0 for net/bmahe/genetics4j/gp/InputSpec::inputSize → KILLED
2. inputSize : removed call to java/util/List::size → KILLED
3. inputSize : removed call to net/bmahe/genetics4j/gp/InputSpec::types → KILLED
		return types().size();
17
	}
18
19
}

Mutations

16

1.1
Location : inputSize
Killed by : net.bmahe.genetics4j.gp.InputSpecTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.InputSpecTest]/[method:inputSizeValidation()]
replaced int return with 0 for net/bmahe/genetics4j/gp/InputSpec::inputSize → KILLED

2.2
Location : inputSize
Killed by : net.bmahe.genetics4j.gp.InputSpecTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.InputSpecTest]/[method:inputSizeValidation()]
removed call to java/util/List::size → KILLED

3.3
Location : inputSize
Killed by : net.bmahe.genetics4j.gp.InputSpecTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.gp.InputSpecTest]/[method:inputSizeValidation()]
removed call to net/bmahe/genetics4j/gp/InputSpec::types → KILLED

Active mutators

Tests examined


Report generated by PIT 1.19.6