Avalonia Update #451
sonar-code-analysis.yml
on: pull_request
Build and analyze
7m 23s
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#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.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.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)
|