DeviceReader.java

1
package net.bmahe.genetics4j.gpu.opencl;
2
3
import java.util.Objects;
4
5
import org.apache.commons.lang3.StringUtils;
6
import org.apache.logging.log4j.LogManager;
7
import org.apache.logging.log4j.Logger;
8
import org.jocl.CL;
9
import org.jocl.cl_device_id;
10
import org.jocl.cl_platform_id;
11
12
import net.bmahe.genetics4j.gpu.opencl.model.Device;
13
import net.bmahe.genetics4j.gpu.opencl.model.DeviceType;
14
15
public class DeviceReader {
16
	public static final Logger logger = LogManager.getLogger(DeviceReader.class);
17
18
	public Device read(final cl_platform_id platformId, final cl_device_id deviceId) {
19
		Objects.requireNonNull(platformId);
20
		Objects.requireNonNull(deviceId);
21
22 1 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/Device::builder → NO_COVERAGE
		final var deviceBuilder = Device.builder();
23 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceId with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceId → NO_COVERAGE
		deviceBuilder.deviceId(deviceId);
24
25 2 1. read : Substituted 4139 with 4140 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE
		final String name = DeviceUtils.getDeviceInfoString(deviceId, CL.CL_DEVICE_NAME);
26 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::name → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::name with receiver → NO_COVERAGE
		deviceBuilder.name(name);
27
28 2 1. read : Substituted 4140 with 4141 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE
		final String vendor = DeviceUtils.getDeviceInfoString(deviceId, CL.CL_DEVICE_VENDOR);
29 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::vendor with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::vendor → NO_COVERAGE
		deviceBuilder.vendor(vendor);
30
31 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE
2. read : Substituted 4143 with 4144 → NO_COVERAGE
		final String deviceVersion = DeviceUtils.getDeviceInfoString(deviceId, CL.CL_DEVICE_VERSION);
32 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceVersion → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceVersion with receiver → NO_COVERAGE
		deviceBuilder.deviceVersion(deviceVersion);
33
34 2 1. read : Substituted 4141 with 4142 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE
		final String driverVersion = DeviceUtils.getDeviceInfoString(deviceId, CL.CL_DRIVER_VERSION);
35 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::driverVersion with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::driverVersion → NO_COVERAGE
		deviceBuilder.driverVersion(driverVersion);
36
37 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE
2. read : Substituted 4159 with 4160 → NO_COVERAGE
		final String builtInKernelsStr = DeviceUtils.getDeviceInfoString(deviceId, CL.CL_DEVICE_BUILT_IN_KERNELS);
38 4 1. read : removed conditional - replaced equality check with false → NO_COVERAGE
2. read : removed conditional - replaced equality check with true → NO_COVERAGE
3. read : removed call to org/apache/commons/lang3/StringUtils::isNotBlank → NO_COVERAGE
4. read : negated conditional → NO_COVERAGE
		if (StringUtils.isNotBlank(builtInKernelsStr)) {
39 1 1. read : removed call to java/lang/String::split → NO_COVERAGE
			final String[] builtInKernelsArr = builtInKernelsStr.split(";");
40 4 1. read : removed conditional - replaced comparison check with true → NO_COVERAGE
2. read : negated conditional → NO_COVERAGE
3. read : changed conditional boundary → NO_COVERAGE
4. read : removed conditional - replaced comparison check with false → NO_COVERAGE
			if (builtInKernelsArr.length > 0) {
41 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addBuiltInKernels with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addBuiltInKernels → NO_COVERAGE
				deviceBuilder.addBuiltInKernels(builtInKernelsArr);
42
			}
43
		}
44
45 2 1. read : Substituted 4096 with 4097 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLong → NO_COVERAGE
		final long deviceTypeLong = DeviceUtils.getDeviceInfoLong(deviceId, CL.CL_DEVICE_TYPE);
46 4 1. read : Substituted -1 with 0 → NO_COVERAGE
2. read : negated conditional → NO_COVERAGE
3. read : removed conditional - replaced equality check with false → NO_COVERAGE
4. read : removed conditional - replaced equality check with true → NO_COVERAGE
		if (deviceTypeLong == CL.CL_DEVICE_TYPE_ALL) {
47 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
			deviceBuilder.addDeviceType(DeviceType.ALL);
48
		} else {
49
50 6 1. read : Replaced bitwise AND with OR → NO_COVERAGE
2. read : Substituted 0 with 1 → NO_COVERAGE
3. read : negated conditional → NO_COVERAGE
4. read : removed conditional - replaced equality check with false → NO_COVERAGE
5. read : Substituted 1 with 2 → NO_COVERAGE
6. read : removed conditional - replaced equality check with true → NO_COVERAGE
			if ((deviceTypeLong & CL.CL_DEVICE_TYPE_DEFAULT) != 0) {
51 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
				deviceBuilder.addDeviceType(DeviceType.DEFAULT);
52
			}
53 6 1. read : negated conditional → NO_COVERAGE
2. read : removed conditional - replaced equality check with false → NO_COVERAGE
3. read : removed conditional - replaced equality check with true → NO_COVERAGE
4. read : Substituted 2 with 3 → NO_COVERAGE
5. read : Replaced bitwise AND with OR → NO_COVERAGE
6. read : Substituted 0 with 1 → NO_COVERAGE
			if ((deviceTypeLong & CL.CL_DEVICE_TYPE_CPU) != 0) {
54 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
				deviceBuilder.addDeviceType(DeviceType.CPU);
55
			}
56 6 1. read : Substituted 4 with 5 → NO_COVERAGE
2. read : removed conditional - replaced equality check with false → NO_COVERAGE
3. read : Substituted 0 with 1 → NO_COVERAGE
4. read : removed conditional - replaced equality check with true → NO_COVERAGE
5. read : negated conditional → NO_COVERAGE
6. read : Replaced bitwise AND with OR → NO_COVERAGE
			if ((deviceTypeLong & CL.CL_DEVICE_TYPE_GPU) != 0) {
57 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
				deviceBuilder.addDeviceType(DeviceType.GPU);
58
			}
59 6 1. read : removed conditional - replaced equality check with false → NO_COVERAGE
2. read : removed conditional - replaced equality check with true → NO_COVERAGE
3. read : Substituted 0 with 1 → NO_COVERAGE
4. read : Substituted 8 with 9 → NO_COVERAGE
5. read : Replaced bitwise AND with OR → NO_COVERAGE
6. read : negated conditional → NO_COVERAGE
			if ((deviceTypeLong & CL.CL_DEVICE_TYPE_ACCELERATOR) != 0) {
60 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
				deviceBuilder.addDeviceType(DeviceType.ACCELERATOR);
61
			}
62 6 1. read : removed conditional - replaced equality check with false → NO_COVERAGE
2. read : negated conditional → NO_COVERAGE
3. read : removed conditional - replaced equality check with true → NO_COVERAGE
4. read : Substituted 16 with 17 → NO_COVERAGE
5. read : Replaced bitwise AND with OR → NO_COVERAGE
6. read : Substituted 0 with 1 → NO_COVERAGE
			if ((deviceTypeLong & CL.CL_DEVICE_TYPE_CUSTOM) != 0) {
63 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE
				deviceBuilder.addDeviceType(DeviceType.CUSTOM);
64
			}
65
		}
66
67 3 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE
3. read : Substituted 4098 with 4099 → NO_COVERAGE
		final int maxComputeUnits = DeviceUtils.getDeviceInfoInt(deviceId, CL.CL_DEVICE_MAX_COMPUTE_UNITS);
68 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxComputeUnits with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxComputeUnits → NO_COVERAGE
		deviceBuilder.maxComputeUnits(maxComputeUnits);
69
70 3 1. read : Substituted 4099 with 4100 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE
3. read : replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE
		final int maxWorkItemDimensions = DeviceUtils.getDeviceInfoInt(deviceId, CL.CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS);
71 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemDimensions with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemDimensions → NO_COVERAGE
		deviceBuilder.maxWorkItemDimensions(maxWorkItemDimensions);
72
73 3 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE
3. read : Substituted 4108 with 4109 → NO_COVERAGE
		final int maxClockFrequency = DeviceUtils.getDeviceInfoInt(deviceId, CL.CL_DEVICE_MAX_CLOCK_FREQUENCY);
74 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxClockFrequency with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxClockFrequency → NO_COVERAGE
		deviceBuilder.maxClockFrequency(maxClockFrequency);
75
76 3 1. read : Substituted 4118 with 4119 → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE
3. read : replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE
		final int hasImageSupport = DeviceUtils.getDeviceInfoInt(deviceId, CL.CL_DEVICE_IMAGE_SUPPORT);
77 7 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::imageSupport → NO_COVERAGE
2. read : Substituted 1 with 0 → NO_COVERAGE
3. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::imageSupport with receiver → NO_COVERAGE
4. read : removed conditional - replaced equality check with false → NO_COVERAGE
5. read : Substituted 0 with 1 → NO_COVERAGE
6. read : negated conditional → NO_COVERAGE
7. read : removed conditional - replaced equality check with true → NO_COVERAGE
		deviceBuilder.imageSupport(hasImageSupport != 0);
78
79 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLong → NO_COVERAGE
2. read : Substituted 4100 with 4101 → NO_COVERAGE
		final long maxWorkGroupSize = DeviceUtils.getDeviceInfoLong(deviceId, CL.CL_DEVICE_MAX_WORK_GROUP_SIZE);
80 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkGroupSize → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkGroupSize with receiver → NO_COVERAGE
		deviceBuilder.maxWorkGroupSize(maxWorkGroupSize);
81
82 1 1. read : Substituted 4106 with 4107 → NO_COVERAGE
		final int preferredVectorWidthFloat = DeviceUtils
83 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE
				.getDeviceInfoInt(deviceId, CL.CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT);
84 2 1. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::preferredVectorWidthFloat with receiver → NO_COVERAGE
2. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::preferredVectorWidthFloat → NO_COVERAGE
		deviceBuilder.preferredVectorWidthFloat(preferredVectorWidthFloat);
85
86 1 1. read : Substituted 4101 with 4102 → NO_COVERAGE
		final long[] maxWorkItemSizes = DeviceUtils
87 1 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLongArray → NO_COVERAGE
				.getDeviceInfoLongArray(deviceId, CL.CL_DEVICE_MAX_WORK_ITEM_SIZES, maxWorkItemDimensions);
88 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemSizes → NO_COVERAGE
2. read : replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemSizes with receiver → NO_COVERAGE
		deviceBuilder.maxWorkItemSizes(maxWorkItemSizes);
89
90 2 1. read : removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::build → NO_COVERAGE
2. read : replaced return value with null for net/bmahe/genetics4j/gpu/opencl/DeviceReader::read → NO_COVERAGE
		return deviceBuilder.build();
91
	}
92
}

