Skip to content

C64 Basic AI coding assistant #471

C64 Basic AI coding assistant

C64 Basic AI coding assistant #471

Triggered via pull request September 13, 2024 20:27
Status Success
Total duration 12m 28s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): src/libraries/Highbyte.DotNet6502.AI/CodingAssistant/Inference/OpenAI/ResponseCache.cs#L62
Possible null reference argument for parameter 'source' in 'ChatMessage? Enumerable.LastOrDefault<ChatMessage>(IEnumerable<ChatMessage> source)'.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems/HostApp.cs#L411
Possible null reference return.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/C64.cs#L169
Non-nullable property 'BasicTokenParser' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/C64.cs#L169
Non-nullable property 'TextPaste' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Utils/BasicAssistant/C64BasicCodingAssistant.cs#L205
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L128
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L180
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L186
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L132
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L248
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)