Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21569

Introduce Spotbugs checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • Docs Required, Release Notes Required

    Description

      Spotbugs can bring additional value to static code analysis of ignite:

      1. Remove modernizer plugin and migrate its rules with Spotbugs rule DM_DEFAULT_ENCODING
      2. Escape analysis for unclosed Closable instances (OS_OPEN_STREAM, OS_OPEN_STREAM_EXCEPTION_PATH)
      3. Checks for misusages of InputStream.read and skip (RR_NOT_CHECKED, SR_NOT_CHECKED)

      There are other reasonable rules Ignite could also benefit from.

      Attachments

        Issue Links

          Activity

            People

              vblinov Viacheslav Blinov
              vblinov Viacheslav Blinov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m