Skip to content

Add an option to resolve store when handling a command (#216)

Sign in for the full log view
GitHub Actions / Qodana for .NET completed Aug 22, 2023 in 0s

785 new problems found by Qodana for .NET

Qodana for .NET

785 new problems were found

Inspection name Severity Problems
Non-accessed positional property (non-private accessibility) 🔶 Warning 46
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 12
Non-accessed field (private accessibility) 🔶 Warning 8
Possible unassigned object created by 'new' expression 🔶 Warning 8
Non-accessed positional property (private accessibility) 🔶 Warning 6
Unused parameter (private accessibility) 🔶 Warning 4
Conditional access qualifier expression is not null according to nullable reference types' annotations 🔶 Warning 2
Return type of a function can be non-nullable 🔶 Warning 2
XML comment has a 'param' tag for 'Parameter', but there is no parameter by that name 🔶 Warning 2
Redundant boolean comparison 🔶 Warning 2
Member hides static member from outer class 🔶 Warning 2
Type member is never used (private accessibility) 🔶 Warning 2
Unused local variable 🔶 Warning 1
Type member is never used (non-private accessibility) ◽️ Notice 439
Member can be made private (non-private accessibility) ◽️ Notice 76
Type is never used (non-private accessibility) ◽️ Notice 48
Auto-property can be made get-only (non-private accessibility) ◽️ Notice 26
Method return value is never used (non-private accessibility) ◽️ Notice 22
Unused parameter (non-private accessibility) ◽️ Notice 18
Member can be made protected (non-private accessibility) ◽️ Notice 16
Property can be made init-only (non-private accessibility) ◽️ Notice 8
Class is never instantiated (private accessibility) ◽️ Notice 6
Parameter type can be IEnumerable<T> (private accessibility) ◽️ Notice 4
Use preferred style of 'new' expression when created type is not evident ◽️ Notice 4
Type member is never accessed via base type (non-private accessibility) ◽️ Notice 4
Some values of the enum are not processed inside 'switch' expression and are handled via exception in default arm ◽️ Notice 4
Tail recursive call can be replaced with loop ◽️ Notice 2
Member can be made private (private accessibility) ◽️ Notice 2
Field can be made readonly (non-private accessibility) ◽️ Notice 2
Virtual (overridable) member is never overridden (non-private accessibility) ◽️ Notice 2
Return type can be IEnumerable<T> (non-private accessibility) ◽️ Notice 2
Some values of the enum are not processed inside 'switch' statement ◽️ Notice 2
Convert local variable or field into constant (private accessibility) ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 18 in src/Core/src/Eventuous.Subscriptions/Context/ContextItems.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddItem' return value is never used

Check notice on line 18 in src/Core/src/Eventuous.Subscriptions/Context/ContextItems.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddItem' return value is never used

Check notice on line 37 in src/Core/src/Eventuous.Shared/Tools/Ensure.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'NotEmptyString' return value is never used

Check notice on line 37 in src/Core/src/Eventuous.Shared/Tools/Ensure.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'NotEmptyString' return value is never used

Check notice on line 12 in src/Core/src/Eventuous.Shared/TypeMap/TypeMap.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Add' return value is never used

Check notice on line 12 in src/Core/src/Eventuous.Shared/TypeMap/TypeMap.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Add' return value is never used

Check notice on line 58 in src/Core/src/Eventuous.Application/FunctionalService/FuncCommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Act' return value is never used

Check notice on line 81 in src/Core/src/Eventuous.Application/FunctionalService/FuncCommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Act' return value is never used

Check notice on line 58 in src/Core/src/Eventuous.Application/FunctionalService/FuncCommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Act' return value is never used

Check notice on line 81 in src/Core/src/Eventuous.Application/FunctionalService/FuncCommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'Act' return value is never used

Check notice on line 29 in src/Core/src/Eventuous.Diagnostics/ActivityExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'SetActivityStatus' return value is never used

Check notice on line 29 in src/Core/src/Eventuous.Diagnostics/ActivityExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'SetActivityStatus' return value is never used

Check notice on line 93 in src/Core/src/Eventuous.Application/AggregateService/CommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'ResolveStore' return value is never used

Check notice on line 93 in src/Core/src/Eventuous.Application/AggregateService/CommandHandlerBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'ResolveStore' return value is never used

Check notice on line 33 in src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventHandler' return value is never used

Check notice on line 47 in src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventHandler' return value is never used

Check notice on line 33 in src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventHandler' return value is never used

Check notice on line 47 in src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventHandler' return value is never used

Check notice on line 25 in src/Postgres/src/Eventuous.Postgresql/Extensions/RegistrationExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventuousPostgres' return value is never used

Check notice on line 71 in src/Postgres/src/Eventuous.Postgresql/Extensions/RegistrationExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventuousPostgres' return value is never used

Check notice on line 25 in src/Postgres/src/Eventuous.Postgresql/Extensions/RegistrationExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventuousPostgres' return value is never used

Check notice on line 71 in src/Postgres/src/Eventuous.Postgresql/Extensions/RegistrationExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Method return value is never used (non-private accessibility)

Method 'AddEventuousPostgres' return value is never used

Check warning on line 10 in test/Eventuous.Sut.Domain/BookingEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.RoomId' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 11 in test/Eventuous.Sut.Domain/BookingEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckIn' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 12 in test/Eventuous.Sut.Domain/BookingEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckOut' is never accessed (except in implicit Equals/ToString implementations)