Skip to content

Fix coverage output paths in sonarcloud.yml #70

Fix coverage output paths in sonarcloud.yml

Fix coverage output paths in sonarcloud.yml #70

Triggered via push November 19, 2025 15:53
Status Failure
Total duration 2m 34s
Artifacts

sonarcloud.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Sonar Check
Process completed with exit code 1.
Sonar Check: EchoServerTests/UdpTimedSenderTests.cs#L193
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
Sonar Check: EchoServerTests/UdpTimedSenderTests.cs#L87
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
Sonar Check: EchoServerTests/UdpTimedSenderTests.cs#L83
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
Sonar Check: EchoServerTests/UdpTimedSenderTests.cs#L82
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
Sonar Check: EchoTspServer/Wrappers/TcpClientWrapper.cs#L6
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Sonar Check: EchoTspServer/Wrappers/NetworkStreamWrapper.cs#L8
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Sonar Check: EchoTspServer/UdpTimedSender.cs#L11
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Sonar Check: EchoTspServer/UdpTimedSender.cs#L60
Cannot convert null literal to non-nullable reference type.
Sonar Check: EchoTspServer/UdpTimedSender.cs#L30
Nullability of reference types in type of parameter 'state' of 'void UdpTimedSender.SendMessageCallback(object state)' doesn't match the target delegate 'TimerCallback' (possibly because of nullability attributes).
Sonar Check: EchoTspServer/UdpTimedSender.cs#L18
Non-nullable field '_timer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.