Showing 283 of 466 total issues
Method Transactions_camt
has 119 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async Task<HBCIDialogResult<List<CamtStatement>>> Transactions_camt(TANDialog tanDialog, CamtVersion camtVers,
DateTime? startDate = null, DateTime? endDate = null, bool saveCamtFile = false)
{
var result = await InitializeConnection();
if (result.HasError)
Method WaitForTanAsync
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static async Task<string> WaitForTanAsync(FinTsClient client, HBCIDialogResult dialogResult, TANDialog tanDialog)
{
var BankCode_ = "HIRMS" + Parse_String(dialogResult.RawData, "'HIRMS", "'");
string[] values = BankCode_.Split('+');
foreach (var item in values)
File Tan.cs
has 349 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Text;
using System.Threading.Tasks;
using libfintx.FinTS.Data;
using libfintx.FinTS.Message;
Method Init_HKSYN
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static async Task<String> Init_HKSYN(FinTsClient client)
{
Log.Write("Starting Synchronisation");
string segments;
Method Create
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static string Create(string Accountholder, string AccountholderIBAN, string AccountholderBIC, DateTime SettlementDate, List<Pain00800202CcData> PainData, string NumberofTransactions, decimal TotalAmount)
{
var RndNr = Guid.NewGuid().ToString();
if (RndNr.Length > 20)
Method Create
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static string Create(string Accountholder, string AccountholderIBAN, string AccountholderBIC, string Payer, string PayerIBAN, string PayerBIC, decimal Amount, string Usage, DateTime SettlementDate, string MandateNumber, DateTime MandateDate, string CeditorIDNumber)
{
var RndNr = Guid.NewGuid().ToString();
if (RndNr.Length > 20)
Method ParseAccounts
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static bool ParseAccounts(string message)
{
AccountList = new List<AccountInformation>();
try
{
Method CreateInitRequest
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private XmlDocument CreateInitRequest()
{
using (new MethodLogger(s_logger))
{
try
Method CreateInitRequest
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private (XmlDocument request, IList<string> segments) CreateInitRequest()
{
using (new MethodLogger(s_logger))
{
try
Method CreateInitRequest
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private (XmlDocument request, IList<string> segments) CreateInitRequest()
{
using (new MethodLogger(s_logger))
{
try
File HKCAZ.cs
has 323 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Threading.Tasks;
using libfintx.FinTS.Camt;
using libfintx.FinTS.Data;
using libfintx.FinTS.Message;
File DbfFile.cs
has 319 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
Method Deserialize
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internal override DeserializeResponse Deserialize(string payload)
{
try
{
using (new MethodLogger(s_logger))
Class MainForm
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public partial class MainForm : Form
{
private List<Bank> _bankList;
private bool _closing;
Class Helper
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public static partial class Helper
{
/// <summary>
/// Regex pattern for HIRMG/HIRMS messages.
/// </summary>
File DbfHeader.cs
has 300 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
Method Create
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static string Create(string Accountholder, string AccountholderIBAN, string AccountholderBIC, List<Pain00100203CtData> PainData, string NumberofTransactions, decimal TotalAmount, DateTime ExecutionDay)
{
var RndNr = Guid.NewGuid().ToString();
if (RndNr.Length > 20)
Method Create
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static string Create(string Accountholder, string AccountholderIBAN, string AccountholderBIC, List<Pain00100203CtData> PainData, string NumberofTransactions, decimal TotalAmount, DateTime ExecutionDay)
{
var RndNr = Guid.NewGuid().ToString();
if (RndNr.Length > 20)
File Command.cs
has 295 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
Method Create
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static string Create(string Accountholder, string AccountholderIBAN, string AccountholderBIC, string Receiver, string ReceiverIBAN, string ReceiverBIC, decimal Amount, string Usage, DateTime ExecutionDay)
{
DateTime datetime = DateTime.Now;
var creDtTm = $"{datetime:s}";
var msgId = $"{datetime:yyyy-MM-dd HH:mm:ss.fff}";