guibranco/CrispyWaffle

View on GitHub

Showing 45 of 121 total issues

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

        [Localizable(false)]
        public static string Decrypt(
            this string encryptedText,
            string passwordHash,
            string saltKey,
Severity: Minor
Found in Src/CrispyWaffle/Cryptography/Security.cs - About 1 hr to fix

    Method UpdateValueInternal has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                T currentObject,
                T newObject,
                PropertyInfo propertyInfo,
                T defaultObject,
                Type type
    Severity: Minor
    Found in Src/CrispyWaffle/Extensions/TypeExtensions.cs - About 35 mins to fix

      Method SetToDatabase has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                  T value,
                  string key,
                  int databaseNumber,
                  TimeSpan? ttl = null,
                  bool fireAndForget = false
      Severity: Minor
      Found in Src/CrispyWaffle.Redis/Cache/RedisCacheRepository.cs - About 35 mins to fix

        Method ParseParameters has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                    T instance,
                    bool useNonPublic,
                    Type type,
                    ParameterInfo parameter,
                    List<object> arguments
        Severity: Minor
        Found in Src/CrispyWaffle/Extensions/ConversionExtensions.cs - About 35 mins to fix

          Method CalculateDocumentDigits has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                      string document,
                      string documentType,
                      int fullLength,
                      int[] multiplierFirstDigit,
                      int[] multiplierSecondDigit
          Severity: Minor
          Found in Src/CrispyWaffle/Validations/PersonalDataValidation.cs - About 35 mins to fix
            Severity
            Category
            Status
            Source
            Language