Skip to content

Update 2.6 (Web)

Update 2.6 (Web) #745

Triggered via pull request April 16, 2024 22:14
Status Success
Total duration 4m 48s
Artifacts

sonar-code-analysis.yml

on: pull_request
Build and analyze
4m 35s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Build and analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v3, actions/setup-dotnet@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementGenerator/DataElementAnalyzer.cs#L98
Define a constant instead of using this literal 'ArgumentsCollectionName' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementGenerator/DataElementAnalyzer.cs#L103
Define a constant instead of using this literal 'ArgumentsTextKind' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementGenerator/DataElementAnalyzer.cs#L108
Define a constant instead of using this literal 'UnitKey' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build and analyze: WoWsShipBuilder.Data.Generator/DataElementGenerator/DataElementAnalyzer.cs#L113
Define a constant instead of using this literal 'TooltipKey' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/SourceBuilder.cs#L148
Change return type to 'void'; not a single caller uses the returned value. (https://rules.sonarsource.com/csharp/RSPEC-3241)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/HashCode.cs#L77
Remove this 'throw' expression. (https://rules.sonarsource.com/csharp/RSPEC-3877)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/HashCode.cs#L75
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/HashCode.cs#L72
Remove this 'throw' expression. (https://rules.sonarsource.com/csharp/RSPEC-3877)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/HashCode.cs#L70
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
Build and analyze: WoWsShipBuilder.Data.Generator/Utilities/HashCode.cs#L43
Rename 'length' which hides the field with the same name. (https://rules.sonarsource.com/csharp/RSPEC-1117)