Anapher/Strive

View on GitHub
src/Services/ConferenceManagement/Strive.Infrastructure/KeyValue/InMemory/InMemoryDatabaseActions.cs

Summary

Maintainability
B
6 hrs
Test Coverage

File InMemoryDatabaseActions.cs has 278 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;

    Class InMemoryDatabaseActions has 24 methods (exceeds 20 allowed). Consider refactoring.
    Open

        public abstract class InMemoryDatabaseActions : IKeyValueDatabaseActions
        {
            private readonly Dictionary<string, object> _data;
    
            protected InMemoryDatabaseActions(Dictionary<string, object> data)

      Method RoomRepository_SetParticipantRoom has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              private static async ValueTask<RedisResult> RoomRepository_SetParticipantRoom(IKeyValueDatabaseActions actions,
                  string roomMappingKey, string roomListKey, string participantId, string newRoomId)

        Method JoinedParticipantsRepository_RemoveParticipantSafe has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                    IKeyValueDatabaseActions actions, string participantId, string participantKey, string conferenceKeyTemplate,
                    string connectionId)

          There are no issues that match your filters.

          Category
          Status