CodeQL #324
Annotations
10 errors
Build:
src/Reprise/Features/Filters/ValidationFilterFactory.cs#L19
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
samples/Reprise.SampleApi/Endpoints/Users/CreateUserEndpoint.cs#L23
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
tests/Reprise.UnitTests/Features/Configurations/ConfigurationTypeProcessorTests.cs#L11
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/Features/Configurations/ConfigurationTypeProcessorTests.cs#L64
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/Features/Configurations/ConfigurationTypeProcessorTests.cs#L27
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/ReflectionTests.cs#L26
Change return type of method 'GetDescription' from 'object' to '<anonymous type: System.Collections.Generic.List<string?> Interface, System.Collections.Generic.List<string?> Abstract, System.Collections.Generic.List<string?> Sealed, System.Collections.Generic.List<string?> Open, System.Collections.Generic.List<string?> Static>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Build:
tests/Reprise.UnitTests/Features/Configurations/ConfigurationTypeProcessorTests.cs#L87
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/Features/Endpoints/EndpointMapperTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/Features/Endpoints/EndpointMapperTests.cs#L184
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Build:
tests/Reprise.UnitTests/Features/Configurations/ConfigurationTypeProcessorTests.cs#L100
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
The logs for this run have expired and are no longer available.
Loading