Mutations

22

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/Device::builder → NO_COVERAGE

23

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceId with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceId → NO_COVERAGE

25

1.1
Location : read
Killed by : none
Substituted 4139 with 4140 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE

26

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::name → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::name with receiver → NO_COVERAGE

28

1.1
Location : read
Killed by : none
Substituted 4140 with 4141 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE

29

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::vendor with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::vendor → NO_COVERAGE

31

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE

2.2
Location : read
Killed by : none
Substituted 4143 with 4144 → NO_COVERAGE

32

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceVersion → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::deviceVersion with receiver → NO_COVERAGE

34

1.1
Location : read
Killed by : none
Substituted 4141 with 4142 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE

35

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::driverVersion with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::driverVersion → NO_COVERAGE

37

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoString → NO_COVERAGE

2.2
Location : read
Killed by : none
Substituted 4159 with 4160 → NO_COVERAGE

38

1.1
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

2.2
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

3.3
Location : read
Killed by : none
removed call to org/apache/commons/lang3/StringUtils::isNotBlank → NO_COVERAGE

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

39

1.1
Location : read
Killed by : none
removed call to java/lang/String::split → NO_COVERAGE

40

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

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

3.3
Location : read
Killed by : none
changed conditional boundary → NO_COVERAGE

4.4
Location : read
Killed by : none
removed conditional - replaced comparison check with false → NO_COVERAGE

