CodeQL #289
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Initialize CodeQL
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Autobuild:
src/TypealizR/CodeFirstSourceGenerator/CodeFirstSourceGenerator.cs#L124
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Autobuild:
src/TypealizR/Core/ResxFileSourceGeneratorBase.cs#L102
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Autobuild:
src/TypealizR/Core/RessourceFileEntry.cs#L38
Change return type of method 'Sanitize' from 'System.Collections.Generic.IEnumerable<TypealizR.Core.MemberName>' to 'TypealizR.Core.MemberName[]' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Autobuild:
src/TypealizR/Core/MemberName.cs#L30
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)
|
Autobuild:
src/TypealizR/Core/GeneratorOptions.cs#L56
Change return type of method 'ReadSeverityConfig' from 'System.Collections.Generic.IDictionary<string, Microsoft.CodeAnalysis.DiagnosticSeverity>' to 'System.Collections.Generic.Dictionary<string, Microsoft.CodeAnalysis.DiagnosticSeverity>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Autobuild:
src/TypealizR.CLI/Commands/CodeFirst/ExportCommand.cs#L80
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Autobuild:
src/TypealizR.CLI/Commands/CodeFirst/ExportCommand.cs#L86
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Autobuild:
src/TypealizR.CLI/Commands/CodeFirst/ExportCommand.cs#L92
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Autobuild:
src/TypealizR.Tests/CLI.Tests/Abstractions/FileStorage.Tests.cs#L21
'File.ReadAllText(string)' synchronously blocks. Await 'File.ReadAllTextAsync(string, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Autobuild:
src/TypealizR/CodeFirstSourceGenerator/CodeFirstSourceGenerator.cs#L124
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
The logs for this run have expired and are no longer available.
Loading