AuthorizeNet/sdk-dotnet

View on GitHub
Authorize.NET/Utility/AnetApiSchema.generated.cs

Summary

Maintainability
F
1 mo
Test Coverage

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

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

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

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 5 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6450..6503

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
    Severity: Major
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2254..2304

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4812..4834

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4918..4955

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6418..6437

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3463..3505

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 3 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5507..5535

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4958..4988

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4451..4459

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5067..5088

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5008..5035

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5688..5706
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4680..4698

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5688..5706
    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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5849..5867

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3691..3712
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2939..2960

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3691..3712
    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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2793..2800

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5742..5759

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4991..5005

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5658..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 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5592..5606

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5114..5134
    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.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5622..5642

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5114..5134
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3946..3966

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6379..6399

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5150..5170
    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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5150..5170
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3988..4008

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
    Severity: Major
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3535..3561

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6280..6294

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5338..5349

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6365..6376
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4647..4658

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6365..6376
    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.Xml.Serialization.XmlIncludeAttribute(typeof(customerProfileMaskedType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(customerProfileInfoExType))]
        [System.Xml.Serialization.XmlIncludeAttribute(typeof(subscriptionCustomerProfileType))]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [System.SerializableAttribute()]
    Severity: Major
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3608..3620

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4773..4790

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6297..6314

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5290..5312

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2226..2232

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 2 hrs to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4756..4770

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6248..6267

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6330..6349

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4534..4553

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2863..2891

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6575..6591
    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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5407..5423

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5811..5827

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6575..6591
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3969..3985

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5782..5798

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5552..5568

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2485..2515

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5439..5452

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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 6 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5352..5365
    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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5274..5287
    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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5232..5245
    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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6594..6604
    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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6552..6562
    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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
    Severity: Major
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 312..328

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6565..6572
    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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3238..3262

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 119.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2577..2601

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 119.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4092..4102

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3660..3673

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 3 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 154..175
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3449..3470

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 113.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 154..175
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3546..3567

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 113.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3449..3470
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3546..3567

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 113.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2518..2536

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 850..865

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 107.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 949..964

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 107.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 406..424

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 107.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2110..2128

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 107.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 4 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 4 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 4 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 4 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 4 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 101.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
    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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 9 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 427..439
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 575..587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 667..679

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 427..439
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 575..587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 639..651

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2565..2574

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 427..439
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 639..651
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 667..679

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 575..587
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 639..651
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 667..679

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1247..1259
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 624..636
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 934..946
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1232..1244
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2131..2143
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2636..2648
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2677..2689
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3175..3187
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3570..3582

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2553..2562

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 95.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 1 other location - About 1 hr to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 138..147

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/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 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3564..3573
    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 3 locations. Consider refactoring.
    Open

        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2424..2433
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2436..2445

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 89.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2436..2445
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2495..2504

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 89.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2424..2433
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2495..2504

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 89.

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

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

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

    See codeclimate-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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2551..2557
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1831..1837

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [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/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 2551..2557
    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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum settingNameEnum {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 55 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6016..6116

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum transactionStatusEnum {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 50 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6135..6211

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 1 other location - About 50 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 395..398

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 1 other location - About 45 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3215..3218

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd", IncludeInSchema=false)]
        public enum ItemChoiceType {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 40 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4479..4504

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum paymentMethodsTypeEnum {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 40 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6506..6549

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum transactionTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6214..6245
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 590..621

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum ARBGetSubscriptionListOrderFieldEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6214..6245
    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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd", IncludeInSchema=false)]
        public enum ItemChoiceType1 {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 35 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3235..3245

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum accountTypeEnum {
            
    Severity: Minor
    Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 1 other location - About 30 mins to fix
    Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5919..5944

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum cardTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5947..5969
    Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 381..403

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum echeckTypeEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5947..5969
    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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum ARBSubscriptionStatusEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5994..6013
    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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum permissionsEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/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

    Duplicated Code

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

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

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
        public enum FDSFilterActionEnum {
            
    Severity: Major
    Found in Authorize.NET/Utility/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/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 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