41

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addBuiltInKernels with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addBuiltInKernels → NO_COVERAGE

45

1.1
Location : read
Killed by : none
Substituted 4096 with 4097 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLong → NO_COVERAGE

46

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

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

3.3
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

4.4
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

47

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

50

1.1
Location : read
Killed by : none
Replaced bitwise AND with OR → NO_COVERAGE

2.2
Location : read
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

3.3
Location : read
Killed by : none
negated conditional → NO_COVERAGE

4.4
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

5.5
Location : read
Killed by : none
Substituted 1 with 2 → NO_COVERAGE

6.6
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

51

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

53

1.1
Location : read
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

3.3
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

4.4
Location : read
Killed by : none
Substituted 2 with 3 → NO_COVERAGE

5.5
Location : read
Killed by : none
Replaced bitwise AND with OR → NO_COVERAGE

6.6
Location : read
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

54

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

56

1.1
Location : read
Killed by : none
Substituted 4 with 5 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

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

4.4
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

5.5
Location : read
Killed by : none
negated conditional → NO_COVERAGE

6.6
Location : read
Killed by : none
Replaced bitwise AND with OR → NO_COVERAGE

57

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

59

1.1
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

2.2
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

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

4.4
Location : read
Killed by : none
Substituted 8 with 9 → NO_COVERAGE

