|
1
|
|
package sh.okx.rankup.text; |
|
2
|
|
|
|
3
|
|
import java.util.Map; |
|
4
|
|
import java.util.function.Function; |
|
5
|
|
import sh.okx.rankup.messages.pebble.RankContext; |
|
6
|
|
import sh.okx.rankup.placeholders.Placeholders; |
|
7
|
|
|
|
8
|
|
public class LegacyTextProcessor implements TextProcessor { |
|
9
|
|
|
|
10
|
|
private final Map<String, Object> pebbleContext; |
|
11
|
|
private final Placeholders options; |
|
12
|
|
|
|
13
|
|
public LegacyTextProcessor(Map<String, Object> pebbleContext, Placeholders options) { |
|
14
|
|
this.pebbleContext = pebbleContext; |
|
15
|
|
this.options = options; |
|
16
|
|
} |
|
17
|
|
|
|
18
|
|
|
|
19
|
|
@Override |
|
20
|
|
public String process(String string) { |
|
21
|
|
StringBuilder output = new StringBuilder(); |
|
22
|
|
StringBuilder buffer = new StringBuilder(); |
|
23
|
|
boolean isPlaceholder = false; |
|
24
|
|
|
|
25
|
|
char[] chars = string.toCharArray(); |
|
26
|
3
1. process : changed conditional boundary → KILLED
2. process : Changed increment from 1 to -1 → KILLED
3. process : negated conditional → KILLED
|
for (int i = 0; i < chars.length; i++) { |
|
27
|
|
char c = chars[i]; |
|
28
|
1
1. process : negated conditional → KILLED
|
if (c == '{') { |
|
29
|
3
1. process : changed conditional boundary → SURVIVED
2. process : Replaced integer addition with subtraction → SURVIVED
3. process : negated conditional → KILLED
|
if (i + 1 < chars.length) { |
|
30
|
2
1. process : Replaced integer addition with subtraction → KILLED
2. process : negated conditional → KILLED
|
if (chars[i + 1] != '{') { |
|
31
|
|
isPlaceholder = true; |
|
32
|
|
} else { |
|
33
|
1
1. process : Replaced integer addition with subtraction → KILLED
|
output.append(c).append(chars[i + 1]); |
|
34
|
1
1. process : Changed increment from 1 to -1 → KILLED
|
i++; |
|
35
|
|
} |
|
36
|
|
} else { |
|
37
|
|
output.append(c); |
|
38
|
|
} |
|
39
|
2
1. process : negated conditional → KILLED
2. process : negated conditional → KILLED
|
} else if (c == '}' && isPlaceholder) { |
|
40
|
|
output.append(replacePlaceholder(buffer.toString())); |
|
41
|
|
buffer.delete(0, buffer.length()); |
|
42
|
|
isPlaceholder = false; |
|
43
|
1
1. process : negated conditional → KILLED
|
} else if (isPlaceholder) { |
|
44
|
|
buffer.append(c); |
|
45
|
|
} else { |
|
46
|
|
output.append(c); |
|
47
|
|
} |
|
48
|
|
} |
|
49
|
|
|
|
50
|
1
1. process : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::process → KILLED
|
return output.toString(); |
|
51
|
|
} |
|
52
|
|
|
|
53
|
|
private String replacePlaceholder(String p) { |
|
54
|
1
1. replacePlaceholder : negated conditional → KILLED
|
if ("player".equalsIgnoreCase(p)) { |
|
55
|
1
1. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("player", p); |
|
56
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("old_rank".equalsIgnoreCase(p)) { |
|
57
|
2
1. lambda$replacePlaceholder$0 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$0 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> ((RankContext) o).getRank()); |
|
58
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("rank".equalsIgnoreCase(p)) { |
|
59
|
2
1. lambda$replacePlaceholder$1 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$1 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("next", p, o -> ((RankContext) o).getRank()); |
|
60
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("old_rank_name".equalsIgnoreCase(p)) { |
|
61
|
2
1. lambda$replacePlaceholder$2 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$2 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> ((RankContext) o).getName()); |
|
62
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("rank_name".equalsIgnoreCase(p)) { |
|
63
|
2
1. lambda$replacePlaceholder$3 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$3 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("next", p, o -> ((RankContext) o).getName()); |
|
64
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("money".equalsIgnoreCase(p)) { |
|
65
|
2
1. lambda$replacePlaceholder$4 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$4 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getMoneyFormat().format( |
|
66
|
|
((RankContext) o).getReq("money").getTotal())); |
|
67
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if ("money_needed".equalsIgnoreCase(p)) { |
|
68
|
2
1. lambda$replacePlaceholder$5 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$5 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getMoneyFormat().format( |
|
69
|
|
((RankContext) o).getReq("money").getRemaining())); |
|
70
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if (p.toLowerCase().startsWith("amount ")) { |
|
71
|
|
String requirement = p.substring("amount ".length()); |
|
72
|
2
1. lambda$replacePlaceholder$6 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$6 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getSimpleFormat() |
|
73
|
|
.format(((RankContext) o).getReq(requirement).getTotal())); |
|
74
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if (p.toLowerCase().startsWith("amount_done ")) { |
|
75
|
|
String requirement = p.substring("amount_done ".length()); |
|
76
|
2
1. lambda$replacePlaceholder$7 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$7 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getSimpleFormat() |
|
77
|
|
.format(((RankContext) o).getReq(requirement).getProgress())); |
|
78
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if (p.toLowerCase().startsWith("amount_needed ")) { |
|
79
|
|
String requirement = p.substring("amount_needed ".length()); |
|
80
|
2
1. lambda$replacePlaceholder$8 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$8 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getSimpleFormat() |
|
81
|
|
.format(((RankContext) o).getReq(requirement).getRemaining())); |
|
82
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if (p.toLowerCase().startsWith("percent_done ")) { |
|
83
|
|
String requirement = p.substring("percent_done ".length()); |
|
84
|
2
1. lambda$replacePlaceholder$9 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$9 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getPercentFormat() |
|
85
|
|
.format(((RankContext) o).getReq(requirement).getPercent())); |
|
86
|
1
1. replacePlaceholder : negated conditional → KILLED
|
} else if (p.toLowerCase().startsWith("percent_left ")) { |
|
87
|
|
String requirement = p.substring("percent_left ".length()); |
|
88
|
2
1. lambda$replacePlaceholder$10 : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$10 → KILLED
2. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
return get("rank", p, o -> this.options.getPercentFormat() |
|
89
|
1
1. lambda$replacePlaceholder$10 : Replaced double subtraction with addition → KILLED
|
.format(100 - ((RankContext) o).getReq(requirement).getPercent())); |
|
90
|
|
} |
|
91
|
|
|
|
92
|
1
1. replacePlaceholder : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → NO_COVERAGE
|
return get(p, "{" + p + "}"); |
|
93
|
|
} |
|
94
|
|
|
|
95
|
|
private String get(String key, String def) { |
|
96
|
1
1. get : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → KILLED
|
return get(key, def, String::valueOf); |
|
97
|
|
} |
|
98
|
|
|
|
99
|
|
private String get(String key, String def, Function<Object, String> mapper) { |
|
100
|
|
Object val = pebbleContext.get(key); |
|
101
|
1
1. get : negated conditional → KILLED
|
if (val == null) { |
|
102
|
1
1. get : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → NO_COVERAGE
|
return def; |
|
103
|
|
} else { |
|
104
|
1
1. get : replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → KILLED
|
return mapper.apply(val); |
|
105
|
|
} |
|
106
|
|
} |
|
107
|
|
} |
| | Mutations |
| 26 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] changed conditional boundary → KILLED 2.2 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] Changed increment from 1 to -1 → KILLED 3.3 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] negated conditional → KILLED
|
| 28 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] negated conditional → KILLED
|
| 29 |
|
1.1 Location : process Killed by : none changed conditional boundary → SURVIVED 2.2 Location : process Killed by : none Replaced integer addition with subtraction → SURVIVED 3.3 Location : process Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 30 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] Replaced integer addition with subtraction → KILLED 2.2 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] negated conditional → KILLED
|
| 33 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] Replaced integer addition with subtraction → KILLED
|
| 34 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] Changed increment from 1 to -1 → KILLED
|
| 39 |
|
1.1 Location : process Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED 2.2 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] negated conditional → KILLED
|
| 43 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] negated conditional → KILLED
|
| 50 |
|
1.1 Location : process Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::process → KILLED
|
| 54 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 55 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 56 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 57 |
|
1.1 Location : lambda$replacePlaceholder$0 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$0 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 58 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 59 |
|
1.1 Location : lambda$replacePlaceholder$1 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$1 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 60 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 61 |
|
1.1 Location : lambda$replacePlaceholder$2 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$2 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 62 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 63 |
|
1.1 Location : lambda$replacePlaceholder$3 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$3 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 64 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 65 |
|
1.1 Location : lambda$replacePlaceholder$4 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$4 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 67 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 68 |
|
1.1 Location : lambda$replacePlaceholder$5 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$5 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 70 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 72 |
|
1.1 Location : lambda$replacePlaceholder$6 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$6 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 74 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 76 |
|
1.1 Location : lambda$replacePlaceholder$7 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$7 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 78 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 80 |
|
1.1 Location : lambda$replacePlaceholder$8 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$8 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 82 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 84 |
|
1.1 Location : lambda$replacePlaceholder$9 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$9 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 86 |
|
1.1 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 88 |
|
1.1 Location : lambda$replacePlaceholder$10 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::lambda$replacePlaceholder$10 → KILLED 2.2 Location : replacePlaceholder Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → KILLED
|
| 89 |
|
1.1 Location : lambda$replacePlaceholder$10 Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] Replaced double subtraction with addition → KILLED
|
| 92 |
|
1.1 Location : replacePlaceholder Killed by : none replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::replacePlaceholder → NO_COVERAGE
|
| 96 |
|
1.1 Location : get Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → KILLED
|
| 101 |
|
1.1 Location : get Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] negated conditional → KILLED
|
| 102 |
|
1.1 Location : get Killed by : none replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → NO_COVERAGE
|
| 104 |
|
1.1 Location : get Killed by : sh.okx.rankup.legacy.LegacyPlaceholderTest.[engine:junit-jupiter]/[class:sh.okx.rankup.legacy.LegacyPlaceholderTest]/[method:testLegacy()] replaced return value with "" for sh/okx/rankup/text/LegacyTextProcessor::get → KILLED
|