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 6 1. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → SURVIVED
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 → NO_COVERAGE
4. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → SURVIVED
5. getPriority : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → SURVIVED
6. 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 6 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 → SURVIVED
3. getIndex : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → SURVIVED
4. getIndex : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → SURVIVED
5. getIndex : replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getIndex → SURVIVED
6. 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 → SURVIVED

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 : none
replaced int return with 0 for fr/sii/ogham/core/builder/env/props/AbstractProps::getPriority → NO_COVERAGE

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

5.5
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

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

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 → SURVIVED

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

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

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

6.6
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