microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

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

        [Test]
        public async Task question_Delete_DoesDelete_QuestionSetFalse_PrioritisedTrue()
        {
            // 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_BackButtonEnabledTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public async Task question_Delete_DoesDelete_QuestionSetTrue_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_QuestionSetTrue_ImageTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              public async Task question_Delete_DoesDelete_QuestionSetTrue_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_QuestionSetTrue_PrioritisedTrue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

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

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

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

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

              Class SqlControllerTestCase has 21 methods (exceeds 20 allowed). Consider refactoring.
              Open

                  [Parallelizable(ParallelScope.Fixtures)]
                  [TestFixture]
                  public class SqlControllerTestCase : DbTestFixture
                  {
                      private SqlController sut;
              Severity: Minor
              Found in eFormSDK.Integration.Case.SqlControllerTests/SqlControllerTestCase.cs - About 2 hrs to fix

                Class CoreTestAdvanced has 21 methods (exceeds 20 allowed). Consider refactoring.
                Open

                    [Parallelizable(ParallelScope.Fixtures)]
                    [TestFixture]
                    public class CoreTestAdvanced : DbTestFixture
                    {
                        private Core sut;
                Severity: Minor
                Found in eFormSDK.Integration.CheckLists.CoreTests/CoreTestAdvanced.cs - About 2 hrs to fix

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

                          protected override void Down(MigrationBuilder migrationBuilder)
                          {
                              migrationBuilder.DropColumn(
                                  name: "MicrotingUid",
                                  table: "survey_configurations");
                  Severity: Major
                  Found in eFormCore/Migrations/20200120093951_CleanupInSight.cs - About 2 hrs to fix

                    Method CheckRead has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            public async Task<ReplyElement> CheckRead(int id, Language language)
                            {
                                string methodName = "SqlController.CheckRead";
                                try
                                {
                    Severity: Major
                    Found in eFormCore/Infrastructure/SqlController.cs - About 2 hrs to fix

                      Method SQL_Case_CaseUpdateCompleted_DoesCaseGetUpdated has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              [Test]
                              public async Task SQL_Case_CaseUpdateCompleted_DoesCaseGetUpdated()
                              {
                                  MicrotingDbContext ldbContext = dbContextHelper.GetDbContext();
                                  Random rnd = new Random();
                      Severity: Major
                      Found in eFormSDK.Integration.Case.SqlControllerTests/SqlControllerTestCase.cs - About 2 hrs to fix

                        Method question_Create_DoesCreate_QuestionSetFalse_ValidDisplayTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                [Test]
                                public async Task question_Create_DoesCreate_QuestionSetFalse_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_QuestionSetFalse_BackButtonEnabledTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

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

                            Method question_Create_DoesCreate_QuestionSetFalse_PrioritisedBackButtonEnabledTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                            [Test]
                                    public async Task question_Create_DoesCreate_QuestionSetFalse_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_QuestionSetFalse_PrioritisedValidDisplayBackButtonEnabledTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      [Test]
                                      public async Task question_Create_DoesCreate_QuestionSetFalse_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_QuestionSetFalse_ValidDisplayBackButtonEnabledTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

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

                                  Method question_Create_DoesCreate_QuestionSetFalse_ImageTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

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

                                    Method question_Create_DoesCreate_QuestionSetFalse_PrioritisedImageTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

                                      Method question_Create_DoesCreate_QuestionSetFalse_ValidDisplayBackButtonEnabledImageTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

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

                                        Method question_Create_DoesCreate_AllFalse has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                [Test]
                                                public async Task question_Create_DoesCreate_AllFalse()
                                                {
                                                    // 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