Skip to content

Add comments to empty blocks to address csharpsquid:S108, #672 (#1032) #913

Add comments to empty blocks to address csharpsquid:S108, #672 (#1032)

Add comments to empty blocks to address csharpsquid:S108, #672 (#1032) #913

Triggered via push November 19, 2024 04:37
Status Success
Total duration 13m 12s
Artifacts

sonar.yml

on: push
Build and analyze
12m 59s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 11 warnings
Build and analyze
Went through the complete probe list looking for an Antlr4 tool jar, but could not find anything. Fail!
Build and analyze
Cannot find Antlr4 jar file, currently set to '' at Antlr4.Build.Tasks.RunAntlrTool.SetupAntlrToolJar()
Build and analyze
at Antlr4.Build.Tasks.RunAntlrTool.Execute()
Build and analyze
The Antlr4 tool failed.
Build and analyze
Went through the complete probe list looking for an Antlr4 tool jar, but could not find anything. Fail!
Build and analyze
Cannot find Antlr4 jar file, currently set to '' at Antlr4.Build.Tasks.RunAntlrTool.SetupAntlrToolJar()
Build and analyze
at Antlr4.Build.Tasks.RunAntlrTool.Execute()
Build and analyze
The Antlr4 tool failed.
Build and analyze
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3, actions/setup-java@v3, actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and analyze
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and analyze
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and analyze
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and analyze
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and analyze: src/docs/LuceneDocsPlugins/EnvironmentVariableUtil.cs#L25
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build and analyze: src/Lucene.Net/Analysis/Analyzer.cs#L476
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
Build and analyze: src/Lucene.Net/Analysis/TokenAttributes/CharTermAttributeImpl.cs#L234
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: src/Lucene.Net/Analysis/TokenAttributes/CharTermAttributeImpl.cs#L278
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: src/Lucene.Net/Analysis/TokenAttributes/CharTermAttributeImpl.cs#L316
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: src/Lucene.Net/Analysis/TokenAttributes/CharTermAttributeImpl.cs#L328
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)