Skip to content

Commit 9ad5f5e

Browse files
alex-meseldzija-sonarsourceSonarTech
authored andcommitted
NET-3384 Update RSPEC before 10.21 release
GitOrigin-RevId: 41c598cd7e9f56057fc29b7b569cf54923d637b5
1 parent 8431280 commit 9ad5f5e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

analyzers/rspec/cs/S2068.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "VULNERABILITY",
44
"code": {
55
"impacts": {
6-
"SECURITY": "BLOCKER"
6+
"SECURITY": "MEDIUM"
77
},
88
"attribute": "TRUSTWORTHY"
99
},
@@ -16,7 +16,7 @@
1616
"tags": [
1717
"cwe"
1818
],
19-
"defaultSeverity": "Blocker",
19+
"defaultSeverity": "Major",
2020
"ruleSpecification": "RSPEC-2068",
2121
"sqKey": "S2068",
2222
"scope": "Main",

analyzers/rspec/cs/S6960.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>Harder to read and understand</h3>
2828
number of actions.</em></p>
2929
<h3>Harder to maintain and modify</h3>
3030
<p>Such complexity makes the controller <strong>harder to maintain and modify</strong>, slowing down new development and <a
31-
href="https://arxiv.org/ftp/arxiv/papers/1912/1912.01142.pdf">increasing the likelihood of bugs</a>.</p>
31+
href="https://arxiv.org/abs/1912.01142">increasing the likelihood of bugs</a>.</p>
3232
<p><em>For example, a change in <code>MediaController</code> made for the movies APIs may inadvertently have an impact on the photos APIs as well.
3333
Because the change was made in the context of movies, tests on photos may be overlooked, resulting in bugs in production.</em></p>
3434
<p><em>That would not be likely to happen when two distinct controllers, <code>MovieController</code> and a <code>PhotoController</code>, are
@@ -214,7 +214,7 @@ <h3>Documentation</h3>
214214
<li>Sonar - <a href="https://www.sonarsource.com/docs/CognitiveComplexity.pdf">Cognitive Complexity</a></li>
215215
<li>Wikipedia - <a href="https://en.wikipedia.org/wiki/Single_responsibility_principle">Single responsibility principle</a></li>
216216
<li>Wikipedia - <a href="https://en.wikipedia.org/wiki/Mediator_pattern">Mediator pattern</a></li>
217-
<li>Wolverine - <a href="https://wolverinefx.io/tutorials/getting-started.html">Getting Started</a></li>
217+
<li>Wolverine - <a href="https://wolverinefx.io/introduction/getting-started.html">Getting Started</a></li>
218218
</ul>
219219
<h3>Articles &amp; blog posts</h3>
220220
<ul>
@@ -227,8 +227,8 @@ <h3>Articles &amp; blog posts</h3>
227227
</ul>
228228
<h3>Conference presentations</h3>
229229
<ul>
230-
<li>Cornell University arxiv.org - <a href="https://arxiv.org/ftp/arxiv/papers/1912/1912.01142.pdf">Changqi Chen: An Empirical Investigation of
231-
Correlation between Code Complexity and Bugs</a></li>
230+
<li>Cornell University arxiv.org - <a href="https://arxiv.org/abs/1912.01142">Changqi Chen: An Empirical Investigation of Correlation between Code
231+
Complexity and Bugs</a></li>
232232
</ul>
233233
<h3>Related rules</h3>
234234
<ul>

analyzers/rspec/vbnet/S2068.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "VULNERABILITY",
44
"code": {
55
"impacts": {
6-
"SECURITY": "BLOCKER"
6+
"SECURITY": "MEDIUM"
77
},
88
"attribute": "TRUSTWORTHY"
99
},
@@ -16,7 +16,7 @@
1616
"tags": [
1717
"cwe"
1818
],
19-
"defaultSeverity": "Blocker",
19+
"defaultSeverity": "Major",
2020
"ruleSpecification": "RSPEC-2068",
2121
"sqKey": "S2068",
2222
"scope": "Main",

analyzers/src/SonarAnalyzer.CSharp/sonarpedia.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"languages": [
44
"CSH"
55
],
6-
"latest-update": "2026-02-23T15:11:01.939630600Z",
6+
"latest-update": "2026-03-13T08:49:34.158833400Z",
77
"options": {
88
"no-language-in-filenames": true
99
}

analyzers/src/SonarAnalyzer.VisualBasic/sonarpedia.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"languages": [
44
"VBNET"
55
],
6-
"latest-update": "2026-02-23T15:13:14.525607500Z",
6+
"latest-update": "2026-03-13T08:50:35.899239500Z",
77
"options": {
88
"no-language-in-filenames": true
99
}

0 commit comments

Comments
 (0)