davispuh/ruby-libmspack

View on GitHub

Showing 2 of 8 total issues

File mscab.rb has 290 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module LibMsPack
    module MsCab
        module Constants
            # Offset from start of cabinet to the reserved header data (if present).
            MSCAB_HDR_RESV_OFFSET = 0x28
Severity: Minor
Found in lib/libmspack/mscab.rb - About 2 hrs to fix

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

                def fast_find(decompressor, chm, filename, file, size)
    Severity: Minor
    Found in lib/libmspack/mschm.rb - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language