Skip to content

CodeQL

CodeQL #258

Triggered via schedule June 18, 2024 03:29
Status Success
Total duration 2m 27s
Artifacts

codeql-analysis.yml

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

Annotations

13 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/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): PanoramicData.NCalcExtensions/Extensions/ListOf.cs#L87
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L100
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L101
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L103
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/TimeSpan.cs#L41
The behavior of 'TimeSpan.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'TimeSpan.Evaluate(FunctionArgs)' with a call to 'TimeSpan.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/Sum.cs#L15
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/Sum.cs#L16
Type 'short' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/Sum.cs#L38
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/Sum.cs#L39
Type 'short' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp): PanoramicData.NCalcExtensions/Extensions/Min.cs#L16
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
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/