|
1
|
|
/* |
|
2
|
|
* Copyright 2004 the original author or authors. |
|
3
|
|
* |
|
4
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
5
|
|
* you may not use this file except in compliance with the License. |
|
6
|
|
* You may obtain a copy of the License at |
|
7
|
|
* |
|
8
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9
|
|
* |
|
10
|
|
* Unless required by applicable law or agreed to in writing, software |
|
11
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
12
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13
|
|
* See the License for the specific language governing permissions and |
|
14
|
|
* limitations under the License. |
|
15
|
|
*/ |
|
16
|
|
package com.ancientprogramming.fixedformat4j.annotation; |
|
17
|
|
|
|
18
|
|
import com.ancientprogramming.fixedformat4j.format.FormatInstructions; |
|
19
|
|
import org.apache.commons.lang3.StringUtils; |
|
20
|
|
|
|
21
|
|
/** |
|
22
|
|
* Sign defines where to place a sign defining a positive or negative number. |
|
23
|
|
* Is to be used in formatters operating numbers. |
|
24
|
|
* |
|
25
|
|
* @author Jacob von Eyben - <a href="https://eybenconsult.com">https://eybenconsult.com</a> |
|
26
|
|
* @since 1.1.0 |
|
27
|
|
*/ |
|
28
|
|
public enum Sign { |
|
29
|
|
|
|
30
|
|
/** |
|
31
|
|
* Doesn't do anything with signs. |
|
32
|
|
* This just delegate to the {@link Align} defined in {@link FormatInstructions}. |
|
33
|
|
*/ |
|
34
|
|
NOSIGN { |
|
35
|
|
/** {@inheritDoc} */ |
|
36
|
|
public String apply(String value, FormatInstructions instructions) { |
|
37
|
6
1. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2. apply : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
3. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
4. apply : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
5. apply : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$1::apply → KILLED
6. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
|
return instructions.getAlignment().apply(value, instructions.getLength(), instructions.getPaddingChar()); |
|
38
|
|
} |
|
39
|
|
|
|
40
|
|
/** {@inheritDoc} */ |
|
41
|
|
public String remove(String value, FormatInstructions instructions) { |
|
42
|
4
1. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2. remove : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
3. remove : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
4. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
|
String result = instructions.getAlignment().remove(value, instructions.getPaddingChar()); |
|
43
|
4
1. remove : removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
2. remove : removed conditional - replaced equality check with false → KILLED
3. remove : negated conditional → KILLED
4. remove : removed conditional - replaced equality check with true → KILLED
|
if (StringUtils.isEmpty(result)) { |
|
44
|
|
result = "0"; |
|
45
|
|
} |
|
46
|
1
1. remove : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$1::remove → KILLED
|
return result; |
|
47
|
|
|
|
48
|
|
} |
|
49
|
|
}, |
|
50
|
|
|
|
51
|
|
/** |
|
52
|
|
* Prepend the sign to the string |
|
53
|
|
*/ |
|
54
|
|
PREPEND { |
|
55
|
|
/** {@inheritDoc} */ |
|
56
|
|
public String apply(String value, FormatInstructions instructions) { |
|
57
|
|
String sign; |
|
58
|
13
1. apply : removed conditional - replaced equality check with false → KILLED
2. apply : removed conditional - replaced equality check with true → KILLED
3. apply : removed conditional - replaced equality check with false → KILLED
4. apply : removed conditional - replaced equality check with true → KILLED
5. apply : removed call to java/lang/String::charAt → KILLED
6. apply : negated conditional → KILLED
7. apply : Substituted 0 with 1 → KILLED
8. apply : negated conditional → KILLED
9. apply : Substituted 45 with 46 → KILLED
10. apply : removed conditional - replaced equality check with true → KILLED
11. apply : removed conditional - replaced equality check with false → KILLED
12. apply : removed call to java/lang/String::isEmpty → KILLED
13. apply : negated conditional → KILLED
|
if (value != null && !value.isEmpty() && value.charAt(0) == '-') { |
|
59
|
|
sign = "-"; |
|
60
|
3
1. apply : Substituted 1 with 0 → KILLED
2. apply : removed call to java/lang/String::substring → KILLED
3. apply : replaced call to java/lang/String::substring with receiver → KILLED
|
value = value.substring(1); |
|
61
|
|
} else { |
|
62
|
|
sign = "+"; |
|
63
|
|
} |
|
64
|
5
1. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
3. apply : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
4. apply : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
5. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
|
String result = instructions.getAlignment().apply(value, instructions.getLength(), instructions.getPaddingChar()); |
|
65
|
4
1. apply : Substituted 1 with 0 → KILLED
2. apply : removed call to java/lang/String::substring → KILLED
3. apply : replaced call to java/lang/String::substring with receiver → KILLED
4. apply : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$2::apply → KILLED
|
return sign + result.substring(1); |
|
66
|
|
} |
|
67
|
|
|
|
68
|
|
/** {@inheritDoc} */ |
|
69
|
|
public String remove(String value, FormatInstructions instructions) { |
|
70
|
10
1. remove : removed conditional - replaced equality check with true → SURVIVED
2. remove : removed conditional - replaced equality check with false → SURVIVED
3. remove : removed call to java/lang/String::isEmpty → SURVIVED
4. remove : removed conditional - replaced equality check with false → KILLED
5. remove : removed call to java/lang/String::valueOf → KILLED
6. remove : removed call to java/lang/String::charAt → KILLED
7. remove : negated conditional → KILLED
8. remove : removed conditional - replaced equality check with true → KILLED
9. remove : Substituted 0 with 1 → KILLED
10. remove : negated conditional → KILLED
|
String sign = (value == null || value.isEmpty()) ? "" : String.valueOf(value.charAt(0)); |
|
71
|
10
1. remove : removed conditional - replaced equality check with true → SURVIVED
2. remove : removed conditional - replaced equality check with false → SURVIVED
3. remove : removed call to java/lang/String::isEmpty → SURVIVED
4. remove : removed conditional - replaced equality check with true → KILLED
5. remove : replaced call to java/lang/String::substring with receiver → KILLED
6. remove : Substituted 1 with 0 → KILLED
7. remove : negated conditional → KILLED
8. remove : removed conditional - replaced equality check with false → KILLED
9. remove : negated conditional → KILLED
10. remove : removed call to java/lang/String::substring → KILLED
|
String valueWithoutSign = (value == null || value.isEmpty()) ? "" : value.substring(1); |
|
72
|
4
1. remove : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
2. remove : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
3. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
4. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
|
String result = instructions.getAlignment().remove(valueWithoutSign, instructions.getPaddingChar()); |
|
73
|
8
1. remove : removed conditional - replaced equality check with true → SURVIVED
2. remove : removed call to java/lang/String::isEmpty → SURVIVED
3. remove : removed conditional - replaced equality check with false → KILLED
4. remove : removed call to com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
5. remove : negated conditional → KILLED
6. remove : removed conditional - replaced equality check with false → KILLED
7. remove : negated conditional → KILLED
8. remove : removed conditional - replaced equality check with true → KILLED
|
if (!sign.isEmpty() && removeSign(instructions, sign, result)) { |
|
74
|
|
sign = ""; |
|
75
|
|
} |
|
76
|
|
|
|
77
|
4
1. remove : removed conditional - replaced equality check with true → KILLED
2. remove : negated conditional → KILLED
3. remove : removed conditional - replaced equality check with false → KILLED
4. remove : removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
|
if (StringUtils.isEmpty(result)) { |
|
78
|
|
result = "0"; |
|
79
|
|
} |
|
80
|
1
1. remove : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$2::remove → KILLED
|
return sign + result; |
|
81
|
|
} |
|
82
|
|
}, |
|
83
|
|
|
|
84
|
|
/** |
|
85
|
|
* Append the sign to the string |
|
86
|
|
*/ |
|
87
|
|
APPEND { |
|
88
|
|
/** {@inheritDoc} */ |
|
89
|
|
public String apply(String value, FormatInstructions instructions) { |
|
90
|
|
String sign; |
|
91
|
13
1. apply : removed conditional - replaced equality check with true → SURVIVED
2. apply : removed call to java/lang/String::isEmpty → KILLED
3. apply : negated conditional → KILLED
4. apply : removed conditional - replaced equality check with false → KILLED
5. apply : removed conditional - replaced equality check with false → KILLED
6. apply : removed conditional - replaced equality check with true → KILLED
7. apply : removed call to java/lang/String::charAt → KILLED
8. apply : Substituted 0 with 1 → KILLED
9. apply : negated conditional → KILLED
10. apply : negated conditional → KILLED
11. apply : removed conditional - replaced equality check with false → KILLED
12. apply : removed conditional - replaced equality check with true → KILLED
13. apply : Substituted 45 with 46 → KILLED
|
if (value != null && !value.isEmpty() && value.charAt(0) == '-') { |
|
92
|
|
sign = "-"; |
|
93
|
3
1. apply : removed call to java/lang/String::substring → KILLED
2. apply : replaced call to java/lang/String::substring with receiver → KILLED
3. apply : Substituted 1 with 0 → KILLED
|
value = value.substring(1); |
|
94
|
|
} else { |
|
95
|
|
sign = "+"; |
|
96
|
|
} |
|
97
|
5
1. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
2. apply : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
3. apply : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
4. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
5. apply : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
|
String result = instructions.getAlignment().apply(value, instructions.getLength(), instructions.getPaddingChar()); |
|
98
|
4
1. apply : removed call to java/lang/String::substring → KILLED
2. apply : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$3::apply → KILLED
3. apply : replaced call to java/lang/String::substring with receiver → KILLED
4. apply : Substituted 1 with 0 → KILLED
|
return result.substring(1) + sign; |
|
99
|
|
|
|
100
|
|
} |
|
101
|
|
/** {@inheritDoc} */ |
|
102
|
|
public String remove(String value, FormatInstructions instructions) { |
|
103
|
12
1. remove : removed conditional - replaced equality check with false → SURVIVED
2. remove : removed call to java/lang/String::isEmpty → SURVIVED
3. remove : removed conditional - replaced equality check with true → SURVIVED
4. remove : removed conditional - replaced equality check with true → KILLED
5. remove : removed call to java/lang/String::valueOf → KILLED
6. remove : removed call to java/lang/String::charAt → KILLED
7. remove : Replaced integer subtraction with addition → KILLED
8. remove : negated conditional → KILLED
9. remove : removed conditional - replaced equality check with false → KILLED
10. remove : removed call to java/lang/String::length → KILLED
11. remove : negated conditional → KILLED
12. remove : Substituted 1 with 0 → KILLED
|
String sign = (value == null || value.isEmpty()) ? "" : String.valueOf(value.charAt(value.length() - 1)); |
|
104
|
13
1. remove : removed call to java/lang/String::isEmpty → SURVIVED
2. remove : Substituted 0 with 1 → SURVIVED
3. remove : removed conditional - replaced equality check with true → SURVIVED
4. remove : removed conditional - replaced equality check with false → SURVIVED
5. remove : negated conditional → KILLED
6. remove : removed call to java/lang/String::substring → KILLED
7. remove : removed conditional - replaced equality check with false → KILLED
8. remove : negated conditional → KILLED
9. remove : replaced call to java/lang/String::substring with receiver → KILLED
10. remove : Replaced integer subtraction with addition → KILLED
11. remove : removed conditional - replaced equality check with true → KILLED
12. remove : removed call to java/lang/String::length → KILLED
13. remove : Substituted 1 with 0 → KILLED
|
String valueWithoutSign = (value == null || value.isEmpty()) ? "" : value.substring(0, value.length() - 1); |
|
105
|
4
1. remove : removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
2. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
3. remove : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
4. remove : replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
|
String result = instructions.getAlignment().remove(valueWithoutSign, instructions.getPaddingChar()); |
|
106
|
8
1. remove : removed call to java/lang/String::isEmpty → SURVIVED
2. remove : removed conditional - replaced equality check with true → SURVIVED
3. remove : removed conditional - replaced equality check with true → KILLED
4. remove : removed conditional - replaced equality check with false → KILLED
5. remove : negated conditional → KILLED
6. remove : removed conditional - replaced equality check with false → KILLED
7. remove : negated conditional → KILLED
8. remove : removed call to com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
|
if (!sign.isEmpty() && removeSign(instructions, sign, result)) { |
|
107
|
|
sign = ""; |
|
108
|
|
} |
|
109
|
4
1. remove : negated conditional → KILLED
2. remove : removed conditional - replaced equality check with false → KILLED
3. remove : removed conditional - replaced equality check with true → KILLED
4. remove : removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
|
if (StringUtils.isEmpty(result)) { |
|
110
|
|
result = "0"; |
|
111
|
|
} |
|
112
|
1
1. remove : replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$3::remove → KILLED
|
return sign + result; |
|
113
|
|
} |
|
114
|
|
}; |
|
115
|
|
|
|
116
|
|
/** |
|
117
|
|
*remove sign in three cases: |
|
118
|
|
* 1. positive sign |
|
119
|
|
* 2. the unsigned value is empty (can happen if paddingchar is 0 and the value is zero) |
|
120
|
|
* 3. the unsigned value is 0 (can happen if paddingchar isn't 0 and the value is zero) |
|
121
|
|
* @param instructions |
|
122
|
|
* @param sign |
|
123
|
|
* @param valueWithoutSign |
|
124
|
|
* @return |
|
125
|
|
*/ |
|
126
|
|
private static boolean removeSign(FormatInstructions instructions, String sign, String valueWithoutSign) { |
|
127
|
10
1. removeSign : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatNumberData::getPositiveSign → KILLED
2. removeSign : replaced boolean return with true for com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
3. removeSign : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getFixedFormatNumberData → KILLED
4. removeSign : negated conditional → KILLED
5. removeSign : removed call to java/lang/Character::valueOf → KILLED
6. removeSign : removed call to java/lang/String::charAt → KILLED
7. removeSign : removed conditional - replaced equality check with true → KILLED
8. removeSign : Substituted 0 with 1 → KILLED
9. removeSign : removed conditional - replaced equality check with false → KILLED
10. removeSign : removed call to java/lang/Character::equals → KILLED
|
return instructions.getFixedFormatNumberData().getPositiveSign().equals(sign.charAt(0)) || |
|
128
|
4
1. removeSign : removed conditional - replaced equality check with false → KILLED
2. removeSign : removed conditional - replaced equality check with true → KILLED
3. removeSign : removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
4. removeSign : negated conditional → KILLED
|
StringUtils.isEmpty(valueWithoutSign) || |
|
129
|
6
1. removeSign : removed call to java/lang/String::equals → KILLED
2. removeSign : Substituted 0 with 1 → KILLED
3. removeSign : removed conditional - replaced equality check with true → KILLED
4. removeSign : negated conditional → KILLED
5. removeSign : Substituted 1 with 0 → KILLED
6. removeSign : removed conditional - replaced equality check with false → KILLED
|
"0".equals(valueWithoutSign); |
|
130
|
|
} |
|
131
|
|
|
|
132
|
|
|
|
133
|
|
/** |
|
134
|
|
* Applies the sign to {@code value} according to this strategy, padding the result to the |
|
135
|
|
* length specified in {@code instructions}. |
|
136
|
|
* |
|
137
|
|
* @param value the raw numeric string (may include a leading {@code -}) |
|
138
|
|
* @param instructions the formatting instructions for the field |
|
139
|
|
* @return the sign-formatted string padded to the required length |
|
140
|
|
*/ |
|
141
|
|
public abstract String apply(String value, FormatInstructions instructions); |
|
142
|
|
|
|
143
|
|
/** |
|
144
|
|
* Strips the sign character from {@code value} and returns the bare numeric string. |
|
145
|
|
* |
|
146
|
|
* @param value the field value as read from the fixed-width record |
|
147
|
|
* @param instructions the formatting instructions for the field |
|
148
|
|
* @return the numeric string with the sign and padding removed |
|
149
|
|
*/ |
|
150
|
|
public abstract String remove(String value, FormatInstructions instructions); |
|
151
|
|
} |
| | Mutations |
| 37 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
5.5 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$1::apply → KILLED
6.6 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
|
| 42 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testMaxAndMinValue()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testMaxAndMinValue()] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignNoSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
|
| 43 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#3] removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#3] removed conditional - replaced equality check with false → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testMaxAndMinValue()] negated conditional → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testMaxAndMinValue()] removed conditional - replaced equality check with true → KILLED
|
| 46 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testMaxAndMinValue()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$1::remove → KILLED
|
| 58 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed conditional - replaced equality check with false → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed conditional - replaced equality check with true → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed conditional - replaced equality check with false → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed conditional - replaced equality check with true → KILLED
5.5 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed call to java/lang/String::charAt → KILLED
6.6 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] negated conditional → KILLED
7.7 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] Substituted 0 with 1 → KILLED
8.8 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] negated conditional → KILLED
9.9 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] Substituted 45 with 46 → KILLED
10.10 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignPrepend()] removed conditional - replaced equality check with true → KILLED
11.11 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed conditional - replaced equality check with false → KILLED
12.12 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignPrepend()] removed call to java/lang/String::isEmpty → KILLED
13.13 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] negated conditional → KILLED
|
| 60 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] Substituted 1 with 0 → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] removed call to java/lang/String::substring → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testFormat()] replaced call to java/lang/String::substring with receiver → KILLED
|
| 64 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
5.5 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
|
| 65 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] Substituted 1 with 0 → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] removed call to java/lang/String::substring → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] replaced call to java/lang/String::substring with receiver → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestIntegerFormatter]/[method:testZeroWithSign()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$2::apply → KILLED
|
| 70 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] removed conditional - replaced equality check with false → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed call to java/lang/String::valueOf → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed call to java/lang/String::charAt → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] negated conditional → KILLED
5.5 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
6.6 Location : remove Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
7.7 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
8.8 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] removed conditional - replaced equality check with true → KILLED
9.9 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] Substituted 0 with 1 → KILLED
10.10 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] negated conditional → KILLED
|
| 71 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed conditional - replaced equality check with true → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] replaced call to java/lang/String::substring with receiver → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] Substituted 1 with 0 → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] negated conditional → KILLED
5.5 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed conditional - replaced equality check with false → KILLED
6.6 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
7.7 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] negated conditional → KILLED
8.8 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed call to java/lang/String::substring → KILLED
9.9 Location : remove Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
10.10 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
|
| 72 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
|
| 73 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed conditional - replaced equality check with false → KILLED
2.2 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed call to com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] negated conditional → KILLED
5.5 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed conditional - replaced equality check with false → KILLED
6.6 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
7.7 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] negated conditional → KILLED
8.8 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestLongFormatter]/[method:testParse()] removed conditional - replaced equality check with true → KILLED
|
| 77 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestBooleanNumberDecimalFormatting]/[test-template:formatsAndParsesIntegerWithSign(com.ancientprogramming.fixedformat4j.annotation.Sign, char, char, int, com.ancientprogramming.fixedformat4j.annotation.Align, char, java.lang.Integer, java.lang.String)]/[test-template-invocation:#4] removed conditional - replaced equality check with true → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] negated conditional → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed conditional - replaced equality check with false → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
|
| 80 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithPrepend()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$2::remove → KILLED
|
| 91 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/String::isEmpty → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] negated conditional → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed conditional - replaced equality check with false → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed conditional - replaced equality check with false → KILLED
5.5 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed conditional - replaced equality check with true → KILLED
6.6 Location : apply Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
7.7 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to java/lang/String::charAt → KILLED
8.8 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] Substituted 0 with 1 → KILLED
9.9 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] negated conditional → KILLED
10.10 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] negated conditional → KILLED
11.11 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed conditional - replaced equality check with false → KILLED
12.12 Location : apply Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
13.13 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] Substituted 45 with 46 → KILLED
|
| 93 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to java/lang/String::substring → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] replaced call to java/lang/String::substring with receiver → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] Substituted 1 with 0 → KILLED
|
| 97 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::apply → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::apply with argument → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getLength → KILLED
5.5 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
|
| 98 |
|
1.1 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] removed call to java/lang/String::substring → KILLED
2.2 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$3::apply → KILLED
3.3 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] replaced call to java/lang/String::substring with receiver → KILLED
4.4 Location : apply Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestShortFormatter]/[method:testAppendSign()] Substituted 1 with 0 → KILLED
|
| 103 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to java/lang/String::valueOf → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/String::charAt → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Replaced integer subtraction with addition → KILLED
5.5 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
6.6 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with false → KILLED
7.7 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to java/lang/String::length → KILLED
8.8 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
9.9 Location : remove Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
10.10 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
11.11 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
12.12 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Substituted 1 with 0 → KILLED
|
| 104 |
|
1.1 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/String::substring → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with false → KILLED
5.5 Location : remove Killed by : none Substituted 0 with 1 → SURVIVED
Covering tests
6.6 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
7.7 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] replaced call to java/lang/String::substring with receiver → KILLED
8.8 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
9.9 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Replaced integer subtraction with addition → KILLED
10.10 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
11.11 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to java/lang/String::length → KILLED
12.12 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Substituted 1 with 0 → KILLED
13.13 Location : remove Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
|
| 105 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to com/ancientprogramming/fixedformat4j/annotation/Align::remove → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithAppend()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getPaddingChar → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getAlignment → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithAppend()] replaced call to com/ancientprogramming/fixedformat4j/annotation/Align::remove with argument → KILLED
|
| 106 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed conditional - replaced equality check with false → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] negated conditional → KILLED
4.4 Location : remove Killed by : none removed call to java/lang/String::isEmpty → SURVIVED
Covering tests
5.5 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed conditional - replaced equality check with false → KILLED
6.6 Location : remove Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
7.7 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] negated conditional → KILLED
8.8 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
|
| 109 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithAppend()] negated conditional → KILLED
2.2 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithAppend()] removed conditional - replaced equality check with false → KILLED
3.3 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
4.4 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignZeroWithAppend()] removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
|
| 112 |
|
1.1 Location : remove Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] replaced return value with "" for com/ancientprogramming/fixedformat4j/annotation/Sign$3::remove → KILLED
|
| 127 |
|
1.1 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatNumberData::getPositiveSign → KILLED
2.2 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] replaced boolean return with true for com/ancientprogramming/fixedformat4j/annotation/Sign::removeSign → KILLED
3.3 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::getFixedFormatNumberData → KILLED
4.4 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
5.5 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/Character::valueOf → KILLED
6.6 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/String::charAt → KILLED
7.7 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
8.8 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Substituted 0 with 1 → KILLED
9.9 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with false → KILLED
10.10 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to java/lang/Character::equals → KILLED
|
| 128 |
|
1.1 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with false → KILLED
2.2 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
3.3 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed call to org/apache/commons/lang3/StringUtils::isEmpty → KILLED
4.4 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] negated conditional → KILLED
|
| 129 |
|
1.1 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed call to java/lang/String::equals → KILLED
2.2 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] Substituted 0 with 1 → KILLED
3.3 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testSignAppend()] removed conditional - replaced equality check with true → KILLED
4.4 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] negated conditional → KILLED
5.5 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] Substituted 1 with 0 → KILLED
6.6 Location : removeSign Killed by : com.ancientprogramming.fixedformat4j.annotation.TestSign.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.annotation.TestSign]/[method:testRemoveSign_negativeZeroWithSpacePadding_stripsSign_append()] removed conditional - replaced equality check with false → KILLED
|