Showing 145 of 326 total issues
Class Contact
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
[Entity("Contato")]
public class Contact : IEntity, IEquatable<Contact>
{
/// <summary>
/// Indicates whether the current object is equal to another object of the same type.
Class SimpleCrudRequestWrapper
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public static class SimpleCrudRequestWrapper
{
/// <summary>
/// The Sankhya context.
/// </summary>
Method ProcessFieldsAndCriteria
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void ProcessFieldsAndCriteria<T>(
ServiceRequest request,
T criteriaEntity,
ReferenceLevel currentLevel,
PropertyInfo propertyInfo,
Method Equals
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public bool Equals(Product other)
{
if (ReferenceEquals(null, other))
{
return false;
File City.cs
has 280 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using CrispyWaffle.Serialization;
using Sankhya.Attributes;
File RequestBody.cs
has 279 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.ComponentModel;
using System.Xml.Serialization;
namespace Sankhya.Service;
Method GetHashCode
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[SuppressMessage(
"ReSharper",
"NonReadonlyMemberInGetHashCode",
Justification = "Used to compute hash internally"
)]
File SimpleCRUDRequestWrapper.cs
has 278 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using CrispyWaffle.Composition;
using CrispyWaffle.Log;
using Sankhya.Enums;
using Sankhya.GoodPractices;
using Sankhya.Helpers;
Class InvoiceHeaderExclusion
has 24 methods (exceeds 20 allowed). Consider refactoring. Open
Open
[Entity("CabecalhoNotaExcluida")]
public class InvoiceHeaderExclusion : IEntity, IEquatable<InvoiceHeaderExclusion>
{
/// <summary>
/// Indicates whether the current object is equal to another object of the same type.
File Financial.cs
has 276 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using CrispyWaffle.Extensions;
using Sankhya.Attributes;
Method GetImage
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ServiceFile GetImage(string entity, Dictionary<string, object> keys)
{
HttpWebResponse response = null;
try
{
Method Resolve
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void Resolve<T>(this ServiceRequest request, ICollection<T> criteriaList)
where T : class, IEntity, new()
{
if (request == null)
{
Method ServiceInvokerInternal
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private ServiceResponse ServiceInvokerInternal(
ServiceRequest request,
ServiceName serviceName,
RequestRetryData retryData
)
Class Release
has 23 methods (exceeds 20 allowed). Consider refactoring. Open
Open
[XmlType("liberacao")]
public sealed class Release
{
/// <summary>
/// The key
Method GetHashCode
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[SuppressMessage(
"ReSharper",
"NonReadonlyMemberInGetHashCode",
Justification = "Used to compute hash internally"
)]
Method GetHashCode
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[SuppressMessage(
"ReSharper",
"NonReadonlyMemberInGetHashCode",
Justification = "Used to compute hash internally"
)]
File OnDemandRequestWrapper.cs
has 266 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.Collections.Concurrent;
using System.Globalization;
using CrispyWaffle.Composition;
using CrispyWaffle.Events;
using CrispyWaffle.Log;
File StatusMessageHelper.cs
has 264 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.Text.RegularExpressions;
using CrispyWaffle.Extensions;
using Sankhya.Enums;
using Sankhya.GoodPractices;
using Sankhya.Service;
Method GetHashCode
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[SuppressMessage(
"ReSharper",
"NonReadonlyMemberInGetHashCode",
Justification = "Used to compute hash internally"
)]
Method ProcessInternal
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private bool ProcessInternal(Guid sessionToken)
{
WaitHandle.WaitAny(new[] { _event, _token.WaitHandle }, new TimeSpan(0, 1, 0));
if (_queue.IsEmpty && (_token.IsCancellationRequested || _disposeRequested))