dolittle/DotNET.SDK

View on GitHub
Source/Projections/Actors/ProjectionActor.cs

Summary

Maintainability
B
5 hrs
Test Coverage

File ProjectionActor.cs has 262 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dolittle.SDK.Async;
using Dolittle.SDK.Events;
Severity: Minor
Found in Source/Projections/Actors/ProjectionActor.cs - About 2 hrs to fix

    Method ReceiveAsync has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public async Task ReceiveAsync(IContext context)
        {
            try
            {
                switch (context.Message)
    Severity: Minor
    Found in Source/Projections/Actors/ProjectionActor.cs - About 1 hr to fix

      Method On has 40 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          async Task On(ProjectedEvent projectedEvent, IContext context)
          {
              var firstEvent = _projection is null;
              if (firstEvent)
              {
      Severity: Minor
      Found in Source/Projections/Actors/ProjectionActor.cs - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status