Skip to content

CodeQL

CodeQL #273

Triggered via schedule August 13, 2024 03:29
Status Success
Total duration 2m 13s
Artifacts

codeql-analysis.yml

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

Annotations

13 warnings
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)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v1, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/ExtendedExpression.cs#L10
The behavior of 'Expression.Expression(string)' could vary based on the current user's locale settings. Replace this call in 'ExtendedExpression.ExtendedExpression(string)' with a call to 'Expression.Expression(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
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)
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/