AuthorizeNet/sdk-dotnet

View on GitHub
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs

Summary

Maintainability
F
1 mo
Test Coverage

File AnetApiSchema.generated.cs has 3757 lines of code (exceeds 250 allowed). Consider refactoring.
Open

namespace AuthorizeNet.Api.Contracts.V1 {
    using System.Xml.Serialization;
    
    
    /// <remarks/>
Severity: Major
Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs - About 1 wk to fix

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 5 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5550..5603

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

    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

        [System.Xml.Serialization.XmlIncludeAttribute(typeof(profileTransCaptureOnlyType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(profileTransAuthOnlyType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(profileTransAuthCaptureType))]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1840..1890

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3921..3943

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4027..4064

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5518..5537

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2797..2839

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3985..4018

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3171..3204

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4616..4644

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 190..220
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4259..4289

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4259..4289
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4383..4413

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 190..220
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4383..4413

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1192..1216

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2560..2587

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 496..523

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1048..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 198.

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4067..4097

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

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

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

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

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

    Refactorings

    Further Reading

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

            [System.Xml.Serialization.XmlElementAttribute("accessToken", typeof(string))]
            [System.Xml.Serialization.XmlElementAttribute("clientKey", typeof(string))]
            [System.Xml.Serialization.XmlElementAttribute("fingerPrint", typeof(fingerPrintType))]
            [System.Xml.Serialization.XmlElementAttribute("impersonationAuthentication", typeof(impersonationAuthenticationType))]
            [System.Xml.Serialization.XmlElementAttribute("password", typeof(string))]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3596..3604

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 4 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 927..948
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1075..1096
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2138..2159
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3105..3126

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 4 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1075..1096
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1099..1120
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2138..2159
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3105..3126

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 4 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 927..948
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1099..1120
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2138..2159
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3105..3126

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 4 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 927..948
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1075..1096
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1099..1120
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3105..3126

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1271..1295
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 4 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 927..948
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1075..1096
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1099..1120
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2138..2159

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 238..262
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1244..1268
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1859..1883
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2084..2108
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2111..2135
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2919..2943
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3508..3532
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4021..4045

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4176..4197

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4117..4144

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 701..722
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 783..804
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 820..841

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3150..3168

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3129..3147

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 526..547
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 783..804
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 820..841

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 526..547
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 701..722
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 820..841

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 526..547
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 701..722
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 783..804

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3248..3269
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 8 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 759..780
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1168..1189
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1529..1550
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1553..1574
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2590..2611
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3307..3328
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3895..3916
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4416..4437

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5688..5706
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4680..4698
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4797..4815

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5571..5589
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4680..4698
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4797..4815

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2967..2985
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3044..3062

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2946..2964
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2967..2985

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 2 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2946..2964
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3044..3062

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4958..4976

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3691..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2939..2960
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3007..3028

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3623..3644
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2939..2960
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3007..3028

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

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

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

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

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

    Refactorings

    Further Reading

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

            [System.Xml.Serialization.XmlElementAttribute("bankAccount", typeof(bankAccountType))]
            [System.Xml.Serialization.XmlElementAttribute("creditCard", typeof(creditCardType))]
            [System.Xml.Serialization.XmlElementAttribute("emv", typeof(paymentEmvType))]
            [System.Xml.Serialization.XmlElementAttribute("encryptedTrackData", typeof(encryptedTrackDataType))]
            [System.Xml.Serialization.XmlElementAttribute("opaqueData", typeof(opaqueDataType))]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2307..2314

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4851..4868

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4701..4715

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4100..4114

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4767..4781

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4731..4751

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5479..5499

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4837..4857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3946..3966
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4223..4243

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5150..5170
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3988..4008
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4259..4279

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4879..4899
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3988..4008
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4259..4279

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5114..5134
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3946..3966
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4223..4243

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

    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

        [System.Xml.Serialization.XmlIncludeAttribute(typeof(customerPaymentProfileExType))]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2860..2886

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6365..6376
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4647..4658
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5465..5476

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5538..5549
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4647..4658
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5465..5476

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5380..5394

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4447..4458

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

    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

        [System.Xml.Serialization.XmlIncludeAttribute(typeof(customerProfileMaskedType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(customerProfileInfoExType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(subscriptionCustomerProfileType))]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2924..2936

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5397..5414

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3882..3899

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4399..4421

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

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

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

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

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

    Refactorings

    Further Reading

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

            [System.Xml.Serialization.XmlElementAttribute("profileTransAuthCapture", typeof(profileTransAuthCaptureType))]
            [System.Xml.Serialization.XmlElementAttribute("profileTransAuthOnly", typeof(profileTransAuthOnlyType))]
            [System.Xml.Serialization.XmlElementAttribute("profileTransCaptureOnly", typeof(profileTransCaptureOnlyType))]
            [System.Xml.Serialization.XmlElementAttribute("profileTransPriorAuthCapture", typeof(profileTransPriorAuthCaptureType))]
            [System.Xml.Serialization.XmlElementAttribute("profileTransRefund", typeof(profileTransRefundType))]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1821..1827

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3865..3879

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3661..3680

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5348..5367

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5430..5449

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2359..2387

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4891..4907

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4661..4677

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4920..4936

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4860..4876
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3969..3985
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5675..5691

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4516..4532

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6575..6591
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3969..3985
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5675..5691

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2035..2065

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4675..4688
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5352..5365
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3784..3797
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3800..3813
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4461..4474

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4548..4561

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4691..4704
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5352..5365
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3784..3797
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3800..3813
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4461..4474

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4675..4688
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4691..4704
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3784..3797
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3800..3813
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4461..4474

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4902..4915
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5051..5064
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5206..5219
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4011..4024
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4160..4173
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4315..4328
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4341..4354

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5258..5271
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5274..5287
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 19..32
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4367..4380
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4383..4396

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4902..4915
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5206..5219
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5232..5245
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4011..4024
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4160..4173
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4315..4328
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4341..4354

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 19..32
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5274..5287
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 19..32
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4367..4380
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4383..4396

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4902..4915
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5051..5064
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5232..5245
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4011..4024
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4160..4173
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4315..4328
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4341..4354

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5051..5064
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5206..5219
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5232..5245
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4011..4024
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4160..4173
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4315..4328
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4341..4354

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 19..32
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5258..5271
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 19..32
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4367..4380
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4383..4396

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5137..5147
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4584..4594
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4597..4607
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4662..4672
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4707..4717
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5038..5048
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5091..5101
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5426..5436
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5455..5465
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5468..5478
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5494..5504
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5709..5719
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6317..6327
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3702..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3715..3725
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3771..3781
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3816..3826
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4147..4157
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4200..4210
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4535..4545
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4720..4730
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4743..4753
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5183..5193
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5315..5325
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5394..5404
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5481..5491
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5609..5619
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5675..5685
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6352..6362
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3829..3839
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3852..3862
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4246..4256
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4292..4302
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4424..4434
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4503..4513
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4590..4600
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4718..4728
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4784..4794
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5452..5462
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5652..5662

    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

        [System.Xml.Serialization.XmlIncludeAttribute(typeof(customerAddressExType))]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 249..265

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5732..5739
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 35 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4632..4639
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4642..4649
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4652..4659
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4733..4740
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5104..5111
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5173..5180
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5196..5203
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5222..5229
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5248..5255
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5328..5335
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5384..5391
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5722..5729
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5762..5769
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5772..5779
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5801..5808
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6440..6447
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3741..3748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3751..3758
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3761..3768
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3842..3849
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4213..4220
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4282..4289
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4305..4312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4331..4338
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4357..4364
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4437..4444
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4493..4500
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4831..4838
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4841..4848
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4871..4878
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4881..4888
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4910..4917
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5540..5547
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5665..5672

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3309..3319

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2976..2989

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2068..2086

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2992..3004

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 223..235
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2992..3004

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 375..384
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1761..1770
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3564..3573
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 303..312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1428..1437
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2089..2098
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2889..2898

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 375..384
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1761..1770
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2539..2548
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 303..312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1428..1437
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2089..2098
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2889..2898

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 111..120

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 1761..1770
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2539..2548
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3564..3573
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 303..312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1428..1437
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2089..2098
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2889..2898

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 7 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 375..384
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2539..2548
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3564..3573
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 303..312
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1428..1437
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2089..2098
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2889..2898

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2245..2251
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1831..1837
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2101..2107

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2551..2557
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1831..1837
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2101..2107

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum settingNameEnum {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 55 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5116..5216

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum transactionStatusEnum {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 50 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5235..5311

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

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

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

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

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

    Refactorings

    Further Reading

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

            [System.Xml.Serialization.XmlElementAttribute("bankAccount", typeof(bankAccountMaskedType))]
            [System.Xml.Serialization.XmlElementAttribute("creditCard", typeof(creditCardMaskedType))]
            [System.Xml.Serialization.XmlElementAttribute("tokenInformation", typeof(tokenMaskedType))]
            public object Item;
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 50 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 323..326

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

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

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

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

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

    Refactorings

    Further Reading

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

            [System.Xml.Serialization.XmlElementAttribute("track1", typeof(string))]
            [System.Xml.Serialization.XmlElementAttribute("track2", typeof(string))]
            [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
            public string Item;
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 45 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2612..2615

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum paymentMethodsTypeEnum {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 40 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5606..5649

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd", IncludeInSchema=false)]
        public enum ItemChoiceType {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 40 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3615..3640

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum ARBGetSubscriptionListOrderFieldEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 35 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6214..6245
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 590..621
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5314..5345

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum transactionTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 35 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 725..756
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 590..621
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5314..5345

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd", IncludeInSchema=false)]
        public enum ItemChoiceType1 {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 35 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2623..2633

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum accountTypeEnum {
            
    Severity: Minor
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 1 other location - About 30 mins to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5019..5044

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

    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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum echeckTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5947..5969
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 381..403
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5047..5069

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 61.

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

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

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

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

    Refactorings

    Further Reading

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum cardTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 3 other locations - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 471..493
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 381..403
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5047..5069

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 61.

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

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

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

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

    Refactorings

    Further Reading

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum FDSFilterActionEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 663..682
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5994..6013
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 537..556
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5072..5091
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5094..5113

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum permissionsEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 663..682
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5972..5991
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 537..556
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5072..5091
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5094..5113

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum ARBSubscriptionStatusEnum {
            
    Severity: Major
    Found in Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs and 5 other locations - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5972..5991
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5994..6013
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 537..556
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5072..5091
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5094..5113

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

    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