microting/eform-sdk-dotnet

View on GitHub
eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs

Summary

Maintainability
F
3 days
Test Coverage

File CoreTestFolders.cs has 551 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
Severity: Major
Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 1 day to fix

    Method Core_Folders_UpdateFolder_DoesUpdateFolderWithTranslations has 90 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public async Task Core_Folders_UpdateFolder_DoesUpdateFolderWithTranslations()
            {
                // Arrange
    
    Severity: Major
    Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 3 hrs to fix

      Method Core_Folders_CreateSubFolder_DoesCreateSubFolderWithTranslations has 84 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              public async Task Core_Folders_CreateSubFolder_DoesCreateSubFolderWithTranslations()
              {
                  // Arrange
      
      Severity: Major
      Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 3 hrs to fix

        Method Core_Folders_UpdateFolder_DoesUpdateSingleFolderTranslation has 80 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                [Test]
                public async Task Core_Folders_UpdateFolder_DoesUpdateSingleFolderTranslation()
                {
                    // Arrange
        
        Severity: Major
        Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 3 hrs to fix

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

                  [Test]
                  public async Task Core_Folders_CreateSubFolder_DoesCreateSubFolder()
                  {
                      // Arrange
          
          Severity: Major
          Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 2 hrs to fix

            Method Core_Folders_CreateFolder_DoesCreateNewFolderWithTranslations has 51 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    [Test]
                    public async Task Core_Folders_CreateFolder_DoesCreateNewFolderWithTranslations()
                    {
                        // Arrange
            
            Severity: Major
            Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 2 hrs to fix

              Method Core_Folders_UpdateFolder_DoesUpdateFolder has 46 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      [Test]
                      public async Task Core_Folders_UpdateFolder_DoesUpdateFolder()
                      {
                          // Arrange
              
              Severity: Minor
              Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 1 hr to fix

                Method Core_Folders_CreateFolder_DoesCreateNewFolder has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        [Test]
                        public async Task Core_Folders_CreateFolder_DoesCreateNewFolder()
                        {
                            // Arrange
                
                Severity: Minor
                Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 1 hr to fix

                  Method DoSetup has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          public override async Task DoSetup()
                          {
                              #region Setup SettingsTableContent
                  
                              DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
                  Severity: Minor
                  Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 1 hr to fix

                    Method Core_Folders_DeleteFolder_DoesMarkFolderAsRemoved has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            [Test]
                            public async Task Core_Folders_DeleteFolder_DoesMarkFolderAsRemoved()
                            {
                                // Arrange
                    
                    Severity: Minor
                    Found in eFormSDK.Integration.Base.CoreTests/CoreTestFolders.cs - About 1 hr to fix

                      There are no issues that match your filters.

                      Category
                      Status