Feature/lab6 refactoring#6
Quality Gate failed
Failed conditions
1 Security Hotspot
0.0% Coverage on New Code (required ≥ 80%)
E Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 27 in EchoTcpServer/UdpTimedSender.cs
sonarqubecloud / SonarCloud Code Analysis
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).
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hmfMa30m0oQIV3&open=AZrho6hmfMa30m0oQIV3&pullRequest=6
Check failure on line 20 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Dispose '_cancellationTokenSource' when it is no longer needed.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV6&open=AZrho6h6fMa30m0oQIV6&pullRequest=6
Check warning on line 6 in EchoTcpServer/Program.cs
sonarqubecloud / SonarCloud Code Analysis
Add a 'protected' constructor or the 'static' keyword to the class declaration.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hBfMa30m0oQIVy&open=AZrho6hBfMa30m0oQIVy&pullRequest=6
Check warning on line 51 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Change the 'ReadAsync' method call to use the 'Stream.ReadAsync(Memory<byte>, CancellationToken)' overload
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIWC&open=AZrho6h6fMa30m0oQIWC&pullRequest=6
Check warning on line 11 in EchoTcpServer/Program.cs
sonarqubecloud / SonarCloud Code Analysis
Remove the unused local variable 'serverTask'.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hCfMa30m0oQIVz&open=AZrho6hCfMa30m0oQIVz&pullRequest=6
Check warning on line 56 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Handle the exception or explain in a comment why it can be ignored.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV9&open=AZrho6h6fMa30m0oQIV9&pullRequest=6
Check warning on line 37 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Either remove or fill this block of code.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIWA&open=AZrho6h6fMa30m0oQIWA&pullRequest=6
Check warning on line 13 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Make '_cancellationTokenSource' 'readonly'.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV7&open=AZrho6h6fMa30m0oQIV7&pullRequest=6
Check warning on line 55 in EchoTcpServer/UdpTimedSender.cs
sonarqubecloud / SonarCloud Code Analysis
Cannot convert null literal to non-nullable reference type.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hmfMa30m0oQIV4&open=AZrho6hmfMa30m0oQIV4&pullRequest=6
Check warning on line 9 in EchoTcpServer/UdpTimedSender.cs
sonarqubecloud / SonarCloud Code Analysis
Fix this implementation of 'IDisposable' to conform to the dispose pattern.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hmfMa30m0oQIV0&open=AZrho6hmfMa30m0oQIV0&pullRequest=6
Check warning on line 41 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Make 'HandleClientAsync' a static method.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV_&open=AZrho6h6fMa30m0oQIV_&pullRequest=6
Check warning on line 41 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Member 'HandleClientAsync' does not access instance data and can be marked as static
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIWE&open=AZrho6h6fMa30m0oQIWE&pullRequest=6
Check warning on line 56 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Either remove or fill this block of code.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV-&open=AZrho6h6fMa30m0oQIV-&pullRequest=6
Check warning on line 53 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIWD&open=AZrho6h6fMa30m0oQIWD&pullRequest=6
Check warning on line 37 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Handle the exception or explain in a comment why it can be ignored.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIV8&open=AZrho6h6fMa30m0oQIV8&pullRequest=6
Check warning on line 17 in EchoTcpServer/EchoServer.cs
sonarqubecloud / SonarCloud Code Analysis
Non-nullable field '_listener' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6h6fMa30m0oQIWB&open=AZrho6h6fMa30m0oQIWB&pullRequest=6
Check warning on line 58 in EchoTcpServer/UdpTimedSender.cs
sonarqubecloud / SonarCloud Code Analysis
Change UdpTimedSender.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hmfMa30m0oQIV5&open=AZrho6hmfMa30m0oQIV5&pullRequest=6
Check warning on line 17 in EchoTcpServer/UdpTimedSender.cs
sonarqubecloud / SonarCloud Code Analysis
Non-nullable field '_timer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
See more on https://sonarcloud.io/project/issues?id=limeeqq_reengineering&issues=AZrho6hmfMa30m0oQIV2&open=AZrho6hmfMa30m0oQIV2&pullRequest=6