microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

Method question_Create_DoesCreate_QuestionSetTrue_PrioritisedValidDisplayBackButtonEnabledTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test]
        public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedValidDisplayBackButtonEnabledTrue()
        {
            // Arrange
            string name = Guid.NewGuid().ToString();
Severity: Major
Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

    Method question_Create_DoesCreate_QuestionSetTrue_PrioritisedTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedTrue()
            {
                // Arrange
                string name = Guid.NewGuid().ToString();
    Severity: Major
    Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

      Method question_Create_DoesCreate_QuestionSetTrue_PrioritisedBackButtonEnabledImageTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedBackButtonEnabledImageTrue()
              {
                  // Arrange
                  string name = Guid.NewGuid().ToString();
      Severity: Major
      Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

        Method question_Create_DoesCreate_QuestionSetTrue_PrioritisedBackButtonEnabledTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                [Test]
                public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedBackButtonEnabledTrue()
                {
                    // Arrange
                    string name = Guid.NewGuid().ToString();
        Severity: Major
        Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

          Method question_Create_DoesCreate_QuestionSetTrue_ValidDisplayImageTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  [Test]
                  public async Task question_Create_DoesCreate_QuestionSetTrue_ValidDisplayImageTrue()
                  {
                      // Arrange
                      string name = Guid.NewGuid().ToString();
          Severity: Major
          Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

            Method question_Create_DoesCreate_QuestionSetTrue_ValidDisplayTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    [Test]
                    public async Task question_Create_DoesCreate_QuestionSetTrue_ValidDisplayTrue()
                    {
                        // Arrange
                        string name = Guid.NewGuid().ToString();
            Severity: Major
            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

              Method question_Create_DoesCreate_QuestionSetTrue_BackButtonEnabledImageTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      [Test]
                      public async Task question_Create_DoesCreate_QuestionSetTrue_BackButtonEnabledImageTrue()
                      {
                          // Arrange
                          string name = Guid.NewGuid().ToString();
              Severity: Major
              Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                Method question_Create_DoesCreate_QuestionSetTrue_ValidDisplayBackButtonEnabledImageTrue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        [Test]
                        public async Task question_Create_DoesCreate_QuestionSetTrue_ValidDisplayBackButtonEnabledImageTrue()
                        {
                            // Arrange
                            string name = Guid.NewGuid().ToString();
                Severity: Major
                Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

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

                          protected override void Down(MigrationBuilder migrationBuilder)
                          {
                              migrationBuilder.DropColumn(
                                  name: "LastIp",
                                  table: "units");
                  Severity: Major
                  Found in eFormCore/Migrations/20200224092512_AddingMoreAttributesToUnits.cs - About 2 hrs to fix

                    Method Start has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            public async Task<bool> Start(string connectionString)
                            {
                                string methodName = "Core.Start";
                    
                                try
                    Severity: Major
                    Found in eFormCore/Core.cs - About 2 hrs to fix

                      Method CaseCreate has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              public async Task<List<int>> CaseCreate(MainElement mainElement, string caseUId, List<int> siteUids,
                                  string custom, int? folderId)
                              {
                                  string methodName = "Core.CaseCreate";
                                  try
                      Severity: Major
                      Found in eFormCore/Core.cs - About 2 hrs to fix

                        Method SurveyConfigurations_Delete_DoesSetWorkflowStateToRemoved has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

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

                          Method Folders_Update_DoesUpdate has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  [Test]
                                  public async Task Folders_Update_DoesUpdate()
                                  {
                                      //Arrange
                          
                          
                          Severity: Major
                          Found in eFormSDK.Base.Tests/FoldersUTest.cs - About 2 hrs to fix

                            File CoreTestSite.cs has 259 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            using System;
                            using System.IO;
                            using System.Linq;
                            using System.Reflection;
                            using System.Threading.Tasks;
                            Severity: Minor
                            Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs - About 2 hrs to fix

                              Method question_Delete_DoesDelete_AllFalse has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      [Test]
                                      public async Task question_Delete_DoesDelete_AllFalse()
                                      {
                                          // Arrange
                                          string name = Guid.NewGuid().ToString();
                              Severity: Major
                              Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                                Method question_Delete_DoesDelete_QuestionSetFalse_ImageTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        [Test]
                                        public async Task question_Delete_DoesDelete_QuestionSetFalse_ImageTrue()
                                        {
                                            // Arrange
                                            string name = Guid.NewGuid().ToString();
                                Severity: Major
                                Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                                  Method question_Delete_DoesDelete_QuestionSetFalse_BackButtonEnabledTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          [Test]
                                          public async Task question_Delete_DoesDelete_QuestionSetFalse_BackButtonEnabledTrue()
                                          {
                                              // Arrange
                                              string name = Guid.NewGuid().ToString();
                                  Severity: Major
                                  Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                                    Method question_Delete_DoesDelete_AllTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            [Test]
                                            public async Task question_Delete_DoesDelete_AllTrue()
                                            {
                                                // Arrange
                                                string name = Guid.NewGuid().ToString();
                                    Severity: Major
                                    Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                                      Method question_Delete_DoesDelete_QuestionSetFalse_ValidDisplayTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              [Test]
                                              public async Task question_Delete_DoesDelete_QuestionSetFalse_ValidDisplayTrue()
                                              {
                                                  // Arrange
                                                  string name = Guid.NewGuid().ToString();
                                      Severity: Major
                                      Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix

                                        Method question_Delete_DoesDelete_QuestionSetTrue_ValidDisplayTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                [Test]
                                                public async Task question_Delete_DoesDelete_QuestionSetTrue_ValidDisplayTrue()
                                                {
                                                    // Arrange
                                                    string name = Guid.NewGuid().ToString();
                                        Severity: Major
                                        Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language