AuthorizeNet/sdk-dotnet

View on GitHub

Showing 471 of 545 total issues

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 134.

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

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

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

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

Refactorings

Further Reading

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

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
Severity: Major
Found in Authorize.NET/Properties/AssemblyInfo.cs and 1 other location - About 1 hr to fix
AuthorizeNETtest/Properties/AssemblyInfo.cs on lines 1..36

Duplicated Code

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

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

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

Tuning

This issue has a mass of 133.

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

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

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

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

Refactorings

Further Reading

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

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
Severity: Major
Found in AuthorizeNETtest/Properties/AssemblyInfo.cs and 1 other location - About 1 hr to fix
Authorize.NET/Properties/AssemblyInfo.cs on lines 1..37

Duplicated Code

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

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

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

Tuning

This issue has a mass of 133.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 128.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language