versioneye/naturalsorter

View on GitHub

Showing 83 of 87 total issues

Avoid too many return statements within this method.
Open

        return A_STABILITY_DEV
Severity: Major
Found in lib/version_tag_recognizer.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

        return -1 if a_val.length > b_val.length && a_val.to_s.match(/\A#{a_val}-BETA.*/i)
    Severity: Major
    Found in lib/versioncmp.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return result if result == 1 || result == -1
      Severity: Major
      Found in lib/versioncmp.rb - About 30 mins to fix
        Severity
        Category
        Status
        Source
        Language