microting/eform-sdk-dotnet

View on GitHub
eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs

Summary

Maintainability
F
5 mos
Test Coverage

File SqlControllerTestQuestion.cs has 4374 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using eFormCore;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
using System;
using System.Collections.Generic;
Severity: Major
Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 1 wk to fix

    Class SqlControllerTestQuestion has 67 methods (exceeds 20 allowed). Consider refactoring.
    Open

        [TestFixture]
        public class SqlControllerTestQuestion : DbTestFixture
        {
            #region create
            [Test]
    Severity: Major
    Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs - About 1 day 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_PrioritisedTrue_QSFalse has 74 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                  [Test]
                                                                                                  public async Task question_Create_DoesCreate_QuestionSetTrue_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_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_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_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 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_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

                                                                                                      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_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_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_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_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_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_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_QuestionSetFalse_PrioritisedValidDisplayTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                        Open

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

                                                                                                                                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_ValidDisplayImageTrue has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                  Open

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

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

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

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_ValidDisplayTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_ValidDisplayBackButtonEnabledImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_ValidDisplayTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_PrioritisedImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_ImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_PrioritisedValidDisplayTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_PrioritisedValidDisplayBackButtonEnabledTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_PrioritisedTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_BackButtonEnabledTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_PrioritisedBackButtonEnabledImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_PrioritisedImageTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_ValidDisplayBackButtonEnabledTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                       [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_ValidDisplayImageTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_PrioritisedTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_BackButtonEnabledImageTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_PrioritisedValidDisplayBackButtonEnabledTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_ValidDisplayBackButtonEnabledImageTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_BackButtonEnabledImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                           [Test]
                                                                                                                                                            public async Task question_Update_DoesUpdate_ValidDisplayImageTrue()
                                                                                                                                                            {
                                                                                                                                                                // Arrange
                                                                                                                                                                string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_BackButtonEnabledTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                                            string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                        [Test]
                                                                                                                                                        public async Task question_Update_DoesUpdate_PrioritisedBackButtonEnabledImageTrue_QSFalse()
                                                                                                                                                        {
                                                                                                                                                            // Arrange
                                                                                                                                            
                                                                                                                                            
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Update_DoesUpdate_AllFalse()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3632..3717
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 28 locations. 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 and 27 other locations - About 2 days to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1912..1996
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1998..2083
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2087..2171
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2173..2257
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2259..2343
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2345..2429
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2430..2514
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2515..2599
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2600..2684
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2685..2769
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2770..2854
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2855..2939
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 2940..3024
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3025..3109
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3110..3194
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3199..3284
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3286..3371
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3373..3458
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3460..3545
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3546..3631
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3718..3803
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3804..3889
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3890..3975
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 3976..4061
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4062..4147
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4148..4234
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4235..4319

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 1165.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4592..4657
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 10 locations. 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 and 9 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4326..4390
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4392..4456
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4460..4524
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4526..4590
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4659..4723
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4728..4792
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4794..4857
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4859..4922
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 4924..4987

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 854.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_AllTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetFalse_PrioritisedTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetFalse_BackButtonEnabledImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                            [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetFalse_PrioritisedValidDisplayImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetFalse_ValidDisplayImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                            [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetFalse_PrioritisedValidDisplayTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_BackButtonEnabledTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_ValidDisplayBackButtonEnabledTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedValidDisplayImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_PrioritisedValidDisplayTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. 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 and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 371..435
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            Similar blocks of code found in 29 locations. Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                    [Test]
                                                                                                                                                    public async Task question_Create_DoesCreate_QuestionSetTrue_ImageTrue()
                                                                                                                                                    {
                                                                                                                                                        // Arrange
                                                                                                                                                        string name = Guid.NewGuid().ToString();
                                                                                                                                            Severity: Major
                                                                                                                                            Found in eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs and 28 other locations - About 1 day to fix
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 42..103
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 105..169
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 173..237
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 239..303
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 305..369
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 436..500
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 501..565
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 566..630
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 632..696
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 698..762
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 764..828
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 830..894
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 896..960
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 962..1026
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1028..1092
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1097..1161
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1163..1224
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1226..1287
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1289..1350
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1351..1412
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1413..1474
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1475..1536
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1537..1598
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1599..1660
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1661..1720
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1721..1782
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1783..1844
                                                                                                                                            eFormSDK.Integration.Tests/SqlControllerTestQuestion.cs on lines 1845..1906

                                                                                                                                            Duplicated Code

                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                            Tuning

                                                                                                                                            This issue has a mass of 814.

                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                            Refactorings

                                                                                                                                            Further Reading

                                                                                                                                            There are no issues that match your filters.

                                                                                                                                            Category
                                                                                                                                            Status