-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
pitest-tree-walker-suppressions.xml
137 lines (123 loc) · 7.73 KB
/
pitest-tree-walker-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
<?xml version="1.0" encoding="UTF-8"?>
<suppressedMutations>
<mutation unstable="false">
<sourceFile>DetailNodeTreeStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.DetailNodeTreeStringPrinter</mutatedClass>
<mutatedMethod>parseFile</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/nio/charset/Charset::name</description>
<lineContent>System.getProperty("file.encoding", StandardCharsets.UTF_8.name()));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>DetailNodeTreeStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.DetailNodeTreeStringPrinter</mutatedClass>
<mutatedMethod>parseFile</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/lang/System::getProperty with argument</description>
<lineContent>System.getProperty("file.encoding", StandardCharsets.UTF_8.name()));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>DetailNodeTreeStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.DetailNodeTreeStringPrinter</mutatedClass>
<mutatedMethod>parseFile</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/io/File::getAbsoluteFile with receiver</description>
<lineContent>final FileText text = new FileText(file.getAbsoluteFile(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>JavadocDetailNodeParser.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.JavadocDetailNodeParser</mutatedClass>
<mutatedMethod>getMissedHtmlTag</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/util/Deque::pop</description>
<lineContent>htmlTagNameStart = stack.pop();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>SuppressionsStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.SuppressionsStringPrinter</mutatedClass>
<mutatedMethod>printSuppressions</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/nio/charset/Charset::name</description>
<lineContent>System.getProperty("file.encoding", StandardCharsets.UTF_8.name()));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>SuppressionsStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.SuppressionsStringPrinter</mutatedClass>
<mutatedMethod>printSuppressions</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/lang/System::getProperty with argument</description>
<lineContent>System.getProperty("file.encoding", StandardCharsets.UTF_8.name()));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>SuppressionsStringPrinter.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.SuppressionsStringPrinter</mutatedClass>
<mutatedMethod>printSuppressions</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/io/File::getAbsoluteFile with receiver</description>
<lineContent>final FileText fileText = new FileText(file.getAbsoluteFile(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>createNewCheckSortedSet</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/util/Comparator::thenComparing with receiver</description>
<lineContent>.thenComparing(AbstractCheck::getId,</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>createNewCheckSortedSet</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/util/Comparator::thenComparing with receiver</description>
<lineContent>.thenComparing(AbstractCheck::hashCode));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>createNewCheckSortedSet</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/util/Comparator::naturalOrder</description>
<lineContent>Comparator.nullsLast(Comparator.naturalOrder()))</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>getExternalResourceLocations</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/util/stream/Stream::map with receiver</description>
<lineContent>.map(ExternalResourceHolder.class::cast)</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>lambda$createNewCheckSortedSet$3</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.returns.EmptyObjectReturnValsMutator</mutator>
<description>replaced return value with "" for com/puppycrawl/tools/checkstyle/TreeWalker::lambda$createNewCheckSortedSet$3</description>
<lineContent>Comparator.<AbstractCheck, String>comparing(check -> check.getClass().getName())</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>registerCheck</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/lang/Class::getName</description>
<lineContent>+ "method to return 'true'", check.getClass().getName(),</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>registerCheck</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/utils/TokenUtil::getTokenName</description>
<lineContent>TokenUtil.getTokenName(tokenId));</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>TreeWalker.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.TreeWalker</mutatedClass>
<mutatedMethod>registerCheck</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, "Check '%s' waits for comment type "</lineContent>
</mutation>
</suppressedMutations>