Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the issue with Any expected state for func services #261

Merged
merged 1 commit into from
Aug 28, 2023

Fixed the issue with Any expected state for func services

ef787a5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fixed the issue with Any expected state for func services #261

Fixed the issue with Any expected state for func services
ef787a5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for .NET completed Aug 28, 2023 in 0s

781 new problems found by Qodana for .NET

Qodana for .NET

781 new problems were found

Inspection name Severity Problems
Non-accessed positional property (non-private accessibility) 🔶 Warning 42
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
Unused local variable 🔶 Warning 3
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
Redundant boolean comparison 🔶 Warning 2
XML comment has a 'param' tag for 'Parameter', but there is no parameter by that name 🔶 Warning 2
Member hides static member from outer class 🔶 Warning 2
Type member is never used (private accessibility) 🔶 Warning 2
Type member is never used (non-private accessibility) ◽️ Notice 437
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 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 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 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 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 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 95 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 95 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 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 warning on line 53 in src/Redis/src/Eventuous.Redis/Subscriptions/RedisStreamSubscription.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.Redis.Subscriptions.RedisStreamSubscriptionOptions.Stream' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 53 in src/Redis/src/Eventuous.Redis/Subscriptions/RedisStreamSubscription.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.Redis.Subscriptions.RedisStreamSubscriptionOptions.Stream' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 158 in src/Postgres/src/Eventuous.Postgresql/PostgresStore.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.Postgresql.NewPersistedEvent.MessageId' is never accessed (except in implicit Equals/ToString implementations)