Skip to content

fix test

fix test #181

Triggered via push September 24, 2023 14:10
Status Success
Total duration 4m 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L16
Remove the field '_entityIdType' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
build: src/Domain.Abstractions/Entity.cs#L94
Remove this overload of 'operator =='. (https://rules.sonarsource.com/csharp/RSPEC-3875)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L18
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L22
Drop 'Where' and move the condition into the 'FirstOrDefault'. (https://rules.sonarsource.com/csharp/RSPEC-2971)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L23
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L48
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L16
Remove the field '_entityIdType' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L18
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L35
Refactor the containing loop to do more than one iteration. (https://rules.sonarsource.com/csharp/RSPEC-1751)
build: src/Domain.Abstractions/Json/EntityIdJsonConverterFactory.cs#L33
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L22
Drop 'Where' and move the condition into the 'FirstOrDefault'. (https://rules.sonarsource.com/csharp/RSPEC-2971)
build: src/Domain.Abstractions/EntityIdTypeConverter.cs#L23
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.Abstractions/DefaultServiceDiscoveryClient.cs#L37
Lock on a dedicated object instance instead. (https://rules.sonarsource.com/csharp/RSPEC-2551)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L224
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L227
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L230
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Primitives/KnownException.cs#L10
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L224
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L227
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
build: src/ServiceDiscovery.K8s/K8SServiceDiscoveryProvider.cs#L230
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)