microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

File 20220207094729_AddingIsLockedToSiteUnitWorkers.Designer.cs has 3141 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;

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

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

      Method BuildTargetModel has 1780 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 1778 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 20211116085744_AddingDoneAtEditable.Designer.cs has 3129 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;

            Method BuildTargetModel has 1770 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 20211108111024_AddingIsArchivedToCases.Designer.cs has 3116 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 20211014105943_CLAttributes.Designer.cs has 3112 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: Major
                Found in eFormCore/Migrations/20211014105943_CLAttributes.Designer.cs - About 1 wk to fix

                  Method BuildTargetModel has 1764 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 20210730085329_AddingDefaultValueToFieldTranslations.Designer.cs has 3100 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;

                      Method Down has 1758 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              protected override void Down(MigrationBuilder migrationBuilder)
                              {
                                  migrationBuilder.DropForeignKey(
                                      name: "FK_Answers_Languages_LanguageId",
                                      table: "Answers");
                      Severity: Major
                      Found in eFormCore/Migrations/20201222125152_HugheTableRenaming.cs - About 1 wk to fix

                        File 20210609072417_AddingLinkingOfSitesAndEntities.Designer.cs has 3092 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 20210609072417_AddingLinkingOfSitesAndEntities.cs has 3079 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          using Microsoft.EntityFrameworkCore.Migrations;
                          
                          namespace Microting.eForm.Migrations
                          {
                              public partial class AddingLinkingOfSitesAndEntities : Migration

                            File 20210407134630_AddingFolderTranslations.Designer.cs has 2944 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 20210405153325_AddingExtraFieldValues.Designer.cs has 2888 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;

                                Method BuildTargetModel has 1612 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/20200120093951_CleanupInSight.Designer.cs - About 1 wk to fix

                                  Method BuildTargetModel has 1598 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/20200116074236_AddingSiteTaggins.Designer.cs - About 1 wk to fix

                                    File 20201225165255_FixingBrokenTableNames.Designer.cs has 2777 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    using System;
                                    using Microsoft.EntityFrameworkCore;
                                    using Microsoft.EntityFrameworkCore.Infrastructure;
                                    using Microsoft.EntityFrameworkCore.Migrations;
                                    using Microting.eForm.Infrastructure;

                                      File 20201231062732_ChangingDescriptToLanguageCode.Designer.cs has 2777 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      using System;
                                      using Microsoft.EntityFrameworkCore;
                                      using Microsoft.EntityFrameworkCore.Infrastructure;
                                      using Microsoft.EntityFrameworkCore.Migrations;
                                      using Microting.eForm.Infrastructure;

                                        File 20201223104631_AddingTranslations.Designer.cs has 2769 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        using System;
                                        using Microsoft.EntityFrameworkCore;
                                        using Microsoft.EntityFrameworkCore.Infrastructure;
                                        using Microsoft.EntityFrameworkCore.Migrations;
                                        using Microting.eForm.Infrastructure;
                                        Severity: Major
                                        Found in eFormCore/Migrations/20201223104631_AddingTranslations.Designer.cs - About 1 wk to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language