Skip to content

CodeQL

CodeQL #2033

Triggered via schedule September 21, 2024 05:00
Status Success
Total duration 12m 13s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Analyze (csharp): src/Sitko.Core.App/Collections/EquatableDictionary.cs#L3
'EquatableDictionary<TKey, TValue>' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Analyze (csharp): src/Sitko.Core.App/ApplicationModuleRegistration.cs#L147
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)
Analyze (csharp): src/Sitko.Core.App/CommandsModule.cs#L31
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
Analyze (csharp): src/Sitko.Core.App/Localization/JsonStringLocalizer.cs#L31
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/Sitko.Core.App/Localization/JsonStringLocalizer.cs#L16
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/Sitko.Core.App/ApplicationArgsProvider.cs#L3
Type 'ApplicationArgsProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze (csharp): src/Sitko.Core.App/ApplicationLifecycle.cs#L8
Type 'ApplicationLifecycle' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze (csharp): src/Sitko.Core.App/HostApplicationBuilderExtensions.cs#L27
Type 'ProxyHostBuilder' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze (csharp): src/Sitko.Core.App/Logging/SerilogConfigurator.cs#L6
Type 'SerilogConfigurator' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze (csharp): src/Sitko.Core.App/HostedLifecycleService.cs#L5
Type 'HostedLifecycleService' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze (csharp)
Timed out waiting for analysis to finish processing. Continuing.