Skip to content

[Client] Fix format string in ValidateServerCertificateApplicationUri #4347

[Client] Fix format string in ValidateServerCertificateApplicationUri

[Client] Fix format string in ValidateServerCertificateApplicationUri #4347

Re-run triggered January 7, 2026 04:49
Status Success
Total duration 35m 50s
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): 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): 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.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)
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)