Skip to content

Fix MinNonceLength for SecurityPolicies.Basic128Rsa15 #4279

Fix MinNonceLength for SecurityPolicies.Basic128Rsa15

Fix MinNonceLength for SecurityPolicies.Basic128Rsa15 #4279

Triggered via pull request December 11, 2025 20:27
Status Success
Total duration 36m 37s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.Client.IMqttClient' to 'MQTTnet.Client.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
Analyze (csharp): Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.Client.IMqttClient' to 'MQTTnet.Client.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
Analyze (csharp): Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Analyze (csharp): Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)