guibranco/CrispyWaffle

View on GitHub
Src/CrispyWaffle.Utils/Communications/FtpClient.cs

Summary

Maintainability
B
4 hrs
Test Coverage

Method CreateInternal has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private bool CreateInternal(string path, byte[] bytes)
        {
            var result = false;
            try
            {
Severity: Minor
Found in Src/CrispyWaffle.Utils/Communications/FtpClient.cs - About 1 hr to fix

    Method ExistsInternal has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            private bool ExistsInternal(string path)
            {
                try
                {
                    LogConsumer.Info(
    Severity: Minor
    Found in Src/CrispyWaffle.Utils/Communications/FtpClient.cs - About 1 hr to fix

      Method RemoveInternal has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              private void RemoveInternal(string path)
              {
                  try
                  {
                      LogConsumer.Info("Uploading to FtpClient the file: {0}", path.GetPathOrFileName());
      Severity: Minor
      Found in Src/CrispyWaffle.Utils/Communications/FtpClient.cs - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status