AuthorizeNet/sdk-dotnet

View on GitHub

Showing 471 of 545 total issues

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 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 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 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 4535..4545
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4564..4574
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4577..4587
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4603..4613
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4818..4828
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5417..5427
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5694..5704

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

Similar blocks of code found in 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 22 locations. Consider refactoring.
Open

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

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

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

Similar blocks of code found in 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 22 locations. Consider refactoring.
Open

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

Similar blocks of code found in 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 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 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 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 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

Severity
Category
Status
Source
Language