@codacy/tools-unsupported-tools 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +261 -0
- package/dist/patterns/CodeNarc.json +4890 -0
- package/dist/patterns/Credo.json +1276 -0
- package/dist/patterns/PHPCS.json +10230 -0
- package/dist/patterns/SonarCSharp.json +4328 -0
- package/dist/patterns/SonarVisualBasic.json +1462 -0
- package/dist/patterns/TSQLLint.json +272 -0
- package/dist/patterns/ameba.json +686 -0
- package/dist/patterns/codacy-scalameta-pro.json +856 -0
- package/dist/patterns/coffeelint.json +479 -0
- package/dist/patterns/dartanalyzer.json +10400 -0
- package/dist/patterns/phpmd.json +573 -0
- package/dist/patterns/psscriptanalyzer.json +624 -0
- package/package.json +37 -0
|
@@ -0,0 +1,1462 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "SonarVisualBasic_S101",
|
|
4
|
+
"category": "CodeStyle",
|
|
5
|
+
"severityLevel": "Info",
|
|
6
|
+
"title": "Enforce Class Naming Convention",
|
|
7
|
+
"enabled": false,
|
|
8
|
+
"languages": ["VisualBasic"],
|
|
9
|
+
"parameters": [
|
|
10
|
+
{
|
|
11
|
+
"name": "format",
|
|
12
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
13
|
+
"description": "Regular expression used to check the class names against."
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "SonarVisualBasic_S103",
|
|
19
|
+
"category": "CodeStyle",
|
|
20
|
+
"severityLevel": "Info",
|
|
21
|
+
"title": "Enforce Line Length Limits",
|
|
22
|
+
"enabled": false,
|
|
23
|
+
"languages": ["VisualBasic"],
|
|
24
|
+
"parameters": [
|
|
25
|
+
{
|
|
26
|
+
"name": "maximumLineLength",
|
|
27
|
+
"default": "200",
|
|
28
|
+
"description": "The maximum authorized line length."
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "SonarVisualBasic_S104",
|
|
34
|
+
"category": "Complexity",
|
|
35
|
+
"severityLevel": "Warning",
|
|
36
|
+
"title": "Avoid Files with Too Many Lines of Code",
|
|
37
|
+
"enabled": false,
|
|
38
|
+
"languages": ["VisualBasic"],
|
|
39
|
+
"parameters": [
|
|
40
|
+
{
|
|
41
|
+
"name": "maximumFileLocThreshold",
|
|
42
|
+
"default": "1000",
|
|
43
|
+
"description": "Maximum authorized lines in a file."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "SonarVisualBasic_S1048",
|
|
49
|
+
"category": "ErrorProne",
|
|
50
|
+
"severityLevel": "High",
|
|
51
|
+
"title": "Avoid Throwing Exceptions in Finalizers",
|
|
52
|
+
"enabled": false,
|
|
53
|
+
"languages": ["VisualBasic"],
|
|
54
|
+
"parameters": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "SonarVisualBasic_S105",
|
|
58
|
+
"category": "CodeStyle",
|
|
59
|
+
"severityLevel": "Info",
|
|
60
|
+
"title": "Avoid Using Tabulation Characters",
|
|
61
|
+
"enabled": false,
|
|
62
|
+
"languages": ["VisualBasic"],
|
|
63
|
+
"parameters": []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "SonarVisualBasic_S1066",
|
|
67
|
+
"category": "CodeStyle",
|
|
68
|
+
"severityLevel": "Info",
|
|
69
|
+
"title": "Merge Collapsible If Statements",
|
|
70
|
+
"enabled": false,
|
|
71
|
+
"languages": ["VisualBasic"],
|
|
72
|
+
"parameters": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "SonarVisualBasic_S1067",
|
|
76
|
+
"category": "Complexity",
|
|
77
|
+
"severityLevel": "Info",
|
|
78
|
+
"title": "Avoid Too Complex Expressions",
|
|
79
|
+
"enabled": false,
|
|
80
|
+
"languages": ["VisualBasic"],
|
|
81
|
+
"parameters": [
|
|
82
|
+
{
|
|
83
|
+
"name": "max",
|
|
84
|
+
"default": "3",
|
|
85
|
+
"description": "Maximum number of allowed conditional operators in an expression"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "SonarVisualBasic_S107",
|
|
91
|
+
"category": "Complexity",
|
|
92
|
+
"severityLevel": "Warning",
|
|
93
|
+
"title": "Avoid Procedures with Too Many Parameters",
|
|
94
|
+
"enabled": false,
|
|
95
|
+
"languages": ["VisualBasic"],
|
|
96
|
+
"parameters": [
|
|
97
|
+
{
|
|
98
|
+
"name": "max",
|
|
99
|
+
"default": "7",
|
|
100
|
+
"description": "Maximum authorized number of parameters"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "SonarVisualBasic_S1075",
|
|
106
|
+
"category": "BestPractice",
|
|
107
|
+
"severityLevel": "Warning",
|
|
108
|
+
"title": "Avoid Hardcoding URIs",
|
|
109
|
+
"enabled": false,
|
|
110
|
+
"languages": ["VisualBasic"],
|
|
111
|
+
"parameters": []
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "SonarVisualBasic_S108",
|
|
115
|
+
"category": "ErrorProne",
|
|
116
|
+
"severityLevel": "Warning",
|
|
117
|
+
"title": "Avoid Leaving Nested Blocks of Code Empty",
|
|
118
|
+
"enabled": true,
|
|
119
|
+
"languages": ["VisualBasic"],
|
|
120
|
+
"parameters": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "SonarVisualBasic_S1110",
|
|
124
|
+
"category": "CodeStyle",
|
|
125
|
+
"severityLevel": "Info",
|
|
126
|
+
"title": "Remove Redundant Parentheses",
|
|
127
|
+
"enabled": false,
|
|
128
|
+
"languages": ["VisualBasic"],
|
|
129
|
+
"parameters": []
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "SonarVisualBasic_S112",
|
|
133
|
+
"category": "ErrorProne",
|
|
134
|
+
"severityLevel": "High",
|
|
135
|
+
"title": "Avoid Throwing General Exceptions",
|
|
136
|
+
"enabled": true,
|
|
137
|
+
"languages": ["VisualBasic"],
|
|
138
|
+
"parameters": []
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "SonarVisualBasic_S1125",
|
|
142
|
+
"category": "CodeStyle",
|
|
143
|
+
"severityLevel": "Info",
|
|
144
|
+
"title": "Avoid Redundant Boolean Literals",
|
|
145
|
+
"enabled": false,
|
|
146
|
+
"languages": ["VisualBasic"],
|
|
147
|
+
"parameters": []
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "SonarVisualBasic_S1134",
|
|
151
|
+
"category": "ErrorProne",
|
|
152
|
+
"severityLevel": "Warning",
|
|
153
|
+
"title": "Track uses of FIXME tags",
|
|
154
|
+
"enabled": false,
|
|
155
|
+
"languages": ["VisualBasic"],
|
|
156
|
+
"parameters": []
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "SonarVisualBasic_S1135",
|
|
160
|
+
"category": "BestPractice",
|
|
161
|
+
"severityLevel": "Warning",
|
|
162
|
+
"title": "Track uses of TODO tags",
|
|
163
|
+
"enabled": false,
|
|
164
|
+
"languages": ["VisualBasic"],
|
|
165
|
+
"parameters": []
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "SonarVisualBasic_S114",
|
|
169
|
+
"category": "CodeStyle",
|
|
170
|
+
"severityLevel": "Info",
|
|
171
|
+
"title": "Enforce Interface Naming Convention",
|
|
172
|
+
"enabled": false,
|
|
173
|
+
"languages": ["VisualBasic"],
|
|
174
|
+
"parameters": [
|
|
175
|
+
{
|
|
176
|
+
"name": "format",
|
|
177
|
+
"default": "^I([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
178
|
+
"description": "Regular expression used to check the interface names against."
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "SonarVisualBasic_S1145",
|
|
184
|
+
"category": "ErrorProne",
|
|
185
|
+
"severityLevel": "Warning",
|
|
186
|
+
"title": "Remove Useless if(true) and if(false) Blocks",
|
|
187
|
+
"enabled": true,
|
|
188
|
+
"languages": ["VisualBasic"],
|
|
189
|
+
"parameters": []
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "SonarVisualBasic_S1147",
|
|
193
|
+
"category": "ErrorProne",
|
|
194
|
+
"severityLevel": "High",
|
|
195
|
+
"title": "Avoid Using End Statements",
|
|
196
|
+
"enabled": false,
|
|
197
|
+
"languages": ["VisualBasic"],
|
|
198
|
+
"parameters": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "SonarVisualBasic_S1151",
|
|
202
|
+
"category": "Comprehensibility",
|
|
203
|
+
"severityLevel": "Info",
|
|
204
|
+
"title": "Avoid Select...Case Clauses with Too Many Lines of Code",
|
|
205
|
+
"enabled": false,
|
|
206
|
+
"languages": ["VisualBasic"],
|
|
207
|
+
"parameters": [
|
|
208
|
+
{
|
|
209
|
+
"name": "max",
|
|
210
|
+
"default": "8",
|
|
211
|
+
"description": "Maximum number of statements."
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "SonarVisualBasic_S117",
|
|
217
|
+
"category": "CodeStyle",
|
|
218
|
+
"severityLevel": "Info",
|
|
219
|
+
"title": "Enforce Local Variable Naming Convention",
|
|
220
|
+
"enabled": false,
|
|
221
|
+
"languages": ["VisualBasic"],
|
|
222
|
+
"parameters": [
|
|
223
|
+
{
|
|
224
|
+
"name": "format",
|
|
225
|
+
"default": "^[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
226
|
+
"description": "Regular expression used to check the local variable names against."
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "SonarVisualBasic_S1172",
|
|
232
|
+
"category": "BestPractice",
|
|
233
|
+
"severityLevel": "Warning",
|
|
234
|
+
"title": "Remove Unused Procedure Parameters",
|
|
235
|
+
"enabled": true,
|
|
236
|
+
"languages": ["VisualBasic"],
|
|
237
|
+
"parameters": []
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "SonarVisualBasic_S1186",
|
|
241
|
+
"category": "ErrorProne",
|
|
242
|
+
"severityLevel": "Warning",
|
|
243
|
+
"title": "Avoid Empty Methods",
|
|
244
|
+
"enabled": true,
|
|
245
|
+
"languages": ["VisualBasic"],
|
|
246
|
+
"parameters": []
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "SonarVisualBasic_S1197",
|
|
250
|
+
"category": "CodeStyle",
|
|
251
|
+
"severityLevel": "Info",
|
|
252
|
+
"title": "Enforce Array Designators on Type, Not Variable",
|
|
253
|
+
"enabled": false,
|
|
254
|
+
"languages": ["VisualBasic"],
|
|
255
|
+
"parameters": []
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "SonarVisualBasic_S122",
|
|
259
|
+
"category": "CodeStyle",
|
|
260
|
+
"severityLevel": "Info",
|
|
261
|
+
"title": "Enforce Statements on Separate Lines",
|
|
262
|
+
"enabled": false,
|
|
263
|
+
"languages": ["VisualBasic"],
|
|
264
|
+
"parameters": []
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "SonarVisualBasic_S1226",
|
|
268
|
+
"category": "BestPractice",
|
|
269
|
+
"severityLevel": "Warning",
|
|
270
|
+
"title": "Avoid Reassigning Method Parameters and Caught Exceptions",
|
|
271
|
+
"enabled": true,
|
|
272
|
+
"languages": ["VisualBasic"],
|
|
273
|
+
"parameters": []
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "SonarVisualBasic_S126",
|
|
277
|
+
"category": "BestPractice",
|
|
278
|
+
"severityLevel": "Info",
|
|
279
|
+
"title": "Enforce final Else clause in If...ElseIf constructs",
|
|
280
|
+
"enabled": false,
|
|
281
|
+
"languages": ["VisualBasic"],
|
|
282
|
+
"parameters": []
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "SonarVisualBasic_S1301",
|
|
286
|
+
"category": "Comprehensibility",
|
|
287
|
+
"severityLevel": "Info",
|
|
288
|
+
"title": "Enforce Select Statements to Have at Least Three Case Clauses",
|
|
289
|
+
"enabled": true,
|
|
290
|
+
"languages": ["VisualBasic"],
|
|
291
|
+
"parameters": []
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "SonarVisualBasic_S131",
|
|
295
|
+
"category": "ErrorProne",
|
|
296
|
+
"severityLevel": "High",
|
|
297
|
+
"title": "Enforce Select Statements to End with a Case Else Clause",
|
|
298
|
+
"enabled": true,
|
|
299
|
+
"languages": ["VisualBasic"],
|
|
300
|
+
"parameters": []
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "SonarVisualBasic_S1313",
|
|
304
|
+
"category": "Security",
|
|
305
|
+
"severityLevel": "High",
|
|
306
|
+
"title": "Avoid Using Hardcoded IP Addresses",
|
|
307
|
+
"enabled": true,
|
|
308
|
+
"languages": ["VisualBasic"],
|
|
309
|
+
"parameters": []
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"id": "SonarVisualBasic_S134",
|
|
313
|
+
"category": "Complexity",
|
|
314
|
+
"severityLevel": "Warning",
|
|
315
|
+
"title": "Avoid Excessive Nesting of Control Flow Statements",
|
|
316
|
+
"enabled": false,
|
|
317
|
+
"languages": ["VisualBasic"],
|
|
318
|
+
"parameters": [
|
|
319
|
+
{
|
|
320
|
+
"name": "maximumNestingLevel",
|
|
321
|
+
"default": "3",
|
|
322
|
+
"description": "Maximum allowed control flow statement nesting depth."
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "SonarVisualBasic_S138",
|
|
328
|
+
"category": "Complexity",
|
|
329
|
+
"severityLevel": "Warning",
|
|
330
|
+
"title": "Avoid Procedures with Too Many Lines of Code",
|
|
331
|
+
"enabled": false,
|
|
332
|
+
"languages": ["VisualBasic"],
|
|
333
|
+
"parameters": [
|
|
334
|
+
{
|
|
335
|
+
"name": "max",
|
|
336
|
+
"default": "80",
|
|
337
|
+
"description": "Maximum authorized lines of code in a method"
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"id": "SonarVisualBasic_S139",
|
|
343
|
+
"category": "CodeStyle",
|
|
344
|
+
"severityLevel": "Info",
|
|
345
|
+
"title": "Avoid trailing comments at the end of lines of code",
|
|
346
|
+
"enabled": false,
|
|
347
|
+
"languages": ["VisualBasic"],
|
|
348
|
+
"parameters": [
|
|
349
|
+
{
|
|
350
|
+
"name": "legalCommentPattern",
|
|
351
|
+
"default": "^'\\s*\\S+\\s*$",
|
|
352
|
+
"description": "Pattern for text of trailing comments that are allowed."
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"id": "SonarVisualBasic_S1451",
|
|
358
|
+
"category": "BestPractice",
|
|
359
|
+
"severityLevel": "Info",
|
|
360
|
+
"title": "Enforce Copyright and License Headers",
|
|
361
|
+
"enabled": false,
|
|
362
|
+
"languages": ["VisualBasic"],
|
|
363
|
+
"parameters": [
|
|
364
|
+
{
|
|
365
|
+
"name": "headerFormat",
|
|
366
|
+
"default": "' SonarQube, open source software quality management tool.\n' Copyright (C) 2008-2013 SonarSource\n' mailto:contact AT sonarsource DOT com\n'\n' SonarQube is free software; you can redistribute it and/or\n' modify it under the terms of the GNU Lesser General Public\n' License as published by the Free Software Foundation; either\n' version 3 of the License, or (at your option) any later version.\n'\n' SonarQube is distributed in the hope that it will be useful,\n' but WITHOUT ANY WARRANTY; without even the implied warranty of\n' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n' Lesser General Public License for more details.\n'\n' You should have received a copy of the GNU Lesser General Public License\n' along with this program; if not, write to the Free Software Foundation,\n' Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n",
|
|
367
|
+
"description": "Expected copyright and license header."
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "isRegularExpression",
|
|
371
|
+
"default": "false",
|
|
372
|
+
"description": "Whether the headerFormat is a regular expression."
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"id": "SonarVisualBasic_S1479",
|
|
378
|
+
"category": "BestPractice",
|
|
379
|
+
"severityLevel": "Warning",
|
|
380
|
+
"title": "Avoid \"Select Case\" Statements with Too Many \"Case\" Clauses",
|
|
381
|
+
"enabled": false,
|
|
382
|
+
"languages": ["VisualBasic"],
|
|
383
|
+
"parameters": [
|
|
384
|
+
{
|
|
385
|
+
"name": "maximum",
|
|
386
|
+
"default": "30",
|
|
387
|
+
"description": "Maximum number of case"
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"id": "SonarVisualBasic_S1481",
|
|
393
|
+
"category": "UnusedCode",
|
|
394
|
+
"severityLevel": "Warning",
|
|
395
|
+
"title": "Remove Unused Local Variables",
|
|
396
|
+
"enabled": true,
|
|
397
|
+
"languages": ["VisualBasic"],
|
|
398
|
+
"parameters": []
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "SonarVisualBasic_S1541",
|
|
402
|
+
"category": "Complexity",
|
|
403
|
+
"severityLevel": "Warning",
|
|
404
|
+
"title": "Avoid Excessive Complexity in Functions, Procedures, and Properties",
|
|
405
|
+
"enabled": false,
|
|
406
|
+
"languages": ["VisualBasic"],
|
|
407
|
+
"parameters": [
|
|
408
|
+
{
|
|
409
|
+
"name": "maximumFunctionComplexityThreshold",
|
|
410
|
+
"default": "10",
|
|
411
|
+
"description": "The maximum authorized complexity."
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"id": "SonarVisualBasic_S1542",
|
|
417
|
+
"category": "CodeStyle",
|
|
418
|
+
"severityLevel": "Info",
|
|
419
|
+
"title": "Enforce Naming Convention for Functions and Procedures",
|
|
420
|
+
"enabled": false,
|
|
421
|
+
"languages": ["VisualBasic"],
|
|
422
|
+
"parameters": [
|
|
423
|
+
{
|
|
424
|
+
"name": "format",
|
|
425
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
426
|
+
"description": "Regular expression used to check the function names against."
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "SonarVisualBasic_S1643",
|
|
432
|
+
"category": "Performance",
|
|
433
|
+
"severityLevel": "Warning",
|
|
434
|
+
"title": "Avoid String Concatenation Using \"+\" or \"&\" in Loops",
|
|
435
|
+
"enabled": true,
|
|
436
|
+
"languages": ["VisualBasic"],
|
|
437
|
+
"parameters": []
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"id": "SonarVisualBasic_S1645",
|
|
441
|
+
"category": "BestPractice",
|
|
442
|
+
"severityLevel": "Warning",
|
|
443
|
+
"title": "Use '&' Operator for String Concatenation",
|
|
444
|
+
"enabled": false,
|
|
445
|
+
"languages": ["VisualBasic"],
|
|
446
|
+
"parameters": []
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "SonarVisualBasic_S1654",
|
|
450
|
+
"category": "CodeStyle",
|
|
451
|
+
"severityLevel": "Info",
|
|
452
|
+
"title": "Enforce Method Parameter Naming Convention",
|
|
453
|
+
"enabled": false,
|
|
454
|
+
"languages": ["VisualBasic"],
|
|
455
|
+
"parameters": [
|
|
456
|
+
{
|
|
457
|
+
"name": "format",
|
|
458
|
+
"default": "^[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
459
|
+
"description": "Regular expression used to check the parameter names against."
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"id": "SonarVisualBasic_S1656",
|
|
465
|
+
"category": "ErrorProne",
|
|
466
|
+
"severityLevel": "Warning",
|
|
467
|
+
"title": "Avoid Self-Assignment of Variables",
|
|
468
|
+
"enabled": true,
|
|
469
|
+
"languages": ["VisualBasic"],
|
|
470
|
+
"parameters": []
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "SonarVisualBasic_S1659",
|
|
474
|
+
"category": "CodeStyle",
|
|
475
|
+
"severityLevel": "Info",
|
|
476
|
+
"title": "Avoid Declaring Multiple Variables on the Same Line",
|
|
477
|
+
"enabled": false,
|
|
478
|
+
"languages": ["VisualBasic"],
|
|
479
|
+
"parameters": []
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"id": "SonarVisualBasic_S1751",
|
|
483
|
+
"category": "CodeStyle",
|
|
484
|
+
"severityLevel": "Info",
|
|
485
|
+
"title": "Refactor Loops with At Most One Iteration",
|
|
486
|
+
"enabled": false,
|
|
487
|
+
"languages": ["VisualBasic"],
|
|
488
|
+
"parameters": []
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"id": "SonarVisualBasic_S1764",
|
|
492
|
+
"category": "ErrorProne",
|
|
493
|
+
"severityLevel": "Warning",
|
|
494
|
+
"title": "Avoid Using Identical Expressions on Both Sides of a Binary Operator",
|
|
495
|
+
"enabled": true,
|
|
496
|
+
"languages": ["VisualBasic"],
|
|
497
|
+
"parameters": []
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"id": "SonarVisualBasic_S1821",
|
|
501
|
+
"category": "Comprehensibility",
|
|
502
|
+
"severityLevel": "Info",
|
|
503
|
+
"title": "Avoid Nested Select Case Statements",
|
|
504
|
+
"enabled": false,
|
|
505
|
+
"languages": ["VisualBasic"],
|
|
506
|
+
"parameters": []
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"id": "SonarVisualBasic_S1862",
|
|
510
|
+
"category": "ErrorProne",
|
|
511
|
+
"severityLevel": "High",
|
|
512
|
+
"title": "Avoid Duplicate Conditions in Related If/ElseIf Statements",
|
|
513
|
+
"enabled": true,
|
|
514
|
+
"languages": ["VisualBasic"],
|
|
515
|
+
"parameters": []
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"id": "SonarVisualBasic_S1871",
|
|
519
|
+
"category": "BestPractice",
|
|
520
|
+
"severityLevel": "Warning",
|
|
521
|
+
"title": "Avoid Duplicate Implementations in Conditional Branches",
|
|
522
|
+
"enabled": true,
|
|
523
|
+
"languages": ["VisualBasic"],
|
|
524
|
+
"parameters": []
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"id": "SonarVisualBasic_S1940",
|
|
528
|
+
"category": "CodeStyle",
|
|
529
|
+
"severityLevel": "Info",
|
|
530
|
+
"title": "Avoid Inverting Boolean Checks",
|
|
531
|
+
"enabled": true,
|
|
532
|
+
"languages": ["VisualBasic"],
|
|
533
|
+
"parameters": []
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"id": "SonarVisualBasic_S2068",
|
|
537
|
+
"category": "Security",
|
|
538
|
+
"severityLevel": "Error",
|
|
539
|
+
"title": "Avoid Hard-Coded Credentials",
|
|
540
|
+
"enabled": false,
|
|
541
|
+
"languages": ["VisualBasic"],
|
|
542
|
+
"parameters": [
|
|
543
|
+
{
|
|
544
|
+
"name": "credentialWords",
|
|
545
|
+
"default": "password, passwd, pwd, passphrase",
|
|
546
|
+
"description": "Comma separated list of words identifying potential credentials"
|
|
547
|
+
}
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "SonarVisualBasic_S2077",
|
|
552
|
+
"category": "Security",
|
|
553
|
+
"severityLevel": "Error",
|
|
554
|
+
"title": "Avoid Formatting SQL Queries with String Formatting Methods",
|
|
555
|
+
"enabled": false,
|
|
556
|
+
"languages": ["VisualBasic"],
|
|
557
|
+
"parameters": []
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"id": "SonarVisualBasic_S2178",
|
|
561
|
+
"category": "ErrorProne",
|
|
562
|
+
"severityLevel": "Error",
|
|
563
|
+
"title": "Use Short-Circuit Logic in Boolean Contexts",
|
|
564
|
+
"enabled": true,
|
|
565
|
+
"languages": ["VisualBasic"],
|
|
566
|
+
"parameters": []
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"id": "SonarVisualBasic_S2234",
|
|
570
|
+
"category": "ErrorProne",
|
|
571
|
+
"severityLevel": "High",
|
|
572
|
+
"title": "Pass Parameters in Correct Order",
|
|
573
|
+
"enabled": true,
|
|
574
|
+
"languages": ["VisualBasic"],
|
|
575
|
+
"parameters": []
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"id": "SonarVisualBasic_S2255",
|
|
579
|
+
"category": "Security",
|
|
580
|
+
"severityLevel": "High",
|
|
581
|
+
"title": "Avoid Writing Sensitive Information in Cookies",
|
|
582
|
+
"enabled": false,
|
|
583
|
+
"languages": ["VisualBasic"],
|
|
584
|
+
"parameters": []
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"id": "SonarVisualBasic_S2302",
|
|
588
|
+
"category": "BestPractice",
|
|
589
|
+
"severityLevel": "Info",
|
|
590
|
+
"title": "Use NameOf Instead of Literal Parameter Names in Throw Statements",
|
|
591
|
+
"enabled": false,
|
|
592
|
+
"languages": ["VisualBasic"],
|
|
593
|
+
"parameters": []
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"id": "SonarVisualBasic_S2304",
|
|
597
|
+
"category": "CodeStyle",
|
|
598
|
+
"severityLevel": "Info",
|
|
599
|
+
"title": "Enforce Namespace Naming Convention",
|
|
600
|
+
"enabled": false,
|
|
601
|
+
"languages": ["VisualBasic"],
|
|
602
|
+
"parameters": [
|
|
603
|
+
{
|
|
604
|
+
"name": "format",
|
|
605
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?(\\.([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?)*$",
|
|
606
|
+
"description": "Regular expression used to check the namespace names against."
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"id": "SonarVisualBasic_S2339",
|
|
612
|
+
"category": "BestPractice",
|
|
613
|
+
"severityLevel": "Warning",
|
|
614
|
+
"title": "Avoid Using Public Constant Members",
|
|
615
|
+
"enabled": true,
|
|
616
|
+
"languages": ["VisualBasic"],
|
|
617
|
+
"parameters": []
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"id": "SonarVisualBasic_S2340",
|
|
621
|
+
"category": "BestPractice",
|
|
622
|
+
"severityLevel": "Info",
|
|
623
|
+
"title": "Avoid Using Do Loops Without While or Until Conditions",
|
|
624
|
+
"enabled": false,
|
|
625
|
+
"languages": ["VisualBasic"],
|
|
626
|
+
"parameters": []
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"id": "SonarVisualBasic_S2342",
|
|
630
|
+
"category": "CodeStyle",
|
|
631
|
+
"severityLevel": "Info",
|
|
632
|
+
"title": "Enforce Enumeration Naming Convention",
|
|
633
|
+
"enabled": false,
|
|
634
|
+
"languages": ["VisualBasic"],
|
|
635
|
+
"parameters": [
|
|
636
|
+
{
|
|
637
|
+
"name": "flagsAttributeFormat",
|
|
638
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$",
|
|
639
|
+
"description": "Regular expression used to check the flags enumeration type names against."
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "format",
|
|
643
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
644
|
+
"description": "Regular expression used to check the enumeration type names against."
|
|
645
|
+
}
|
|
646
|
+
]
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"id": "SonarVisualBasic_S2343",
|
|
650
|
+
"category": "CodeStyle",
|
|
651
|
+
"severityLevel": "Info",
|
|
652
|
+
"title": "Enforce Enumeration Values Naming Convention",
|
|
653
|
+
"enabled": false,
|
|
654
|
+
"languages": ["VisualBasic"],
|
|
655
|
+
"parameters": [
|
|
656
|
+
{
|
|
657
|
+
"name": "format",
|
|
658
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
659
|
+
"description": "Regular expression used to check the enumeration value names against."
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"id": "SonarVisualBasic_S2344",
|
|
665
|
+
"category": "CodeStyle",
|
|
666
|
+
"severityLevel": "Info",
|
|
667
|
+
"title": "Avoid Suffixes \"Flags\" or \"Enum\" in Enumeration Type Names",
|
|
668
|
+
"enabled": false,
|
|
669
|
+
"languages": ["VisualBasic"],
|
|
670
|
+
"parameters": []
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"id": "SonarVisualBasic_S2345",
|
|
674
|
+
"category": "ErrorProne",
|
|
675
|
+
"severityLevel": "Warning",
|
|
676
|
+
"title": "Explicitly Initialize All Members in Flags Enumerations",
|
|
677
|
+
"enabled": true,
|
|
678
|
+
"languages": ["VisualBasic"],
|
|
679
|
+
"parameters": []
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"id": "SonarVisualBasic_S2346",
|
|
683
|
+
"category": "BestPractice",
|
|
684
|
+
"severityLevel": "Info",
|
|
685
|
+
"title": "Enforce Naming Zero-Value Flags Enumeration Members as \"None\"",
|
|
686
|
+
"enabled": false,
|
|
687
|
+
"languages": ["VisualBasic"],
|
|
688
|
+
"parameters": []
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"id": "SonarVisualBasic_S2347",
|
|
692
|
+
"category": "CodeStyle",
|
|
693
|
+
"severityLevel": "Info",
|
|
694
|
+
"title": "Enforce Event Handler Naming Convention",
|
|
695
|
+
"enabled": false,
|
|
696
|
+
"languages": ["VisualBasic"],
|
|
697
|
+
"parameters": [
|
|
698
|
+
{
|
|
699
|
+
"name": "format",
|
|
700
|
+
"default": "^(([a-z][a-z0-9]*)?([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?_)?([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
701
|
+
"description": "Regular expression used to check the even handler names against."
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"id": "SonarVisualBasic_S2348",
|
|
707
|
+
"category": "CodeStyle",
|
|
708
|
+
"severityLevel": "Info",
|
|
709
|
+
"title": "Enforce Event Naming Convention",
|
|
710
|
+
"enabled": false,
|
|
711
|
+
"languages": ["VisualBasic"],
|
|
712
|
+
"parameters": [
|
|
713
|
+
{
|
|
714
|
+
"name": "format",
|
|
715
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
716
|
+
"description": "Regular expression used to check the event names against."
|
|
717
|
+
}
|
|
718
|
+
]
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"id": "SonarVisualBasic_S2349",
|
|
722
|
+
"category": "CodeStyle",
|
|
723
|
+
"severityLevel": "Info",
|
|
724
|
+
"title": "Avoid Using \"Before\" or \"After\" as Prefix or Suffix in Event Names",
|
|
725
|
+
"enabled": false,
|
|
726
|
+
"languages": ["VisualBasic"],
|
|
727
|
+
"parameters": []
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"id": "SonarVisualBasic_S2352",
|
|
731
|
+
"category": "BestPractice",
|
|
732
|
+
"severityLevel": "Info",
|
|
733
|
+
"title": "Avoid Indexed Properties with More Than One Parameter",
|
|
734
|
+
"enabled": false,
|
|
735
|
+
"languages": ["VisualBasic"],
|
|
736
|
+
"parameters": []
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"id": "SonarVisualBasic_S2353",
|
|
740
|
+
"category": "CodeStyle",
|
|
741
|
+
"severityLevel": "Info",
|
|
742
|
+
"title": "Enforce Indexed Properties Named \"Item\"",
|
|
743
|
+
"enabled": false,
|
|
744
|
+
"languages": ["VisualBasic"],
|
|
745
|
+
"parameters": []
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"id": "SonarVisualBasic_S2354",
|
|
749
|
+
"category": "CodeStyle",
|
|
750
|
+
"severityLevel": "Info",
|
|
751
|
+
"title": "Avoid Using Line Continuations",
|
|
752
|
+
"enabled": false,
|
|
753
|
+
"languages": ["VisualBasic"],
|
|
754
|
+
"parameters": []
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"id": "SonarVisualBasic_S2355",
|
|
758
|
+
"category": "CodeStyle",
|
|
759
|
+
"severityLevel": "Info",
|
|
760
|
+
"title": "Use Array Literals Instead of Array Creation Expressions",
|
|
761
|
+
"enabled": false,
|
|
762
|
+
"languages": ["VisualBasic"],
|
|
763
|
+
"parameters": []
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"id": "SonarVisualBasic_S2357",
|
|
767
|
+
"category": "BestPractice",
|
|
768
|
+
"severityLevel": "Warning",
|
|
769
|
+
"title": "Enforce Fields to Be Private",
|
|
770
|
+
"enabled": true,
|
|
771
|
+
"languages": ["VisualBasic"],
|
|
772
|
+
"parameters": []
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"id": "SonarVisualBasic_S2358",
|
|
776
|
+
"category": "CodeStyle",
|
|
777
|
+
"severityLevel": "Info",
|
|
778
|
+
"title": "Use IsNot Instead of Not ... Is ...",
|
|
779
|
+
"enabled": false,
|
|
780
|
+
"languages": ["VisualBasic"],
|
|
781
|
+
"parameters": []
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"id": "SonarVisualBasic_S2359",
|
|
785
|
+
"category": "BestPractice",
|
|
786
|
+
"severityLevel": "Warning",
|
|
787
|
+
"title": "Avoid Using \"On Error\" Statements",
|
|
788
|
+
"enabled": false,
|
|
789
|
+
"languages": ["VisualBasic"],
|
|
790
|
+
"parameters": []
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "SonarVisualBasic_S2360",
|
|
794
|
+
"category": "BestPractice",
|
|
795
|
+
"severityLevel": "Warning",
|
|
796
|
+
"title": "Avoid Using Optional Parameters",
|
|
797
|
+
"enabled": true,
|
|
798
|
+
"languages": ["VisualBasic"],
|
|
799
|
+
"parameters": []
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"id": "SonarVisualBasic_S2362",
|
|
803
|
+
"category": "CodeStyle",
|
|
804
|
+
"severityLevel": "Info",
|
|
805
|
+
"title": "Enforce Naming Convention for Private Constants",
|
|
806
|
+
"enabled": false,
|
|
807
|
+
"languages": ["VisualBasic"],
|
|
808
|
+
"parameters": [
|
|
809
|
+
{
|
|
810
|
+
"name": "format",
|
|
811
|
+
"default": "^(s_|_)?[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
812
|
+
"description": "Regular expression used to check the private constant names against."
|
|
813
|
+
}
|
|
814
|
+
]
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"id": "SonarVisualBasic_S2363",
|
|
818
|
+
"category": "CodeStyle",
|
|
819
|
+
"severityLevel": "Info",
|
|
820
|
+
"title": "Enforce Naming Convention for Private Shared ReadOnly Fields",
|
|
821
|
+
"enabled": false,
|
|
822
|
+
"languages": ["VisualBasic"],
|
|
823
|
+
"parameters": [
|
|
824
|
+
{
|
|
825
|
+
"name": "format",
|
|
826
|
+
"default": "^(s_|_)?[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
827
|
+
"description": "Regular expression used to check the 'Private Shared ReadOnly' field names against."
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"id": "SonarVisualBasic_S2364",
|
|
833
|
+
"category": "CodeStyle",
|
|
834
|
+
"severityLevel": "Info",
|
|
835
|
+
"title": "Enforce Naming Convention for Private Fields",
|
|
836
|
+
"enabled": false,
|
|
837
|
+
"languages": ["VisualBasic"],
|
|
838
|
+
"parameters": [
|
|
839
|
+
{
|
|
840
|
+
"name": "format",
|
|
841
|
+
"default": "^(s_|_)?[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
842
|
+
"description": "Regular expression used to check the private field names against."
|
|
843
|
+
}
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"id": "SonarVisualBasic_S2365",
|
|
848
|
+
"category": "Performance",
|
|
849
|
+
"severityLevel": "Warning",
|
|
850
|
+
"title": "Avoid Properties That Make Collection or Array Copies",
|
|
851
|
+
"enabled": false,
|
|
852
|
+
"languages": ["VisualBasic"],
|
|
853
|
+
"parameters": []
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"id": "SonarVisualBasic_S2366",
|
|
857
|
+
"category": "CodeStyle",
|
|
858
|
+
"severityLevel": "Info",
|
|
859
|
+
"title": "Enforce Property Naming Convention",
|
|
860
|
+
"enabled": false,
|
|
861
|
+
"languages": ["VisualBasic"],
|
|
862
|
+
"parameters": [
|
|
863
|
+
{
|
|
864
|
+
"name": "format",
|
|
865
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
866
|
+
"description": "Regular expression used to check the property names against."
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"id": "SonarVisualBasic_S2367",
|
|
872
|
+
"category": "CodeStyle",
|
|
873
|
+
"severityLevel": "Info",
|
|
874
|
+
"title": "Enforce Naming Convention for Non-Private Constants",
|
|
875
|
+
"enabled": false,
|
|
876
|
+
"languages": ["VisualBasic"],
|
|
877
|
+
"parameters": [
|
|
878
|
+
{
|
|
879
|
+
"name": "format",
|
|
880
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
881
|
+
"description": "Regular expression used to check the non-private constant names against."
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"id": "SonarVisualBasic_S2368",
|
|
887
|
+
"category": "BestPractice",
|
|
888
|
+
"severityLevel": "Warning",
|
|
889
|
+
"title": "Avoid public methods with multidimensional array parameters",
|
|
890
|
+
"enabled": true,
|
|
891
|
+
"languages": ["VisualBasic"],
|
|
892
|
+
"parameters": []
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"id": "SonarVisualBasic_S2369",
|
|
896
|
+
"category": "CodeStyle",
|
|
897
|
+
"severityLevel": "Info",
|
|
898
|
+
"title": "Enforce Naming Convention for Non-Private Fields",
|
|
899
|
+
"enabled": false,
|
|
900
|
+
"languages": ["VisualBasic"],
|
|
901
|
+
"parameters": [
|
|
902
|
+
{
|
|
903
|
+
"name": "format",
|
|
904
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
905
|
+
"description": "Regular expression used to check the non-private field names against."
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"id": "SonarVisualBasic_S2370",
|
|
911
|
+
"category": "CodeStyle",
|
|
912
|
+
"severityLevel": "Info",
|
|
913
|
+
"title": "Enforce Naming Convention for Non-private Shared ReadOnly Fields",
|
|
914
|
+
"enabled": false,
|
|
915
|
+
"languages": ["VisualBasic"],
|
|
916
|
+
"parameters": [
|
|
917
|
+
{
|
|
918
|
+
"name": "format",
|
|
919
|
+
"default": "^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$",
|
|
920
|
+
"description": "Regular expression used to check the non-private 'Shared ReadOnly' field names against."
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"id": "SonarVisualBasic_S2372",
|
|
926
|
+
"category": "BestPractice",
|
|
927
|
+
"severityLevel": "Warning",
|
|
928
|
+
"title": "Avoid Throwing Exceptions from Property Getters",
|
|
929
|
+
"enabled": true,
|
|
930
|
+
"languages": ["VisualBasic"],
|
|
931
|
+
"parameters": []
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"id": "SonarVisualBasic_S2373",
|
|
935
|
+
"category": "CodeStyle",
|
|
936
|
+
"severityLevel": "Info",
|
|
937
|
+
"title": "Enforce Generic Type Parameter Naming Convention",
|
|
938
|
+
"enabled": false,
|
|
939
|
+
"languages": ["VisualBasic"],
|
|
940
|
+
"parameters": [
|
|
941
|
+
{
|
|
942
|
+
"name": "format",
|
|
943
|
+
"default": "^T(([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?)?",
|
|
944
|
+
"description": "Regular expression used to check the generic type parameter names against."
|
|
945
|
+
}
|
|
946
|
+
]
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"id": "SonarVisualBasic_S2374",
|
|
950
|
+
"category": "BestPractice",
|
|
951
|
+
"severityLevel": "Info",
|
|
952
|
+
"title": "Prefer Signed Types Over Unsigned Types",
|
|
953
|
+
"enabled": false,
|
|
954
|
+
"languages": ["VisualBasic"],
|
|
955
|
+
"parameters": []
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"id": "SonarVisualBasic_S2375",
|
|
959
|
+
"category": "CodeStyle",
|
|
960
|
+
"severityLevel": "Info",
|
|
961
|
+
"title": "Use With Statements for Multiple Calls to the Same Object",
|
|
962
|
+
"enabled": false,
|
|
963
|
+
"languages": ["VisualBasic"],
|
|
964
|
+
"parameters": [
|
|
965
|
+
{
|
|
966
|
+
"name": "minimumSeriesLength",
|
|
967
|
+
"default": "6",
|
|
968
|
+
"description": "Minimum length a series must have to trigger an issue."
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"id": "SonarVisualBasic_S2376",
|
|
974
|
+
"category": "BestPractice",
|
|
975
|
+
"severityLevel": "Info",
|
|
976
|
+
"title": "Avoid Write-Only Properties",
|
|
977
|
+
"enabled": true,
|
|
978
|
+
"languages": ["VisualBasic"],
|
|
979
|
+
"parameters": []
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"id": "SonarVisualBasic_S2429",
|
|
983
|
+
"category": "CodeStyle",
|
|
984
|
+
"severityLevel": "Info",
|
|
985
|
+
"title": "Enforce array initialization using the \"... = {}\" syntax",
|
|
986
|
+
"enabled": false,
|
|
987
|
+
"languages": ["VisualBasic"],
|
|
988
|
+
"parameters": []
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"id": "SonarVisualBasic_S2551",
|
|
992
|
+
"category": "BestPractice",
|
|
993
|
+
"severityLevel": "Warning",
|
|
994
|
+
"title": "Avoid Using Shared Resources for Locking",
|
|
995
|
+
"enabled": true,
|
|
996
|
+
"languages": ["VisualBasic"],
|
|
997
|
+
"parameters": []
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"id": "SonarVisualBasic_S2737",
|
|
1001
|
+
"category": "BestPractice",
|
|
1002
|
+
"severityLevel": "Info",
|
|
1003
|
+
"title": "Avoid Catch Clauses That Only Rethrow",
|
|
1004
|
+
"enabled": true,
|
|
1005
|
+
"languages": ["VisualBasic"],
|
|
1006
|
+
"parameters": []
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"id": "SonarVisualBasic_S2757",
|
|
1010
|
+
"category": "ErrorProne",
|
|
1011
|
+
"severityLevel": "High",
|
|
1012
|
+
"title": "Avoid Using \"=+\" or \"=-\" Instead of \"+=\" or \"-=\"",
|
|
1013
|
+
"enabled": true,
|
|
1014
|
+
"languages": ["VisualBasic"],
|
|
1015
|
+
"parameters": []
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"id": "SonarVisualBasic_S2761",
|
|
1019
|
+
"category": "ErrorProne",
|
|
1020
|
+
"severityLevel": "Warning",
|
|
1021
|
+
"title": "Avoid Repeating the 'Not' Boolean Operator",
|
|
1022
|
+
"enabled": true,
|
|
1023
|
+
"languages": ["VisualBasic"],
|
|
1024
|
+
"parameters": []
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"id": "SonarVisualBasic_S2951",
|
|
1028
|
+
"category": "CodeStyle",
|
|
1029
|
+
"severityLevel": "Info",
|
|
1030
|
+
"title": "Avoid Redundant Exit Select Statements in VB.Net",
|
|
1031
|
+
"enabled": false,
|
|
1032
|
+
"languages": ["VisualBasic"],
|
|
1033
|
+
"parameters": []
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"id": "SonarVisualBasic_S3011",
|
|
1037
|
+
"category": "Security",
|
|
1038
|
+
"severityLevel": "High",
|
|
1039
|
+
"title": "Avoid Using Reflection to Increase Accessibility of Classes, Methods, or Fields",
|
|
1040
|
+
"enabled": false,
|
|
1041
|
+
"languages": ["VisualBasic"],
|
|
1042
|
+
"parameters": []
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"id": "SonarVisualBasic_S3358",
|
|
1046
|
+
"category": "Comprehensibility",
|
|
1047
|
+
"severityLevel": "Info",
|
|
1048
|
+
"title": "Avoid Nesting If Operators",
|
|
1049
|
+
"enabled": false,
|
|
1050
|
+
"languages": ["VisualBasic"],
|
|
1051
|
+
"parameters": []
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"id": "SonarVisualBasic_S3385",
|
|
1055
|
+
"category": "CodeStyle",
|
|
1056
|
+
"severityLevel": "Info",
|
|
1057
|
+
"title": "Avoid Using \"Exit\" Statements",
|
|
1058
|
+
"enabled": false,
|
|
1059
|
+
"languages": ["VisualBasic"],
|
|
1060
|
+
"parameters": []
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"id": "SonarVisualBasic_S3449",
|
|
1064
|
+
"category": "ErrorProne",
|
|
1065
|
+
"severityLevel": "High",
|
|
1066
|
+
"title": "Ensure Right Operands of Shift Operators Are Integers",
|
|
1067
|
+
"enabled": true,
|
|
1068
|
+
"languages": ["VisualBasic"],
|
|
1069
|
+
"parameters": []
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"id": "SonarVisualBasic_S3453",
|
|
1073
|
+
"category": "CodeStyle",
|
|
1074
|
+
"severityLevel": "Info",
|
|
1075
|
+
"title": "Avoid Classes with Only Private Constructors",
|
|
1076
|
+
"enabled": true,
|
|
1077
|
+
"languages": ["VisualBasic"],
|
|
1078
|
+
"parameters": []
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"id": "SonarVisualBasic_S3464",
|
|
1082
|
+
"category": "ErrorProne",
|
|
1083
|
+
"severityLevel": "High",
|
|
1084
|
+
"title": "Avoid Recursive Type Inheritance",
|
|
1085
|
+
"enabled": false,
|
|
1086
|
+
"languages": ["VisualBasic"],
|
|
1087
|
+
"parameters": []
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"id": "SonarVisualBasic_S3466",
|
|
1091
|
+
"category": "ErrorProne",
|
|
1092
|
+
"severityLevel": "Warning",
|
|
1093
|
+
"title": "Pass Optional Parameters to Base Calls",
|
|
1094
|
+
"enabled": true,
|
|
1095
|
+
"languages": ["VisualBasic"],
|
|
1096
|
+
"parameters": []
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"id": "SonarVisualBasic_S3598",
|
|
1100
|
+
"category": "ErrorProne",
|
|
1101
|
+
"severityLevel": "High",
|
|
1102
|
+
"title": "Enforce void return type for one-way OperationContract methods",
|
|
1103
|
+
"enabled": true,
|
|
1104
|
+
"languages": ["VisualBasic"],
|
|
1105
|
+
"parameters": []
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"id": "SonarVisualBasic_S3603",
|
|
1109
|
+
"category": "ErrorProne",
|
|
1110
|
+
"severityLevel": "High",
|
|
1111
|
+
"title": "Ensure Methods with \"Pure\" Attribute Return a Value",
|
|
1112
|
+
"enabled": true,
|
|
1113
|
+
"languages": ["VisualBasic"],
|
|
1114
|
+
"parameters": []
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"id": "SonarVisualBasic_S3693",
|
|
1118
|
+
"category": "ErrorProne",
|
|
1119
|
+
"severityLevel": "High",
|
|
1120
|
+
"title": "Avoid Throwing Exceptions in Exception Constructors",
|
|
1121
|
+
"enabled": false,
|
|
1122
|
+
"languages": ["VisualBasic"],
|
|
1123
|
+
"parameters": []
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"id": "SonarVisualBasic_S3776",
|
|
1127
|
+
"category": "Complexity",
|
|
1128
|
+
"severityLevel": "Warning",
|
|
1129
|
+
"title": "Limit Cognitive Complexity of Functions",
|
|
1130
|
+
"enabled": false,
|
|
1131
|
+
"languages": ["VisualBasic"],
|
|
1132
|
+
"parameters": [
|
|
1133
|
+
{
|
|
1134
|
+
"name": "propertyThreshold ",
|
|
1135
|
+
"default": "3",
|
|
1136
|
+
"description": "The maximum authorized complexity in a property."
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "threshold",
|
|
1140
|
+
"default": "15",
|
|
1141
|
+
"description": "The maximum authorized complexity."
|
|
1142
|
+
}
|
|
1143
|
+
]
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"id": "SonarVisualBasic_S3860",
|
|
1147
|
+
"category": "CodeStyle",
|
|
1148
|
+
"severityLevel": "Info",
|
|
1149
|
+
"title": "Avoid Using \"ByVal\" Parameter Modifier",
|
|
1150
|
+
"enabled": false,
|
|
1151
|
+
"languages": ["VisualBasic"],
|
|
1152
|
+
"parameters": []
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"id": "SonarVisualBasic_S3866",
|
|
1156
|
+
"category": "Performance",
|
|
1157
|
+
"severityLevel": "Warning",
|
|
1158
|
+
"title": "Avoid Using IIf Function",
|
|
1159
|
+
"enabled": false,
|
|
1160
|
+
"languages": ["VisualBasic"],
|
|
1161
|
+
"parameters": []
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"id": "SonarVisualBasic_S3869",
|
|
1165
|
+
"category": "Security",
|
|
1166
|
+
"severityLevel": "High",
|
|
1167
|
+
"title": "Avoid calling SafeHandle.DangerousGetHandle",
|
|
1168
|
+
"enabled": true,
|
|
1169
|
+
"languages": ["VisualBasic"],
|
|
1170
|
+
"parameters": []
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"id": "SonarVisualBasic_S3889",
|
|
1174
|
+
"category": "ErrorProne",
|
|
1175
|
+
"severityLevel": "High",
|
|
1176
|
+
"title": "Avoid Using Thread.Suspend and Thread.Resume",
|
|
1177
|
+
"enabled": true,
|
|
1178
|
+
"languages": ["VisualBasic"],
|
|
1179
|
+
"parameters": []
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"id": "SonarVisualBasic_S3903",
|
|
1183
|
+
"category": "BestPractice",
|
|
1184
|
+
"severityLevel": "Warning",
|
|
1185
|
+
"title": "Define Types in Named Namespaces",
|
|
1186
|
+
"enabled": false,
|
|
1187
|
+
"languages": ["VisualBasic"],
|
|
1188
|
+
"parameters": []
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"id": "SonarVisualBasic_S3923",
|
|
1192
|
+
"category": "ErrorProne",
|
|
1193
|
+
"severityLevel": "Warning",
|
|
1194
|
+
"title": "Avoid Identical Implementation in All Branches of Conditional Structures",
|
|
1195
|
+
"enabled": false,
|
|
1196
|
+
"languages": ["VisualBasic"],
|
|
1197
|
+
"parameters": []
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"id": "SonarVisualBasic_S3926",
|
|
1201
|
+
"category": "ErrorProne",
|
|
1202
|
+
"severityLevel": "High",
|
|
1203
|
+
"title": "Provide Deserialization Methods for OptionalField Members",
|
|
1204
|
+
"enabled": true,
|
|
1205
|
+
"languages": ["VisualBasic"],
|
|
1206
|
+
"parameters": []
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"id": "SonarVisualBasic_S3927",
|
|
1210
|
+
"category": "ErrorProne",
|
|
1211
|
+
"severityLevel": "High",
|
|
1212
|
+
"title": "Enforce Correct Implementation of Serialization Event Handlers",
|
|
1213
|
+
"enabled": false,
|
|
1214
|
+
"languages": ["VisualBasic"],
|
|
1215
|
+
"parameters": []
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"id": "SonarVisualBasic_S3981",
|
|
1219
|
+
"category": "ErrorProne",
|
|
1220
|
+
"severityLevel": "Warning",
|
|
1221
|
+
"title": "Avoid nonsensical collection size and array length comparisons",
|
|
1222
|
+
"enabled": false,
|
|
1223
|
+
"languages": ["VisualBasic"],
|
|
1224
|
+
"parameters": []
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"id": "SonarVisualBasic_S4136",
|
|
1228
|
+
"category": "CodeStyle",
|
|
1229
|
+
"severityLevel": "Info",
|
|
1230
|
+
"title": "Group Method Overloads Together",
|
|
1231
|
+
"enabled": false,
|
|
1232
|
+
"languages": ["VisualBasic"],
|
|
1233
|
+
"parameters": []
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"id": "SonarVisualBasic_S4142",
|
|
1237
|
+
"category": "ErrorProne",
|
|
1238
|
+
"severityLevel": "Warning",
|
|
1239
|
+
"title": "Avoid Passing Duplicate Values as Arguments",
|
|
1240
|
+
"enabled": false,
|
|
1241
|
+
"languages": ["VisualBasic"],
|
|
1242
|
+
"parameters": []
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"id": "SonarVisualBasic_S4143",
|
|
1246
|
+
"category": "ErrorProne",
|
|
1247
|
+
"severityLevel": "Warning",
|
|
1248
|
+
"title": "Avoid Unconditional Replacement of Map Values",
|
|
1249
|
+
"enabled": false,
|
|
1250
|
+
"languages": ["VisualBasic"],
|
|
1251
|
+
"parameters": []
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"id": "SonarVisualBasic_S4144",
|
|
1255
|
+
"category": "BestPractice",
|
|
1256
|
+
"severityLevel": "Info",
|
|
1257
|
+
"title": "Avoid Methods with Identical Implementations",
|
|
1258
|
+
"enabled": false,
|
|
1259
|
+
"languages": ["VisualBasic"],
|
|
1260
|
+
"parameters": []
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"id": "SonarVisualBasic_S4159",
|
|
1264
|
+
"category": "ErrorProne",
|
|
1265
|
+
"severityLevel": "High",
|
|
1266
|
+
"title": "Ensure Classes Implement ExportAttribute Interfaces",
|
|
1267
|
+
"enabled": false,
|
|
1268
|
+
"languages": ["VisualBasic"],
|
|
1269
|
+
"parameters": []
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"id": "SonarVisualBasic_S4201",
|
|
1273
|
+
"category": "CodeStyle",
|
|
1274
|
+
"severityLevel": "Info",
|
|
1275
|
+
"title": "Avoid Redundant Null Checks with \"TypeOf Is\"",
|
|
1276
|
+
"enabled": false,
|
|
1277
|
+
"languages": ["VisualBasic"],
|
|
1278
|
+
"parameters": []
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"id": "SonarVisualBasic_S4210",
|
|
1282
|
+
"category": "ErrorProne",
|
|
1283
|
+
"severityLevel": "High",
|
|
1284
|
+
"title": "Mark Windows Forms Entry Points with STAThread",
|
|
1285
|
+
"enabled": false,
|
|
1286
|
+
"languages": ["VisualBasic"],
|
|
1287
|
+
"parameters": []
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"id": "SonarVisualBasic_S4260",
|
|
1291
|
+
"category": "ErrorProne",
|
|
1292
|
+
"severityLevel": "High",
|
|
1293
|
+
"title": "Ensure ConstructorArgument Parameters Match Constructor Parameters",
|
|
1294
|
+
"enabled": false,
|
|
1295
|
+
"languages": ["VisualBasic"],
|
|
1296
|
+
"parameters": []
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"id": "SonarVisualBasic_S4275",
|
|
1300
|
+
"category": "ErrorProne",
|
|
1301
|
+
"severityLevel": "High",
|
|
1302
|
+
"title": "Ensure Getters and Setters Access the Correct Fields",
|
|
1303
|
+
"enabled": false,
|
|
1304
|
+
"languages": ["VisualBasic"],
|
|
1305
|
+
"parameters": []
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"id": "SonarVisualBasic_S4277",
|
|
1309
|
+
"category": "ErrorProne",
|
|
1310
|
+
"severityLevel": "High",
|
|
1311
|
+
"title": "Avoid Creating New Instances of Shared MEF Parts",
|
|
1312
|
+
"enabled": false,
|
|
1313
|
+
"languages": ["VisualBasic"],
|
|
1314
|
+
"parameters": [],
|
|
1315
|
+
"tags": ["mef"]
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"id": "SonarVisualBasic_S4428",
|
|
1319
|
+
"category": "BestPractice",
|
|
1320
|
+
"severityLevel": "Warning",
|
|
1321
|
+
"title": "Enforce Use of ExportAttribute with PartCreationPolicyAttribute",
|
|
1322
|
+
"enabled": false,
|
|
1323
|
+
"languages": ["VisualBasic"],
|
|
1324
|
+
"parameters": [],
|
|
1325
|
+
"tags": ["mef"]
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"id": "SonarVisualBasic_S4507",
|
|
1329
|
+
"category": "Security",
|
|
1330
|
+
"severityLevel": "High",
|
|
1331
|
+
"title": "Avoid Delivering Code in Production with Debug Features Activated",
|
|
1332
|
+
"enabled": false,
|
|
1333
|
+
"languages": ["VisualBasic"],
|
|
1334
|
+
"parameters": []
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"id": "SonarVisualBasic_S4586",
|
|
1338
|
+
"category": "ErrorProne",
|
|
1339
|
+
"severityLevel": "High",
|
|
1340
|
+
"title": "Avoid Returning Null from Non-Async Task Methods",
|
|
1341
|
+
"enabled": false,
|
|
1342
|
+
"languages": ["VisualBasic"],
|
|
1343
|
+
"parameters": []
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"id": "SonarVisualBasic_S4784",
|
|
1347
|
+
"category": "Security",
|
|
1348
|
+
"severityLevel": "High",
|
|
1349
|
+
"title": "Avoid Using Vulnerable Regular Expressions",
|
|
1350
|
+
"enabled": false,
|
|
1351
|
+
"languages": ["VisualBasic"],
|
|
1352
|
+
"parameters": []
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"id": "SonarVisualBasic_S4787",
|
|
1356
|
+
"category": "Security",
|
|
1357
|
+
"severityLevel": "Error",
|
|
1358
|
+
"title": "Review Encryption Usage for Security",
|
|
1359
|
+
"enabled": false,
|
|
1360
|
+
"languages": ["VisualBasic"],
|
|
1361
|
+
"parameters": []
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"id": "SonarVisualBasic_S4790",
|
|
1365
|
+
"category": "Security",
|
|
1366
|
+
"severityLevel": "Error",
|
|
1367
|
+
"title": "Avoid Using Weak Hashing Algorithms",
|
|
1368
|
+
"enabled": false,
|
|
1369
|
+
"languages": ["VisualBasic"],
|
|
1370
|
+
"parameters": []
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"id": "SonarVisualBasic_S4792",
|
|
1374
|
+
"category": "Security",
|
|
1375
|
+
"severityLevel": "High",
|
|
1376
|
+
"title": "Review Logger Configuration for Security",
|
|
1377
|
+
"enabled": false,
|
|
1378
|
+
"languages": ["VisualBasic"],
|
|
1379
|
+
"parameters": []
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"id": "SonarVisualBasic_S4818",
|
|
1383
|
+
"category": "Security",
|
|
1384
|
+
"severityLevel": "High",
|
|
1385
|
+
"title": "Avoid Using Sockets Directly",
|
|
1386
|
+
"enabled": false,
|
|
1387
|
+
"languages": ["VisualBasic"],
|
|
1388
|
+
"parameters": []
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"id": "SonarVisualBasic_S4823",
|
|
1392
|
+
"category": "Security",
|
|
1393
|
+
"severityLevel": "High",
|
|
1394
|
+
"title": "Avoid Using Command Line Arguments Without Validation",
|
|
1395
|
+
"enabled": false,
|
|
1396
|
+
"languages": ["VisualBasic"],
|
|
1397
|
+
"parameters": []
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"id": "SonarVisualBasic_S4829",
|
|
1401
|
+
"category": "Security",
|
|
1402
|
+
"severityLevel": "High",
|
|
1403
|
+
"title": "Avoid Reading Standard Input Without Validation",
|
|
1404
|
+
"enabled": false,
|
|
1405
|
+
"languages": ["VisualBasic"],
|
|
1406
|
+
"parameters": []
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"id": "SonarVisualBasic_S4830",
|
|
1410
|
+
"category": "Security",
|
|
1411
|
+
"severityLevel": "Error",
|
|
1412
|
+
"title": "Enforce Server Certificate Validation During SSL/TLS Connections",
|
|
1413
|
+
"enabled": false,
|
|
1414
|
+
"languages": ["VisualBasic"],
|
|
1415
|
+
"parameters": []
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"id": "SonarVisualBasic_S4834",
|
|
1419
|
+
"category": "Security",
|
|
1420
|
+
"severityLevel": "Error",
|
|
1421
|
+
"title": "Control Permissions Securely",
|
|
1422
|
+
"enabled": false,
|
|
1423
|
+
"languages": ["VisualBasic"],
|
|
1424
|
+
"parameters": []
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"id": "SonarVisualBasic_S5042",
|
|
1428
|
+
"category": "Security",
|
|
1429
|
+
"severityLevel": "Error",
|
|
1430
|
+
"title": "Control Resource Consumption When Expanding Archive Files",
|
|
1431
|
+
"enabled": false,
|
|
1432
|
+
"languages": ["VisualBasic"],
|
|
1433
|
+
"parameters": []
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"id": "SonarVisualBasic_S5542",
|
|
1437
|
+
"category": "Security",
|
|
1438
|
+
"severityLevel": "Error",
|
|
1439
|
+
"title": "Use Encryption Algorithms with Secure Mode and Padding Scheme",
|
|
1440
|
+
"enabled": false,
|
|
1441
|
+
"languages": ["VisualBasic"],
|
|
1442
|
+
"parameters": []
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"id": "SonarVisualBasic_S5659",
|
|
1446
|
+
"category": "Security",
|
|
1447
|
+
"severityLevel": "Error",
|
|
1448
|
+
"title": "Enforce JWT Signing and Verification with Strong Cipher Algorithms",
|
|
1449
|
+
"enabled": false,
|
|
1450
|
+
"languages": ["VisualBasic"],
|
|
1451
|
+
"parameters": []
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"id": "SonarVisualBasic_S907",
|
|
1455
|
+
"category": "CodeStyle",
|
|
1456
|
+
"severityLevel": "Info",
|
|
1457
|
+
"title": "Avoid Using GoTo Statements",
|
|
1458
|
+
"enabled": false,
|
|
1459
|
+
"languages": ["VisualBasic"],
|
|
1460
|
+
"parameters": []
|
|
1461
|
+
}
|
|
1462
|
+
]
|