Skip to content

Bump coverlet.collector from 6.0.3 to 6.0.4 #166

Bump coverlet.collector from 6.0.3 to 6.0.4

Bump coverlet.collector from 6.0.3 to 6.0.4 #166

Triggered via pull request January 20, 2025 00:58
Status Success
Total duration 2m 33s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): src/BCrypt.Net/BCryptExtendedV3.cs#L36
Invalid type for parameter workFactor in XML comment cref attribute: 'HashPassword(string, string, workFactor, HashType)'
Analyze (csharp): src/BCrypt.Net/BCryptExtendedV3.cs#L36
XML comment has cref attribute 'HashPassword(string, string, workFactor, HashType)' that could not be resolved
Analyze (csharp): src/BCrypt.Net/BCrypt.cs#L128
The behavior of 'Convert.ToInt16(string)' could vary based on the current user's locale settings. Replace this call in 'BCrypt.ValidateAndUpgradeHash(string, string, string,
Analyze (csharp): src/BCrypt.Net/BCrypt.cs#L89
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/HashParser.cs#L82
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptNet.HashParser.IsValidHash(string, out BCryptNet.HashParser.HashFormatDescriptor)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Analyze (csharp): src/BCrypt.Net/HashParser.cs#L70
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L273
The behavior of 'Convert.ToInt16(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptCore.CreatePasswordHash(string, string,
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L227
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L315
The behavior of 'int.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptCore.HashBytes(byte[], string, char, int)' with a call to 'int.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): src/BCrypt.Net/BCryptExtendedV2.cs#L69
Prefer static 'System.Security.Cryptography.SHA512.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)