CodeQL #712
Annotations
1 error and 12 warnings
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v2, github/codeql-action/init@v1, 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/.
|
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (csharp)
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/
|
Analyze (csharp):
WebsocketTestServer/Program.cs#L15
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
Analyze (csharp):
ETHBot.API/Program.cs#L67
Non-nullable property 'Channels' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze (csharp):
ETHBot.API/Program.cs#L41
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):
ETHBot.DataLayer/Data/ETH/Food/Menu.cs#L31
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
ETHBot.DataLayer/Data/ETH/Food/Menu.cs#L32
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
ETHBot.DataLayer/Data/ETH/Food/Restaurant.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
RedditScrapper/PostManager.cs#L103
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Analyze (csharp):
RedditScrapper/PostManager.cs#L103
Unreachable code detected
|
Analyze (csharp):
RedditScrapper/PostManager.cs#L125
The variable 'ex' is declared but never used
|