dolittle/DotNET.SDK

View on GitHub
Source/Events.Processing/EventProcessors.cs

Summary

Maintainability
A
3 hrs
Test Coverage
F
0%

Method RunProcessorForeverUntilCancelledWithGracefulDisconnect has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async Task RunProcessorForeverUntilCancelledWithGracefulDisconnect<TIdentifier, TClientMessage, TServerMessage, TRegisterArguments, TRegisterResponse,
        TRequest, TResponse>(
        IEventProcessor<TIdentifier, TRegisterArguments, TRequest, TResponse> eventProcessor,
        IAmAReverseCallProtocol<TClientMessage, TServerMessage, TRegisterArguments, TRegisterResponse, TRequest, TResponse> protocol,
        CancellationToken shutdownToken)
Severity: Major
Found in Source/Events.Processing/EventProcessors.cs - About 2 hrs to fix

    Method RunProcessorForeverUntilCancelled has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        async Task RunProcessorForeverUntilCancelled<TIdentifier, TClientMessage, TServerMessage, TRegisterArguments, TRegisterResponse, TRequest, TResponse>(
            IEventProcessor<TIdentifier, TRegisterArguments, TRequest, TResponse> eventProcessor,
            IAmAReverseCallProtocol<TClientMessage, TServerMessage, TRegisterArguments, TRegisterResponse, TRequest, TResponse> protocol,
            CancellationToken cancellationToken)
            where TIdentifier : ConceptAs<Guid>
    Severity: Minor
    Found in Source/Events.Processing/EventProcessors.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status