5.5
Location : read
Killed by : none
Replaced bitwise AND with OR → NO_COVERAGE

6.6
Location : read
Killed by : none
negated conditional → NO_COVERAGE

60

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

62

1.1
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

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

3.3
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

4.4
Location : read
Killed by : none
Substituted 16 with 17 → NO_COVERAGE

5.5
Location : read
Killed by : none
Replaced bitwise AND with OR → NO_COVERAGE

6.6
Location : read
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

63

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::addDeviceType → NO_COVERAGE

67

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE

3.3
Location : read
Killed by : none
Substituted 4098 with 4099 → NO_COVERAGE

68

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxComputeUnits with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxComputeUnits → NO_COVERAGE

70

1.1
Location : read
Killed by : none
Substituted 4099 with 4100 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE

3.3
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE

71

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemDimensions with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemDimensions → NO_COVERAGE

73

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE

3.3
Location : read
Killed by : none
Substituted 4108 with 4109 → NO_COVERAGE

74

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxClockFrequency with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxClockFrequency → NO_COVERAGE

76

1.1
Location : read
Killed by : none
Substituted 4118 with 4119 → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE

3.3
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE

77

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::imageSupport → NO_COVERAGE

2.2
Location : read
Killed by : none
Substituted 1 with 0 → NO_COVERAGE

3.3
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::imageSupport with receiver → NO_COVERAGE

4.4
Location : read
Killed by : none
removed conditional - replaced equality check with false → NO_COVERAGE

5.5
Location : read
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

6.6
Location : read
Killed by : none
negated conditional → NO_COVERAGE

7.7
Location : read
Killed by : none
removed conditional - replaced equality check with true → NO_COVERAGE

79

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLong → NO_COVERAGE

2.2
Location : read
Killed by : none
Substituted 4100 with 4101 → NO_COVERAGE

80

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkGroupSize → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkGroupSize with receiver → NO_COVERAGE

82

1.1
Location : read
Killed by : none
Substituted 4106 with 4107 → NO_COVERAGE

83

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt with argument → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoInt → NO_COVERAGE

84

1.1
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::preferredVectorWidthFloat with receiver → NO_COVERAGE

2.2
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::preferredVectorWidthFloat → NO_COVERAGE

86

1.1
Location : read
Killed by : none
Substituted 4101 with 4102 → NO_COVERAGE

87

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/DeviceUtils::getDeviceInfoLongArray → NO_COVERAGE

88

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemSizes → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::maxWorkItemSizes with receiver → NO_COVERAGE

90

1.1
Location : read
Killed by : none
removed call to net/bmahe/genetics4j/gpu/opencl/model/ImmutableDevice$Builder::build → NO_COVERAGE

2.2
Location : read
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/opencl/DeviceReader::read → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.25.7 support