Query service #74
Annotations
1 error and 10 warnings
Inspect code
Issues found.
|
Inspect code:
src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs#L5
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs(5,128)
|
Inspect code:
src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs#L126
"[UnusedVariable] Local variable 'part' is never used" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs(126,3581)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L13
"[UnusedParameter.Local] Parameter 'driver' is never used" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(13,192)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L41
"[CSharpWarnings::CS1998] This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(41,865)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L48
"[CSharpWarnings::CS1998] This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(48,1051)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L2
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(2,22)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L37
"[ReturnTypeCanBeNotNullable] Return type of 'ResultSet' can be non-nullable" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(37,686)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L50
"[UnassignedGetOnlyAutoProperty] Get-only auto-property 'ExecStats' is never assigned" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(50,1093)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L83
"[UnassignedGetOnlyAutoProperty] Get-only auto-property 'Current' is never assigned" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(83,1965)
|
Inspect code:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L88
"[UnusedMember.Local] Method 'ExecuteQuery' is never used" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(88,2044)
|
The logs for this run have expired and are no longer available.
Loading