forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pitest-api-suppressions.xml
317 lines (283 loc) · 17.2 KB
/
pitest-api-suppressions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<?xml version="1.0" encoding="UTF-8"?>
<suppressedMutations>
<mutation unstable="false">
<sourceFile>AbstractCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractCheck</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable tabWidth</description>
<lineContent>private int tabWidth = CommonUtil.DEFAULT_TAB_WIDTH;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractCheck</mutatedClass>
<mutatedMethod>getTokenNames</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableSet with argument</description>
<lineContent>return Collections.unmodifiableSet(tokens);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/util/Map::get</description>
<lineContent>getCustomMessages().get(key)));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/AbstractCheck::getId</description>
<lineContent>getId(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable fileExtensions</description>
<lineContent>private String[] fileExtensions = CommonUtil.EMPTY_STRING_ARRAY;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable tabWidth</description>
<lineContent>private int tabWidth = CommonUtil.DEFAULT_TAB_WIDTH;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod>getFileExtensions</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Arrays::copyOf with argument</description>
<lineContent>return Arrays.copyOf(fileExtensions, fileExtensions.length);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/util/Map::get</description>
<lineContent>getCustomMessages().get(key)));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Map::get with argument</description>
<lineContent>getCustomMessages().get(key)));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck::getId</description>
<lineContent>getId(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractFileSetCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck</mutatedClass>
<mutatedMethod>log</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck::getSeverityLevel</description>
<lineContent>getSeverityLevel(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AbstractViolationReporter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter</mutatedClass>
<mutatedMethod>setSeverity</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable severityLevel</description>
<lineContent>severityLevel = SeverityLevel.getInstance(severity);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AutomaticBean.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AutomaticBean</mutatedClass>
<mutatedMethod>tryCopyProperty</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/lang/String::format with argument</description>
<lineContent>final String message = String.format(Locale.ROOT,</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AutomaticBean.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AutomaticBean$RelaxedAccessModifierArrayConverter</mutatedClass>
<mutatedMethod>convert</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/lang/String::trim with receiver</description>
<lineContent>result.add(AccessModifierOption.getInstance(token.trim()));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AutomaticBean.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AutomaticBean$RelaxedAccessModifierArrayConverter</mutatedClass>
<mutatedMethod>convert</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/lang/String::trim with receiver</description>
<lineContent>value.toString().trim(), COMMA_SEPARATOR);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>AutomaticBean.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.AutomaticBean$RelaxedStringArrayConverter</mutatedClass>
<mutatedMethod>convert</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/lang/String::trim with receiver</description>
<lineContent>value.toString().trim(), COMMA_SEPARATOR);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>BeforeExecutionFileFilterSet.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilterSet</mutatedClass>
<mutatedMethod>getBeforeExecutionFileFilters</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableSet with argument</description>
<lineContent>return Collections.unmodifiableSet(beforeExecutionFileFilters);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>BeforeExecutionFileFilterSet.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilterSet</mutatedClass>
<mutatedMethod>toString</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.returns.EmptyObjectReturnValsMutator</mutator>
<description>replaced return value with "" for com/puppycrawl/tools/checkstyle/api/BeforeExecutionFileFilterSet::toString</description>
<lineContent>return beforeExecutionFileFilters.toString();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileContents.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileContents</mutatedClass>
<mutatedMethod>getBlockComments</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableMap with argument</description>
<lineContent>return Collections.unmodifiableMap(clangComments);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileContents.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileContents</mutatedClass>
<mutatedMethod>getSingleLineComments</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableMap with argument</description>
<lineContent>return Collections.unmodifiableMap(cppComments);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable charset</description>
<lineContent>charset = fileText.charset;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable charset</description>
<lineContent>charset = null;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/nio/charset/CharsetDecoder::onMalformedInput</description>
<lineContent>decoder.onMalformedInput(CodingErrorAction.REPLACE);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/nio/charset/CharsetDecoder::onMalformedInput with receiver</description>
<lineContent>decoder.onMalformedInput(CodingErrorAction.REPLACE);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/nio/charset/CharsetDecoder::onUnmappableCharacter</description>
<lineContent>decoder.onUnmappableCharacter(CodingErrorAction.REPLACE);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/nio/charset/CharsetDecoder::onUnmappableCharacter with receiver</description>
<lineContent>decoder.onUnmappableCharacter(CodingErrorAction.REPLACE);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FileText.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FileText</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable lineBreaks</description>
<lineContent>lineBreaks = null;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FilterSet.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FilterSet</mutatedClass>
<mutatedMethod>getFilters</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableSet with argument</description>
<lineContent>return Collections.unmodifiableSet(filters);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FilterSet.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FilterSet</mutatedClass>
<mutatedMethod>toString</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.returns.EmptyObjectReturnValsMutator</mutator>
<description>replaced return value with "" for com/puppycrawl/tools/checkstyle/api/FilterSet::toString</description>
<lineContent>return filters.toString();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FullIdent.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FullIdent</mutatedClass>
<mutatedMethod>createFullIdentBelow</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/DetailAST::getFirstChild</description>
<lineContent>return createFullIdent(ast.getFirstChild());</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FullIdent.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FullIdent</mutatedClass>
<mutatedMethod>isArrayTypeDeclaration</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getFirstChild with receiver</description>
<lineContent>DetailAST expression = arrayDeclarator.getFirstChild();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>FullIdent.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FullIdent</mutatedClass>
<mutatedMethod>isArrayTypeDeclaration</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/DetailAST::getFirstChild</description>
<lineContent>expression = expression.getFirstChild();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>Violation.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.Violation</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Arrays::copyOf with argument</description>
<lineContent>this.args = Arrays.copyOf(args, args.length);</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>Violation.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.Violation</mutatedClass>
<mutatedMethod><init></mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable args</description>
<lineContent>this.args = null;</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>Violation.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.Violation</mutatedClass>
<mutatedMethod>compareTo</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/lang/String::compareTo</description>
<lineContent>result = getViolation().compareTo(other.getViolation());</lineContent>
</mutation>
</suppressedMutations>