Badgerati/Edison

View on GitHub

Showing 215 of 215 total issues

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

Method ValidSolutionAndAssemblyTest has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test]
        public void ValidSolutionAndAssemblyTest()
        {
            var sln = "dummy/path/to.sln";
            var dll1Win = @"dummy\path\Edison.Framework\bin\Debug\Edison.Framework.dll";
Severity: Minor
Found in Edison.Engine.Test/Contexts/ContextValidatorTests.cs - About 1 hr to fix

    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

    Method InvalidFileForFixturesTest has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public void InvalidFileForFixturesTest()
            {
                var dll = "dummy/path/to.dll";
                var fixture = "this.is.some.fixture";
    Severity: Minor
    Found in Edison.Console.Test/ParameterParserTests.cs - About 1 hr to fix

      Method InvalidFileForTestsTest has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              public void InvalidFileForTestsTest()
              {
                  var test = "this.is.some.test";
                  var file = "dummy/path/to/file";
      Severity: Minor
      Found in Edison.Console.Test/ParameterParserTests.cs - About 1 hr to fix

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

        using System;
        
        namespace Edison.Framework
        {
            [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
        Severity: Major
        Found in Edison.Framework/Attributes/Category.cs and 3 other locations - About 55 mins to fix
        Edison.Framework/Attributes/Author.cs on lines 9..29
        Edison.Framework/Attributes/Description.cs on lines 9..29
        Edison.Framework/Attributes/Version.cs on lines 9..29

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

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

        using System;
        
        namespace Edison.Framework
        {
            [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
        Severity: Major
        Found in Edison.Framework/Attributes/Description.cs and 3 other locations - About 55 mins to fix
        Edison.Framework/Attributes/Author.cs on lines 9..29
        Edison.Framework/Attributes/Category.cs on lines 9..29
        Edison.Framework/Attributes/Version.cs on lines 9..29

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

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

        using System;
        
        namespace Edison.Framework
        {
            [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
        Severity: Major
        Found in Edison.Framework/Attributes/Author.cs and 3 other locations - About 55 mins to fix
        Edison.Framework/Attributes/Category.cs on lines 9..29
        Edison.Framework/Attributes/Description.cs on lines 9..29
        Edison.Framework/Attributes/Version.cs on lines 9..29

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

        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

                [Test]
                [Repeat(2)]
                public void TestMethod2()
                {
                    Console.WriteLine("WOO7!!!");
        Severity: Major
        Found in Edison.Tests/TestClass3.cs and 2 other locations - About 55 mins to fix
        Edison.Tests/TestClass2.cs on lines 28..36
        Edison.Tests/TestClass3.cs on lines 41..49

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

        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

                [Test]
                [ParallelRepeat(2)]
                public void TestParallelRepeats()
                {
                    Console.WriteLine("WOO7!!!");
        Severity: Major
        Found in Edison.Tests/TestClass3.cs and 2 other locations - About 55 mins to fix
        Edison.Tests/TestClass2.cs on lines 28..36
        Edison.Tests/TestClass3.cs on lines 31..39

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

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

        using System;
        
        namespace Edison.Framework
        {
            [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
        Severity: Major
        Found in Edison.Framework/Attributes/Version.cs and 3 other locations - About 55 mins to fix
        Edison.Framework/Attributes/Author.cs on lines 9..29
        Edison.Framework/Attributes/Category.cs on lines 9..29
        Edison.Framework/Attributes/Description.cs on lines 9..29

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

        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

                [Test]
                [Repeat(2)]
                public void TestMethod()
                {
                    Console.WriteLine("WOO8!!!");
        Severity: Major
        Found in Edison.Tests/TestClass2.cs and 2 other locations - About 55 mins to fix
        Edison.Tests/TestClass3.cs on lines 31..39
        Edison.Tests/TestClass3.cs on lines 41..49

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

        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

        Severity
        Category
        Status
        Source
        Language