Badgerati/Edison

View on GitHub
Edison.Framework.Test/Asserts/AssertTests.cs

Summary

Maintainability
F
1 wk
Test Coverage

File AssertTests.cs has 1098 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using Edison.Framework;
using Moq;
using System;
using EAssert = Edison.Framework.Assert;
using NAssert = NUnit.Framework.Assert;
Severity: Major
Found in Edison.Framework.Test/Asserts/AssertTests.cs - About 2 days to fix

    Class AssertTests has 59 methods (exceeds 20 allowed). Consider refactoring.
    Open

        [NUnit.Framework.TestFixture]
        public class AssertTests
        {
    
            private IAssert GetAssert()
    Severity: Major
    Found in Edison.Framework.Test/Asserts/AssertTests.cs - About 1 day to fix

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

              [NUnit.Framework.Test]
              public void IsNotInstanceOfTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 2 hrs to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 993..1013

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

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

              [NUnit.Framework.Test]
              public void IsNotDefaultTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 2 hrs to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 626..646

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

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

              [NUnit.Framework.Test]
              public void IsTrueTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 670..690

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

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

              [NUnit.Framework.Test]
              public void IsFalseTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 648..668

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void AreNotEqualIgnoreCaseTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsNotLessThanTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsNotLessThanOrEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsNotMatchTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void AreNotEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void DoesNotContainTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void DoesNotEndWithTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsNotGreaterThanOrEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsNotGreaterThanTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 418..437
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void DoesNotStartWithTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 172..191
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 256..275
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 296..315
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 378..397
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 458..477
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 730..749
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 751..770
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 810..829
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 831..850

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

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

              [NUnit.Framework.Test]
              public void FileDoesNotExistTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 4 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 498..517
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 912..931
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 952..971
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1074..1093

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

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

              [NUnit.Framework.Test]
              public void DirectoryDoesNotExistsTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 4 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 498..517
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 871..890
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 952..971
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1074..1093

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

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

              [NUnit.Framework.Test]
              public void IsNotEmptyTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 4 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 871..890
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 912..931
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 952..971
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1074..1093

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

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

              [NUnit.Framework.Test]
              public void IsNotNullTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 4 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 498..517
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 871..890
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 912..931
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1074..1093

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

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

              [NUnit.Framework.Test]
              public void IsNotZeroTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 4 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 498..517
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 871..890
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 912..931
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 952..971

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

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

              [NUnit.Framework.Test]
              public void Or_OnePass_Success_Test()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 91..109

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

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

              [NUnit.Framework.Test]
              public void Or_AllPass_Success_Test()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 1 other location - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 111..129

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

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

              [NUnit.Framework.Test]
              public void FailTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 28..47
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 70..89

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

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

              [NUnit.Framework.Test]
              public void InconclusiveTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 49..68
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 70..89

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

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

              [NUnit.Framework.Test]
              public void PassTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 28..47
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 49..68

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void AreEqualIgnoreCaseTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void ContainsTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsLessThanTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void AreEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsLessThanOrEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsGreaterThanOrEqualTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsMatchTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void StartsWithTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void EndsWithTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 692..709
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

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

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

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

      Refactorings

      Further Reading

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

              [NUnit.Framework.Test]
              public void IsGreaterThanTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 9 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 153..170
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 237..254
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 277..294
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 359..376
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 399..416
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 439..456
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 711..728
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 772..789
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 791..808

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

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

              [NUnit.Framework.Test]
              public void FileExistsTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 933..950
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1055..1072

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

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

              [NUnit.Framework.Test]
              public void IsZeroTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 852..869
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 933..950

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

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

              [NUnit.Framework.Test]
              public void IsNullTest()
              {
                  var assert = GetAssert();
      
      
      Severity: Major
      Found in Edison.Framework.Test/Asserts/AssertTests.cs and 2 other locations - About 1 hr to fix
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 852..869
      Edison.Framework.Test/Asserts/AssertTests.cs on lines 1055..1072

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

      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