microting/eform-sdk-dotnet

View on GitHub

Showing 886 of 3,221 total issues

Method Core_eFormSimpleTextSingleLineFormCreateInDB_ReturnseFormId has 77 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test] // Text
        public async Task Core_eFormSimpleTextSingleLineFormCreateInDB_ReturnseFormId()
        {
            string xmlstring = @"
                <?xml version='1.0' encoding='UTF-8'?>
Severity: Major
Found in eFormSDK.Integration.CheckLists.CoreTests/CoreTesteFormCreateInDB.cs - About 3 hrs to fix

    Method Core_eFormSimpleTextMultiLineFormCreateInDB_ReturnseFormId has 77 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test] // Comment
            public async Task Core_eFormSimpleTextMultiLineFormCreateInDB_ReturnseFormId()
            {
                string xmlstring = @"
                    <?xml version='1.0' encoding='UTF-8'?>
    Severity: Major
    Found in eFormSDK.Integration.CheckLists.CoreTests/CoreTesteFormCreateInDB.cs - About 3 hrs to fix

      Method CreateDataElement has 77 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              private async Task CreateDataElement(int parentId, DataElement dataElement, Language language)
              {
                  string methodName = "SqlController.CreateDataElement";
                  try
                  {
      Severity: Major
      Found in eFormCore/Infrastructure/SqlController.cs - About 3 hrs to fix

        Method Options_Update_DoesUpdate has 77 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

          Method Questions_Create_DoesCreate has 77 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  [Test]
                  public async Task Questions_Create_DoesCreate()
                  {
                      //Arrange
          
          
          Severity: Major
          Found in eFormSDK.InSight.Tests/QuestionsUTest.cs - About 3 hrs to fix

            Method Taggins_Create_DoesCreate has 76 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    [Test]
                    public async Task Taggins_Create_DoesCreate()
                    {
                        Random rnd = new Random();
            
            
            Severity: Major
            Found in eFormSDK.Base.Tests/TagginsUTest.cs - About 3 hrs to fix

              Method CheckListSites_Create_DoesCreate has 75 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      [Test]
                      public async Task CheckListSites_Create_DoesCreate()
                      {
                          //Arrange
              
              
              Severity: Major
              Found in eFormSDK.CheckLists.Tests/CheckListSitesUTest.cs - About 3 hrs to fix

                Method EntityItems_Update_DoesUpdate has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        [Test]
                        public async Task EntityItems_Update_DoesUpdate()
                        {
                            //Arrange
                
                
                Severity: Major
                Found in eFormSDK.CheckLists.Tests/EntityItemsUTest.cs - About 3 hrs to fix

                  Method CreateGroupElement has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          private async Task CreateGroupElement(int parentId, GroupElement groupElement, Language language)
                          {
                              string methodName = "SqlController.CreateGroupElement";
                              try
                              {
                  Severity: Major
                  Found in eFormCore/Infrastructure/SqlController.cs - About 3 hrs to fix

                    Method DeleteCase has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            private async Task DeleteCase(EformDeleteFromServer message)
                            {
                                int microtingUId = message.MicrotringUUID;
                                string methodName = "EformDeleteFromServerHandler";
                    
                    
                    Severity: Major
                    Found in eFormCore/Handlers/EformDeleteFromServerHandler.cs - About 3 hrs to fix

                      Method SQL_Setting_SetingCreate_CreatesSetting has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

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

                        Method Core_eForm_SimpleDateFormCreateInDB_ReturnseFormId has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                [Test]
                                public async Task Core_eForm_SimpleDateFormCreateInDB_ReturnseFormId()
                                {
                                    // Arrange
                                    string xmlstring = @"
                        Severity: Major
                        Found in eFormSDK.Integration.CheckLists.CoreTests/CoreTesteFormCreateInDB.cs - About 2 hrs to fix

                          Method SQL_Worker_WorkerGetAll_ReturnsAllWorkers has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

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

                            Method Core_eForm_SimplePictureAndSignatureFormFromXML_ReturnseMainElement has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    [Test]
                                    public async Task Core_eForm_SimplePictureAndSignatureFormFromXML_ReturnseMainElement()
                                    {
                                        // Arrange
                                        string xmlstring = @"
                            Severity: Major
                            Found in eFormSDK.Integration.CheckLists.CoreTests/CoreTesteFormFromXML.cs - About 2 hrs to fix

                              Method question_Update_DoesUpdate_AllTrue has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

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

                                Method question_Update_DoesUpdate_ImageTrue_QSFalse has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

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

                                  Method question_Update_DoesUpdate_PrioritisedValidDisplayTrue_QSFalse has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

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

                                    Method question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue_QSFalse has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

                                      Method question_Update_DoesUpdate_ValidDisplayBackButtonEnabledTrue has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

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

                                        Method question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

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