Skip to content

Update sonar-code-analysis.yml #491

Update sonar-code-analysis.yml

Update sonar-code-analysis.yml #491

Triggered via push October 14, 2023 15:33
Status Success
Total duration 5m 41s
Artifacts
Build and analyze
5m 28s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L103
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L101
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build and analyze: WoWsShipBuilder.Data.Generator/PropertyChangedSourceGenerator.cs#L57
Remove this "StringBuilder"; ".ToString()" is never called. (https://rules.sonarsource.com/csharp/RSPEC-3063)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L130
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L255
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L219
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementSourceGenerator.cs#L166
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build and analyze: WoWsShipBuilder.Common/DataContainers/AccelerationCalculator.cs#L195
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: WoWsShipBuilder.Common/DataContainers/AccelerationCalculator.cs#L219
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze: WoWsShipBuilder.Common/DataContainers/AccelerationCalculator.cs#L304
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)