Merge pull request #1 from snovak7/main #1
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 warnings
Build and analyze (7.0.x):
src/Persistence/Cassandra/Options/CassandraStorageOptionsValidator.cs#L13
Remove this unread private field '_options' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Build and analyze (7.0.x):
src/Persistence/Cassandra/Options/CassandraStorageOptionsValidator.cs#L14
Remove this unread private field '_name' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Build and analyze (7.0.x):
src/Clustering/Cassandra/Provider/SessionContextProviderBase.cs#L537
Multiple logging methods are using event id 500 in class SessionContextProviderBase
|
Build and analyze (7.0.x):
src/Clustering/Cassandra/Hosting/ClientBuilderExtensions.cs#L43
In externally visible method 'IClientClusteringBuilder ClientBuilderExtensions.UseCassandraClustering(IClientBuilder clientBuilder, Action<OptionsBuilder<CassandraGatewayListProviderOptions>> configureOptions)', validate parameter 'configureOptions' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build and analyze (7.0.x):
src/Reminders/Cassandra/Provider/CassandraRemindersTable.cs#L214
Remove the unused private method 'Execute'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Build and analyze (7.0.x):
src/Reminders/Cassandra/Schema/Reminder.cs#L36
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
|
Build and analyze (7.0.x):
src/Reminders/Cassandra/Schema/Reminder.cs#L42
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
|
Build and analyze (7.0.x):
src/Reminders/Cassandra/Provider/CassandraRemindersTable.cs#L140
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build and analyze (7.0.x):
test/Clustering/Cassandra/TestClusterTests.cs#L28
XML comment is not placed on a valid language element
|
Build and analyze (7.0.x):
test/Reminders/Cassandra/Grains/TestGrain.cs#L40
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|