Skip to content

refactor: Make '_tcpClient' and '_udpClient' 'readonly' #11

refactor: Make '_tcpClient' and '_udpClient' 'readonly'

refactor: Make '_tcpClient' and '_udpClient' 'readonly' #11

Triggered via push October 4, 2025 15:51
Status Success
Total duration 1m 49s
Artifacts

sonarcloud.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Sonar Check: NetSdrClientApp/Networking/UdpClientWrapper.cs#L24
Dispose '_cts' when it is no longer needed. (https://rules.sonarsource.com/csharp/RSPEC-2930)
Sonar Check: NetSdrClientApp/NetSdrClient.cs#L156
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Sonar Check: NetSdrClientApp/Messages/NetSdrMessageHelper.cs#L10
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Sonar Check: NetSdrClientApp/NetSdrClient.cs#L160
Cannot convert null literal to non-nullable reference type.
Sonar Check: NetSdrClientApp/NetSdrClient.cs#L141
Possible null reference return.
Sonar Check: NetSdrClientApp/Networking/TcpClientWrapper.cs#L120
The variable 'ex' is declared but never used
Sonar Check: NetSdrClientApp/Networking/UdpClientWrapper.cs#L38
The variable 'ex' is declared but never used
Sonar Check: NetSdrClientApp/Networking/TcpClientWrapper.cs#L63
Cannot convert null literal to non-nullable reference type.
Sonar Check: NetSdrClientApp/NetSdrClient.cs#L22
Non-nullable field 'responseTaskSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Sonar Check: NetSdrClientApp/Networking/TcpClientWrapper.cs#L25
Non-nullable field '_cts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.