microting/eform-sdk-dotnet

View on GitHub
eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs

Summary

Maintainability
D
2 days
Test Coverage

File LanguageQuestionSetUTest.cs has 405 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
Severity: Minor
Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 5 hrs to fix

    Method LanguageQuestionSet_Update_DoesUpdate_W_MicrotingUid_RemovesUid has 64 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public async Task LanguageQuestionSet_Update_DoesUpdate_W_MicrotingUid_RemovesUid()
            {
                //Assert
                Random rnd = new Random();
    Severity: Major
    Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 2 hrs to fix

      Method LanguageQuestionSet_Update_DoesUpdate_W_MicrotingUid has 64 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              public async Task LanguageQuestionSet_Update_DoesUpdate_W_MicrotingUid()
              {
                  //Assert
                  Random rnd = new Random();
      Severity: Major
      Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 2 hrs to fix

        Method LanguageQuestionSet_Update_DoesUpdate_WO_MicrotingUid has 61 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                [Test]
                public async Task LanguageQuestionSet_Update_DoesUpdate_WO_MicrotingUid()
                {
                    //Assert
                    Random rnd = new Random();
        Severity: Major
        Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 2 hrs to fix

          Method LanguageQuestionSet_Update_DoesUpdate_WO_MicrotingUid_AddsUid has 60 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  [Test]
                  public async Task LanguageQuestionSet_Update_DoesUpdate_WO_MicrotingUid_AddsUid()
                  {
                      //Assert
                      Random rnd = new Random();
          Severity: Major
          Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 2 hrs to fix

            Method LanguageQuestionSet_Delete_DoesDelete has 49 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    [Test]
                    public async Task LanguageQuestionSet_Delete_DoesDelete()
                    {
                        //Assert
                        Random rnd = new Random();
            Severity: Minor
            Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 1 hr to fix

              Method LanguageQuestionSet_Create_DoesCreate_W_MicrotingUid has 39 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      [Test]
                      public async Task LanguageQuestionSet_Create_DoesCreate_W_MicrotingUid()
                      {
                          //Assert
                          Random rnd = new Random();
              Severity: Minor
              Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 1 hr to fix

                Method LanguageQuestionSet_Create_DoesCreate_WO_MicrotingUid has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        [Test]
                        public async Task LanguageQuestionSet_Create_DoesCreate_WO_MicrotingUid()
                        {
                            //Assert
                            Random rnd = new Random();
                Severity: Minor
                Found in eFormSDK.InSight.Tests/LanguageQuestionSetUTest.cs - About 1 hr to fix

                  There are no issues that match your filters.

                  Category
                  Status