microting/eform-sdk-dotnet

View on GitHub
eFormSDK.InSight.Tests/OptionTranslationUTest.cs

Summary

Maintainability
F
1 wk
Test Coverage

File OptionTranslationUTest.cs has 725 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
Severity: Major
Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs - About 1 day to fix

    Method OptionTranslation_Update_DoesUpdate_W_MicrotingUid_RemovesUid has 122 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

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

      Method OptionTranslation_Update_DoesUpdate_W_MicrotingUid has 122 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

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

        Method OptionTranslation_Update_DoesUpdate_WO_MicrotingUid_AddsUid has 120 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

          Method OptionTranslation_Update_DoesUpdate_WO_MicrotingUid has 118 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

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

            Method OptionTranslation_Delete_DoesDelete has 79 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

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

              Method OptionTranslation_Create_DoesCreate_W_MicrotingUid has 68 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

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

                Method OptionTranslation_Create_DoesCreate_WO_MicrotingUid has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

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

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

                              Question question2 = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question2 = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question2 = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question2 = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 535..552
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 14 locations. Consider refactoring.
                  Open

                              Question question = new Question
                              {
                                  Image = randomBool,
                                  Maximum = rnd.Next(1, 255),
                                  Minimum = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 13 other locations - About 2 hrs to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 58..75
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 146..163
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 241..258
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 261..278
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 390..407
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 410..427
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 555..572
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 684..701
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 704..721
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 822..839
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 56..73
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 134..151
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 233..250

                  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 203.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option2 = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option2 = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option2 = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option2 = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 843..849
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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 30 locations. Consider refactoring.
                  Open

                              Option option = new Option
                              {
                                  Weight = rnd.Next(1, 255),
                                  OptionIndex = rnd.Next(1, 255),
                                  WeightValue = rnd.Next(1, 255),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 29 other locations - About 40 mins to fix
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 229..235
                  eFormSDK.CheckLists.Tests/CasesUTest.cs on lines 465..471
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 59..65
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 200..206
                  eFormSDK.CheckLists.Tests/CheckListValuesUTest.cs on lines 357..363
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 288..294
                  eFormSDK.CheckLists.Tests/FieldValuesUTest.cs on lines 558..564
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 57..63
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 296..302
                  eFormSDK.CheckLists.Tests/FieldsUTest.cs on lines 633..639
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 63..69
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 235..241
                  eFormSDK.InSight.Tests/AnswerValuesUTest.cs on lines 425..431
                  eFormSDK.InSight.Tests/AnswersUTest.cs on lines 323..329
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 78..84
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 166..172
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 281..287
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 290..296
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 430..436
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 439..445
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 575..581
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 584..590
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 724..730
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 733..739
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 76..82
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 154..160
                  eFormSDK.InSight.Tests/OptionsUTest.cs on lines 253..259

                  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 72.

                  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

                  Identical blocks of code found in 4 locations. Consider refactoring.
                  Open

                              OptionTranslation optionTranslation = new OptionTranslation
                              {
                                  LanguageId = language.Id,
                                  OptionId = option.Id,
                                  Name = Guid.NewGuid().ToString(),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 3 other locations - About 30 mins to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 94..100
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 313..319
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 860..866

                  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 61.

                  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

                  Identical blocks of code found in 4 locations. Consider refactoring.
                  Open

                              OptionTranslation optionTranslation = new OptionTranslation
                              {
                                  LanguageId = language.Id,
                                  OptionId = option.Id,
                                  Name = Guid.NewGuid().ToString(),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 3 other locations - About 30 mins to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 94..100
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 313..319
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 607..613

                  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 61.

                  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

                  Identical blocks of code found in 4 locations. Consider refactoring.
                  Open

                              OptionTranslation optionTranslation = new OptionTranslation
                              {
                                  LanguageId = language.Id,
                                  OptionId = option.Id,
                                  Name = Guid.NewGuid().ToString(),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 3 other locations - About 30 mins to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 94..100
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 607..613
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 860..866

                  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 61.

                  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

                  Identical blocks of code found in 4 locations. Consider refactoring.
                  Open

                              OptionTranslation optionTranslation = new OptionTranslation
                              {
                                  LanguageId = language.Id,
                                  OptionId = option.Id,
                                  Name = Guid.NewGuid().ToString(),
                  Severity: Major
                  Found in eFormSDK.InSight.Tests/OptionTranslationUTest.cs and 3 other locations - About 30 mins to fix
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 313..319
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 607..613
                  eFormSDK.InSight.Tests/OptionTranslationUTest.cs on lines 860..866

                  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 61.

                  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