AuthorizeNet/sdk-dotnet

View on GitHub

Showing 545 of 545 total issues

Method Execute has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public void Execute(AuthorizeNet.Environment environment = null)
        {
            BeforeExecute();

            Logger.debug(string.Format(CultureInfo.InvariantCulture, "Executing Request:'{0}'", XmlUtility.GetXml(GetApiRequest())));
Severity: Minor
Found in Authorize.NET/Api/Controllers/Bases/ApiOperationBase.cs - About 1 hr to fix

    Method MockgetTransactionListTest has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public void MockgetTransactionListTest()
            {
                //define all mocked objects as final
                var mockController = GetMockController<getTransactionListRequest, getTransactionListResponse>();

      Similar blocks of code found in 9 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(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
      Severity: Major
      Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 4 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 4 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 4 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 4 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 747..759
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "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 4 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 868..880
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 883..895
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1751..1763
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2538..2550

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1517..1532
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

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

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

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

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

      Refactorings

      Further Reading

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

          [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
          [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 8 other locations - About 1 hr to fix
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 193..208
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 983..998
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1001..1016
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1715..1730
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 1733..1748
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2406..2421
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2842..2857
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 3265..3280

      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 101.

      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 4 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(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
      Severity: Major
      Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 223..235
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2992..3004

      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 100.

      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 4 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 3 other locations - About 1 hr to fix
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2992..3004

      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 100.

      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 4 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 3 other locations - About 1 hr to fix
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 223..235
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 2992..3004

      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 100.

      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 4 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(Namespace="AnetApi/xml/v1/schema/AnetApiSchema.xsd")]
      Severity: Major
      Found in Authorize.NET/Utility/AnetApiSchema.generated.cs and 3 other locations - About 1 hr to fix
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 223..235
      Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs on lines 3676..3688
      Authorize.NET/Utility/AnetApiSchema.generated.cs on lines 178..190

      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 100.

      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