microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

Method EntityGroupRead has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public async Task<EntityGroup> EntityGroupRead(string entityGroupMuId, string sort, string nameFilter)
        {
            string methodName = "Core.EntityGroupRead";
            if (string.IsNullOrEmpty(entityGroupMuId))
                throw new ArgumentNullException(nameof(entityGroupMuId));
Severity: Minor
Found in eFormCore/Core.cs - About 1 hr to fix

    Method Core_Case_CaseReadFirstId has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public async Task Core_Case_CaseReadFirstId()
            {
                // Arrance
    
    
    Severity: Minor
    Found in eFormSDK.Integration.Case.CoreTests/CoreTestCase.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.CheckLists.CoreTests/CoreTesteFormFromXML.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);

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

                  [Test]
                  public async Task SQL_Worker_WorkerUpdate_UpdatesWorker()
                  {
                      // Arrance
          
          

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

                    [Test]
                    public async Task SQL_Worker_WorkerRead_ReadsWorker()
                    {
                        // Arrance
            
            

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

                      [Test]
                      public async Task SQL_File_FileRead_doesFileRead()
                      {
                          UploadedData ud = new UploadedData
                          {

                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);

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

                          public override async Task DoSetup()
                          {
                              #region Setup SettingsTableContent
                  
                              _dbContextHelper = new DbContextHelper(ConnectionString);
                  Severity: Minor
                  Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.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/CoreTestEntity.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 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/CoreTestTag.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

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

                                    protected override void Up(MigrationBuilder migrationBuilder)
                                    {
                                        migrationBuilder.AddColumn<int>(
                                            name: "MicrotingUid",
                                            table: "QuestionTranslationVersions",
                            Severity: Minor
                            Found in eFormCore/Migrations/20200120171433_AddingMicrotingUidToInSight.cs - About 1 hr to fix

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

                                      protected override void Up(MigrationBuilder migrationBuilder)
                                      {
                                          migrationBuilder.DropPrimaryKey(
                                              name: "PK_site_survey_configuraions",
                                              table: "site_survey_configuraions");

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

                                        protected override void Up(MigrationBuilder migrationBuilder)
                                        {
                                            migrationBuilder.RenameColumn(
                                                name: "SoftwareVersion",
                                                table: "units",
                                Severity: Minor
                                Found in eFormCore/Migrations/20200224084023_AddingAttributesToUnits.cs - About 1 hr to fix

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

                                          [SetUp]
                                          public async Task Setup()
                                          {
                                              Console.WriteLine($"Starting Setup {DateTime.Now.ToString(CultureInfo.CurrentCulture)}");
                                  
                                  
                                  Severity: Minor
                                  Found in eFormSDK.Integration.Tests/DbTestFixture.cs - About 1 hr to fix

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

                                            protected override void Down(MigrationBuilder migrationBuilder)
                                            {
                                                migrationBuilder.DropPrimaryKey(
                                                    name: "PK_site_survey_configurations",
                                                    table: "site_survey_configurations");

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

                                              protected override void Down(MigrationBuilder migrationBuilder)
                                              {
                                                  migrationBuilder.DropForeignKey(
                                                      name: "FK_cases_folders_FolderId",
                                                      table: "cases");

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

                                                protected override void Up(MigrationBuilder migrationBuilder)
                                                {
                                                    migrationBuilder.AddColumn<string>(
                                                        name: "DefaultValue",
                                                        table: "FieldTranslationVersions",
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language