Skip to content

CodeQL

CodeQL #43

Triggered via schedule March 23, 2024 19:49
Status Success
Total duration 4m 6s
Artifacts

codeql-analysis.yml

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

Annotations

26 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v1, 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, actions/setup-dotnet@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): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Analyze (csharp): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Analyze (csharp): MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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): MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
Analyze (csharp): MercuryHealth.Web/Controllers/HomeController.cs#L56
Dereference of a possibly null reference.
Analyze (csharp): MercuryHealth.Web/Controllers/ExercisesController.cs#L34
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): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Analyze (csharp): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Analyze (csharp): MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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): MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
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 (javascript)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v1, 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 (javascript)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@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 (javascript)
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 (javascript): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Analyze (javascript): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Analyze (javascript): MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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 (javascript): MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
Analyze (javascript): MercuryHealth.Web/Controllers/HomeController.cs#L56
Dereference of a possibly null reference.
Analyze (javascript): MercuryHealth.Web/Controllers/ExercisesController.cs#L34
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 (javascript): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Analyze (javascript): MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Analyze (javascript): MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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 (javascript): MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.