hackedteam/vector-edk

View on GitHub
vector-uefi/insyde/7zip/CS/7zip/Compress/LzmaAlone/LzmaBench.cs

Summary

Maintainability
C
7 hrs
Test Coverage

Method LzmaBenchmark has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize)
        {
            if (numIterations <= 0)
                return 0;
            if (dictionarySize < (1 << 18))
Severity: Major
Found in vector-uefi/insyde/7zip/CS/7zip/Compress/LzmaAlone/LzmaBench.cs - About 3 hrs to fix

    File LzmaBench.cs has 301 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    using System;
    using System.IO;
    
    namespace SevenZip
    {
    Severity: Minor
    Found in vector-uefi/insyde/7zip/CS/7zip/Compress/LzmaAlone/LzmaBench.cs - About 3 hrs to fix

      Method GetTotalRating has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                  UInt32 dictionarySize,
                  UInt64 elapsedTimeEn, UInt64 sizeEn,
                  UInt64 elapsedTimeDe,
                  UInt64 inSizeDe, UInt64 outSizeDe)
      Severity: Minor
      Found in vector-uefi/insyde/7zip/CS/7zip/Compress/LzmaAlone/LzmaBench.cs - About 45 mins to fix

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

                    UInt32 dictionarySize,
                    UInt64 elapsedTime,
                    UInt64 size,
                    bool decompressMode, UInt64 secondSize)
        Severity: Minor
        Found in vector-uefi/insyde/7zip/CS/7zip/Compress/LzmaAlone/LzmaBench.cs - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status