Skip to content

Apply suggestions project file analyzers. #82

Apply suggestions project file analyzers.

Apply suggestions project file analyzers. #82

Triggered via push April 19, 2024 16:16
Status Failure
Total duration 46s
Artifacts

build-test.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
build
The readme file 'README.md' does not exist in the package.
build
The readme file 'README.md' does not exist in the package.
build
The readme file 'README.md' does not exist in the package.
build
The readme file 'README.md' does not exist in the package.
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: shared/ConventionBasedSerializer.Initialize.cs#L12
Possible null reference assignment.
build: shared/TypeHelper.cs#L69
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: shared/TypeHelper.cs#L57
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: shared/TypeHelper.cs#L58
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: shared/ConventionBasedSerializer.Initialize.cs#L50
"Array.Find" static method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
build: shared/ConventionBasedSerializer.Initialize.cs#L14
The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)
build: shared/ConventionBasedSerializer.Initialize.cs#L12
Possible null reference assignment.
build: src/Qowaiv.Json.Newtonsoft/Qowaiv.Internals/ConventionBasedSerializer.cs#L12
The Cyclomatic Complexity of this method is 12 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)
build: shared/TypeHelper.cs#L69
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: shared/TypeHelper.cs#L57
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)