-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfection.json
More file actions
208 lines (207 loc) · 7.9 KB
/
infection.json
File metadata and controls
208 lines (207 loc) · 7.9 KB
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
{
"timeout": 120,
"source": {
"directories": [
"src"
],
"excludes": [
"Output/DashboardOutputHandler.php"
]
},
"logs": {
"text": "reports/infection/infection.log",
"summary": "reports/infection/infection-summary.log",
"perMutator": "reports/infection/per-mutator.md",
"html": "reports/infection/mutation-report.html"
},
"mutators": {
"@default": true,
"@function_signature": false,
"IncrementInteger": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows",
"Wtyd\\GitHooks\\Utils\\Platform::isWindows",
"Wtyd\\GitHooks\\Output\\ToolOutputParser\\PhpmdOutputParser::parse::42",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeDryRun::150",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::allocate::23",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::47",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::54",
"Wtyd\\GitHooks\\Execution\\ProcessPool::terminateAll::106"
]
},
"DecrementInteger": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows",
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectUnix::46",
"Wtyd\\GitHooks\\Utils\\Platform::isWindows",
"Wtyd\\GitHooks\\Output\\JunitResultFormatter::parseSeconds::74",
"Wtyd\\GitHooks\\Execution\\ThreadCapability::__construct::21",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::51",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::54",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::239",
"Wtyd\\GitHooks\\Utils\\FileUtils::detectMainBranch::144",
"Wtyd\\GitHooks\\Tools\\Process\\Execution\\ProcessExecutionAbstract::executionTime::75",
"Wtyd\\GitHooks\\Execution\\ProcessPool::terminateAll::106",
"Wtyd\\GitHooks\\Output\\CI\\GitHubActionsDecorator::decorate::49"
]
},
"UnwrapStrToUpper": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\Platform::isWindows"
]
},
"UnwrapSubstr": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\Platform::isWindows"
]
},
"CastInt": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::22",
"Wtyd\\GitHooks\\Output\\ToolOutputParser\\PhpmdOutputParser::parse::42"
]
},
"CastBool": {
"ignore": [
"Wtyd\\GitHooks\\Jobs\\JobAbstract::__construct::59"
]
},
"CastString": {
"ignore": [
"Wtyd\\GitHooks\\Tools\\Process\\Execution\\MultiProcessesExecution::runProcesses::49"
]
},
"ArrayItemRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\Platform::normalizePath",
"Wtyd\\GitHooks\\Tools\\Process\\Execution\\MultiProcessesExecution::finishExecution::106",
"Wtyd\\GitHooks\\Tools\\Process\\ProcessExecutionFactory\\ProcessExecutionFactoryFake"
]
},
"UnwrapArrayValues": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\ExecutionContext::getBranchDiffFilesLazy"
]
},
"TrueValue": {
"ignore": [
"Wtyd\\GitHooks\\Configuration\\ConfigurationMigrator::migrate",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::220"
]
},
"SharedCaseRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Output\\CodeClimateResultFormatter::mapSeverity"
]
},
"Concat": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::29",
"Wtyd\\GitHooks\\Configuration\\ConfigurationMigrator::renderPhp::118"
]
},
"ConcatOperandRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::29",
"Wtyd\\GitHooks\\Configuration\\ConfigurationMigrator::renderPhp::118",
"Wtyd\\GitHooks\\Tools\\Process\\Execution\\ProcessExecutionAbstract::executionTime::75"
]
},
"MethodCallRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::29",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::propagateContext::249"
]
},
"Identical": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::30"
]
},
"IntegerNegation": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::39"
]
},
"FunctionCallRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::execCommand::98",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::239"
]
},
"Assignment": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::39"
]
},
"ReturnRemoval": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\ExecutionContext::filterFilesForMode::99",
"Wtyd\\GitHooks\\Execution\\FlowPreparer::filterJobForMode::208",
"Wtyd\\GitHooks\\Jobs\\JobAbstract::isEmpty::293",
"Wtyd\\GitHooks\\Hooks\\PatternMatcher::fileMatchesPattern::91"
]
},
"Coalesce": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::updatePeakThreads::280"
]
},
"Break_": {
"ignore": [
"Wtyd\\GitHooks\\Hooks\\PatternMatcher::matchesBranch::34",
"Wtyd\\GitHooks\\Hooks\\PatternMatcher::matchesFiles::64",
"Wtyd\\GitHooks\\Hooks\\PatternMatcher::matchesFiles::74",
"Wtyd\\GitHooks\\Execution\\ThreadBudgetAllocator::calculateMaxParallel::91",
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::228"
]
},
"Ternary": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel"
]
},
"IfNegation": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel"
]
},
"NotIdentical": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::235"
]
},
"Minus": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::235"
]
},
"GreaterThanOrEqualTo": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::235"
]
},
"GreaterThanOrEqualToNegotiation": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::235"
]
},
"LogicalAnd": {
"ignore": [
"Wtyd\\GitHooks\\Execution\\FlowExecutor::executeParallel::235",
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::22",
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectUnix::55"
]
},
"GreaterThan": {
"ignore": [
"Wtyd\\GitHooks\\Utils\\CpuDetector::detectWindows::22"
]
},
"UnwrapTrim": {
"ignore": [
"Wtyd\\GitHooks\\Output\\CI\\GitHubActionsDecorator::decorate::50"
]
}
}
}