AbstractProps.java

1
package fr.sii.ogham.core.builder.env.props;
2
3
import java.util.Properties;
4
5
public abstract class AbstractProps {
6
	protected final int priority;
7
	protected final int index;
8
9
	protected AbstractProps(int priority, int index) {
10
		this.priority = priority;
11
		this.index = index;
12
	}
13
14
	public abstract Properties getProps();
15
16
	public int getPriority() {
17 3 1. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → NO_COVERAGE
2. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → SURVIVED
3. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → KILLED
		return priority;
18
	}
19
20
	public int getIndex() {
21 2 1. getIndex : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → SURVIVED
2. getIndex : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → NO_COVERAGE
		return index;
22
	}
23
}

Mutations

17

1.1
Location : getPriority
Killed by : none
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → NO_COVERAGE

2.2
Location : getPriority
Killed by : none
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → SURVIVED

3.3
Location : getPriority
Killed by : oghamall.it.env.PropertyOverrideTest.externalThenPropertiesInCodeThenFile(oghamall.it.env.PropertyOverrideTest)
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → KILLED

21

1.1
Location : getIndex
Killed by : none
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → SURVIVED

2.2
Location : getIndex
Killed by : none
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT OGHAM