AuthorizeNet/sdk-dotnet

View on GitHub

Showing 545 of 545 total issues

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/Utility/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 25 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4611..4621
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5515..5525
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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/Utility/AnetApiSchema.generated.cs and 21 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4741..4751
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4764..4774
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5158..5168
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5204..5214
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5336..5346
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5415..5425
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5502..5512
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5630..5640
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5696..5706
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6373..6383
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6573..6583
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3850..3860
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3873..3883
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4267..4277
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4313..4323
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4445..4455
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4524..4534
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4739..4749
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4805..4815
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5473..5483
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5673..5683

Duplicated Code

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

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

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 4605..4615
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4618..4628
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4683..4693
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4728..4738
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5059..5069
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5112..5122
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5447..5457
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5476..5486
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5489..5499
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5730..5740
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6338..6348
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6615..6625
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3723..3733
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3736..3746
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3792..3802
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3837..3847
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4168..4178
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4221..4231
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4556..4566
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4585..4595
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4598..4608
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4624..4634
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4839..4849
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5438..5448
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5715..5725

Duplicated Code

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

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

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