AuthorizeNet/sdk-dotnet

View on GitHub

Showing 471 of 545 total issues

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 192.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 191.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 2 locations. Consider refactoring.
Open

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 188.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 186.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language