-
Notifications
You must be signed in to change notification settings - Fork 724
SONARJAVA-6823: Implemented rule S909 "continue" should not be used #5989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
971f928
SONARJAVA-6823: Implemented rule S9356 "continue" should not be used …
romainbrenguier 3c56e83
Update ruling results for PR #5989 (#5992)
github-actions[bot] 897e13b
SONARJAVA-6823: Add withoutSemantic test for S9356
romainbrenguier 3e4cce6
Update ruling results for PR #5989 (#5994)
github-actions[bot] 8078eea
SONARJAVA-6823: Use S909 rule key instead of S9356
romainbrenguier f7f3eae
Update ruling results for PR #5989 (#6030)
github-actions[bot] 453282a
Update ruling results for PR #5989 (#6032)
github-actions[bot] eda455c
SONARJAVA-6823: Remove stale java-S9356.json for eclipse-jetty-simila…
romainbrenguier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
its/ruling/src/test/resources/commons-beanutils/java-S909.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java": [ | ||
| 276, | ||
| 819 | ||
| ], | ||
| "commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java": [ | ||
| 346, | ||
| 352 | ||
| ], | ||
| "commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MethodUtils.java": [ | ||
| 880 | ||
| ] | ||
| } |
177 changes: 177 additions & 0 deletions
177
its/ruling/src/test/resources/eclipse-jetty-similar-to-main/java-S909.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,177 @@ | ||
| { | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java": [ | ||
| 88, | ||
| 102, | ||
| 109, | ||
| 113, | ||
| 139, | ||
| 144, | ||
| 238, | ||
| 252, | ||
| 263, | ||
| 275, | ||
| 298, | ||
| 312 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/GZIPContentDecoder.java": [ | ||
| 196, | ||
| 252 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java": [ | ||
| 168 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java": [ | ||
| 1325 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java": [ | ||
| 846 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java": [ | ||
| 872, | ||
| 894 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java": [ | ||
| 841, | ||
| 888, | ||
| 923 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java": [ | ||
| 433, | ||
| 439, | ||
| 602, | ||
| 609 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSVParser.java": [ | ||
| 129, | ||
| 134, | ||
| 143, | ||
| 153, | ||
| 166, | ||
| 182, | ||
| 210, | ||
| 227, | ||
| 234, | ||
| 241, | ||
| 255, | ||
| 264, | ||
| 273 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java": [ | ||
| 184 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java": [ | ||
| 225, | ||
| 229, | ||
| 238, | ||
| 245 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-io/src/main/java/org/eclipse/jetty/io/AbstractEndPoint.java": [ | ||
| 74, | ||
| 99, | ||
| 105, | ||
| 131, | ||
| 152, | ||
| 158, | ||
| 197, | ||
| 204 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java": [ | ||
| 178 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java": [ | ||
| 1005 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java": [ | ||
| 335 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java": [ | ||
| 628, | ||
| 638, | ||
| 721, | ||
| 747, | ||
| 1001, | ||
| 1011, | ||
| 1089, | ||
| 1196 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java": [ | ||
| 201, | ||
| 461, | ||
| 466 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java": [ | ||
| 723, | ||
| 728 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java": [ | ||
| 496, | ||
| 498, | ||
| 500, | ||
| 502, | ||
| 504, | ||
| 506, | ||
| 508, | ||
| 510, | ||
| 512 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java": [ | ||
| 783, | ||
| 791, | ||
| 796, | ||
| 802, | ||
| 863 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java": [ | ||
| 1056, | ||
| 1078 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/InclusiveByteRange.java": [ | ||
| 160, | ||
| 185, | ||
| 195 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/MultiPartParser.java": [ | ||
| 202, | ||
| 208, | ||
| 323, | ||
| 332 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/Response.java": [ | ||
| 284, | ||
| 289, | ||
| 292, | ||
| 297, | ||
| 300, | ||
| 1183, | ||
| 1202 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java": [ | ||
| 344 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/Utf8HttpWriter.java": [ | ||
| 68 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java": [ | ||
| 359, | ||
| 753, | ||
| 793, | ||
| 811, | ||
| 1132, | ||
| 2106, | ||
| 2160 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandlerCollection.java": [ | ||
| 144 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java": [ | ||
| 339 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java": [ | ||
| 593 | ||
| ], | ||
| "org.eclipse.jetty:jetty-project:jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java": [ | ||
| 801, | ||
| 939, | ||
| 984 | ||
| ] | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.