microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

Method BuildTargetModel has 2640 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "3.1.8")
Severity: Major
Found in eFormCore/Migrations/20201220201427_FixingQuestionSet.Designer.cs - About 1 wk to fix

    Method BuildTargetModel has 2640 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            protected override void BuildTargetModel(ModelBuilder modelBuilder)
            {
    #pragma warning disable 612, 618
                modelBuilder
                    .HasAnnotation("ProductVersion", "3.1.8")
    Severity: Major
    Found in eFormCore/Migrations/20201222125152_HugheTableRenaming.Designer.cs - About 1 wk to fix

      Method BuildTargetModel has 2640 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              protected override void BuildTargetModel(ModelBuilder modelBuilder)
              {
      #pragma warning disable 612, 618
                  modelBuilder
                      .HasAnnotation("ProductVersion", "3.1.8")
      Severity: Major
      Found in eFormCore/Migrations/20201130204234_FixingSplitScreen.Designer.cs - About 1 wk to fix

        Method BuildTargetModel has 2640 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                protected override void BuildTargetModel(ModelBuilder modelBuilder)
                {
        #pragma warning disable 612, 618
                    modelBuilder
                        .HasAnnotation("ProductVersion", "3.1.8")

          File SqlControllerTestQuestion.cs has 4374 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          using eFormCore;
          using Microsoft.EntityFrameworkCore;
          using NUnit.Framework;
          using System;
          using System.Collections.Generic;
          Severity: Major
          Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 1 wk to fix

            File CoreTesteFormFromXMLLarge.cs has 3905 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            using System;
            using System.Collections.Generic;
            using System.IO;
            using System.Linq;
            using System.Reflection;

              Method Core_Case_CaseReadAll_Medium has 1948 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      [Test]
                      public async Task Core_Case_CaseReadAll_Medium()
                      {
                          // Arrance
              
              
              Severity: Major
              Found in eFormSDK.Integration.Case.CoreTests/CoreTestCaseReadAllMedium.cs - About 1 wk to fix

                File 20240619132520_AddPinCodeEmployeeNoToWorker.Designer.cs has 3244 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                using System;
                using Microsoft.EntityFrameworkCore;
                using Microsoft.EntityFrameworkCore.Infrastructure;
                using Microsoft.EntityFrameworkCore.Metadata;
                using Microsoft.EntityFrameworkCore.Migrations;

                  Method BuildTargetModel has 1815 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          protected override void BuildTargetModel(ModelBuilder modelBuilder)
                          {
                  #pragma warning disable 612, 618
                              string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                              object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                    Method BuildTargetModel has 1814 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            protected override void BuildTargetModel(ModelBuilder modelBuilder)
                            {
                    #pragma warning disable 612, 618
                                string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                      Method BuildTargetModel has 1813 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              protected override void BuildTargetModel(ModelBuilder modelBuilder)
                              {
                      #pragma warning disable 612, 618
                                  string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                  object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                        Method BuildTargetModel has 1813 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                protected override void BuildTargetModel(ModelBuilder modelBuilder)
                                {
                        #pragma warning disable 612, 618
                                    string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                    object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                          Method BuildTargetModel has 1802 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  protected override void BuildTargetModel(ModelBuilder modelBuilder)
                                  {
                          #pragma warning disable 612, 618
                                      string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                      object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                            Method BuildTargetModel has 1802 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    protected override void BuildTargetModel(ModelBuilder modelBuilder)
                                    {
                            #pragma warning disable 612, 618
                                        string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                        object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                              Method BuildTargetModel has 1801 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      protected override void BuildTargetModel(ModelBuilder modelBuilder)
                                      {
                              #pragma warning disable 612, 618
                                          string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                          object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;
                              Severity: Major
                              Found in eFormCore/Migrations/20200427095029_AdjustTimeToUTC.Designer.cs - About 1 wk to fix

                                Method BuildTargetModel has 1801 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        protected override void BuildTargetModel(ModelBuilder modelBuilder)
                                        {
                                #pragma warning disable 612, 618
                                            string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
                                            object autoIDGenStrategyValue = MySqlValueGenerationStrategy.IdentityColumn;

                                  File 20230607084834_AddingOriginalFileLocationToUploadedData.Designer.cs has 3159 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  using System;
                                  using Microsoft.EntityFrameworkCore;
                                  using Microsoft.EntityFrameworkCore.Infrastructure;
                                  using Microsoft.EntityFrameworkCore.Migrations;
                                  using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

                                    File 20230506062507_AddingInitialsToWorkers.Designer.cs has 3155 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    using System;
                                    using Microsoft.EntityFrameworkCore;
                                    using Microsoft.EntityFrameworkCore.Infrastructure;
                                    using Microsoft.EntityFrameworkCore.Migrations;
                                    using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

                                      File 20221129082337_AddingReceivedByServerAtToCases.Designer.cs has 3149 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      using System;
                                      using Microsoft.EntityFrameworkCore;
                                      using Microsoft.EntityFrameworkCore.Infrastructure;
                                      using Microsoft.EntityFrameworkCore.Migrations;
                                      using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

                                        File 20221016081344_AddingIsActiveToLanguage.Designer.cs has 3145 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        using System;
                                        using Microsoft.EntityFrameworkCore;
                                        using Microsoft.EntityFrameworkCore.Infrastructure;
                                        using Microsoft.EntityFrameworkCore.Migrations;
                                        using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language