AuthorizeNet/sdk-dotnet

View on GitHub

Showing 471 of 545 total issues

Similar blocks of code found in 36 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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5783..5790
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 35 other locations - About 1 hr to fix
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4653..4660
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4663..4670
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4673..4680
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 4754..4761
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5125..5132
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5194..5201
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5217..5224
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5243..5250
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5269..5276
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5349..5356
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5405..5412
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5743..5750
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5753..5760
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5793..5800
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 5822..5829
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6461..6468
Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 6586..6593
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3762..3769
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3772..3779
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3782..3789
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3863..3870
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4234..4241
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4303..4310
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4326..4333
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4352..4359
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4378..4385
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4458..4465
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4514..4521
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4852..4859
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4862..4869
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4892..4899
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4902..4909
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 4931..4938
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5561..5568
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 5686..5693

Duplicated Code

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

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

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

Tuning

This issue has a mass of 122.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 119.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 119.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 116.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(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 4113..4123

Duplicated Code

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

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

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

Tuning

This issue has a mass of 116.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 115.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(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 3681..3694

Duplicated Code

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

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

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

Tuning

This issue has a mass of 115.

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

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

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

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

Refactorings

Further Reading

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

namespace AuthorizeNet.Api.Controllers.MockTest
{
    //using System;
    //using System.Collections.Generic;
    //using AuthorizeNet.Api.Contracts.V1;
AuthorizeNETtest/Api/Controllers/MockTest/transactionControllerTest.cs on lines 1..75

Duplicated Code

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

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

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

Tuning

This issue has a mass of 115.

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

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

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

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

Refactorings

Further Reading

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

namespace AuthorizeNet.Api.Controllers.MockTest
{
    //using System;
    //using System.Collections.Generic;
    //using AuthorizeNet.Api.Contracts.V1;
AuthorizeNETtest/Api/Controllers/MockTest/createProfileControllerTest.cs on lines 1..75

Duplicated Code

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

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

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

Tuning

This issue has a mass of 115.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
Severity: Major
Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 154..175
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3470..3491

Duplicated Code

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

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

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

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
Severity: Major
Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 154..175
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3567..3588

Duplicated Code

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

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

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

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
Severity: Major
Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 2 other locations - About 1 hr to fix
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3470..3491
Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3567..3588

Duplicated Code

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

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

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

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(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 2525..2543

Duplicated Code

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

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

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

Tuning

This issue has a mass of 112.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language