guibranco/Sankhya-SDK-dotnet

View on GitHub

Showing 143 of 322 total issues

File Partner.cs has 988 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using CrispyWaffle.Extensions;
using CrispyWaffle.Serialization;
using Sankhya.Attributes;
Severity: Major
Found in Src/Sankhya/Transport/Partner.cs - About 2 days to fix

    File InvoiceHeader.cs has 913 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    using System.ComponentModel;
    using System.Diagnostics.CodeAnalysis;
    using System.Globalization;
    using CrispyWaffle.Extensions;
    using Sankhya.Attributes;
    Severity: Major
    Found in Src/Sankhya/Transport/InvoiceHeader.cs - About 2 days to fix

      File SankhyaWrapper.cs has 858 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      using System.Collections.Concurrent;
      using System.ComponentModel;
      using System.Globalization;
      using System.Net;
      using System.Net.Mime;
      Severity: Major
      Found in Src/Sankhya/SankhyaWrapper.cs - About 2 days to fix

        File ServiceRequestExtensions.cs has 809 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        using System.Globalization;
        using System.Linq.Expressions;
        using System.Reflection;
        using System.Text;
        using CrispyWaffle.Extensions;
        Severity: Major
        Found in Src/Sankhya/Helpers/ServiceRequestExtensions.cs - About 1 day to fix

          File ServiceResponse.cs has 757 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          using System.ComponentModel;
          using System.Diagnostics;
          using System.Globalization;
          using System.Text;
          using System.Xml;
          Severity: Major
          Found in Src/Sankhya/Service/ServiceResponse.cs - About 1 day to fix

            File KnowServicesRequestWrapper.cs has 634 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            using System.ComponentModel;
            using CrispyWaffle.Composition;
            using CrispyWaffle.Extensions;
            using CrispyWaffle.Log;
            using CrispyWaffle.Serialization;
            Severity: Major
            Found in Src/Sankhya/RequestWrappers/KnowServicesRequestWrapper.cs - About 1 day to fix

              File Resources.Designer.cs has 633 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              namespace Sankhya.Properties {
                  using System;
                  
                  
                  /// <summary>
              Severity: Major
              Found in Src/Sankhya/Properties/Resources.Designer.cs - About 1 day to fix

                File Product.cs has 622 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                using System.Collections.ObjectModel;
                using System.ComponentModel;
                using System.Diagnostics.CodeAnalysis;
                using CrispyWaffle.Extensions;
                using Sankhya.Attributes;
                Severity: Major
                Found in Src/Sankhya/Transport/Product.cs - About 1 day to fix

                  File Contact.cs has 552 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  using System.ComponentModel;
                  using System.Diagnostics.CodeAnalysis;
                  using CrispyWaffle.Extensions;
                  using Sankhya.Attributes;
                  
                  
                  Severity: Major
                  Found in Src/Sankhya/Transport/Contact.cs - About 1 day to fix

                    File InvoiceHeaderExclusion.cs has 538 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    using System.ComponentModel;
                    using System.Diagnostics.CodeAnalysis;
                    using System.Globalization;
                    using CrispyWaffle.Extensions;
                    using Sankhya.Attributes;
                    Severity: Major
                    Found in Src/Sankhya/Transport/InvoiceHeaderExclusion.cs - About 1 day to fix

                      Method GetHashCode has 184 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          [SuppressMessage(
                              "ReSharper",
                              "NonReadonlyMemberInGetHashCode",
                              Justification = "Used to compute hash internally"
                          )]
                      Severity: Major
                      Found in Src/Sankhya/Transport/Partner.cs - About 7 hrs to fix

                        File PagedRequestWrapper.cs has 462 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        using System.Collections.Concurrent;
                        using System.Diagnostics;
                        using System.Globalization;
                        using CrispyWaffle.Cache;
                        using CrispyWaffle.Composition;
                        Severity: Minor
                        Found in Src/Sankhya/RequestWrappers/PagedRequestWrapper.cs - About 7 hrs to fix

                          File Release.cs has 424 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          using System.ComponentModel;
                          using System.Globalization;
                          using System.Xml.Serialization;
                          using CrispyWaffle.Extensions;
                          
                          
                          Severity: Minor
                          Found in Src/Sankhya/Service/Release.cs - About 6 hrs to fix

                            Method ParseProperty has 144 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                private void ParseProperty<T>(
                                    T instance,
                                    ReferenceLevel maxInnerLevel,
                                    string prefix,
                                    ReferenceLevel currentLevel,
                            Severity: Major
                            Found in Src/Sankhya/Helpers/EntityDynamicSerialization.cs - About 5 hrs to fix

                              File InvoiceItem.cs has 404 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              using System.ComponentModel;
                              using System.Diagnostics.CodeAnalysis;
                              using CrispyWaffle.Extensions;
                              using CrispyWaffle.Serialization;
                              using Sankhya.Attributes;
                              Severity: Minor
                              Found in Src/Sankhya/Transport/InvoiceItem.cs - About 5 hrs to fix

                                File Invoices.cs has 401 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                using System.ComponentModel;
                                using System.Globalization;
                                using System.Xml.Serialization;
                                using CrispyWaffle.Extensions;
                                using CrispyWaffle.Serialization;
                                Severity: Minor
                                Found in Src/Sankhya/Service/Invoices.cs - About 5 hrs to fix

                                  File Invoice.cs has 393 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  using System.ComponentModel;
                                  using System.Xml.Serialization;
                                  using CrispyWaffle.Extensions;
                                  using Sankhya.Enums;
                                  using Sankhya.Transport;
                                  Severity: Minor
                                  Found in Src/Sankhya/Service/Invoice.cs - About 5 hrs to fix

                                    Class ServiceResponse has 40 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    [Serializer]
                                    [XmlRoot(ElementName = SankhyaConstants.ServiceResponse)]
                                    public sealed class ServiceResponse : IXmlSerializable
                                    {
                                        /// <summary>
                                    Severity: Minor
                                    Found in Src/Sankhya/Service/ServiceResponse.cs - About 5 hrs to fix

                                      Class Partner has 40 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      [Serializer]
                                      [Entity("Parceiro")]
                                      public class Partner : IEntity, IEquatable<Partner>
                                      {
                                          /// <summary>
                                      Severity: Minor
                                      Found in Src/Sankhya/Transport/Partner.cs - About 5 hrs to fix

                                        Method ProcessStatusMessage has 126 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public static void ProcessStatusMessage(
                                                ServiceName service,
                                                ServiceRequest request,
                                                ServiceResponse response
                                            )
                                        Severity: Major
                                        Found in Src/Sankhya/Helpers/StatusMessageHelper.cs - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language