Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18077

Add SpotBugs to the build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Build, CI
    • None
    • Quality Assurance
    • Low Hanging Fruit
    • All
    • None
    • Hide

      added new task

      Show
      added new task

    Description

      When working on CASSANDRA-17178 I found that several classes were being reported by the Simulator for not defining serializer version when they are Serializable; this may cause issues for the Simulator so felt it would be best to detect these earlier on before merging new ones.

      SpotBugs has a large set of checks, some more valuable than others for the project; so we should maintain a curated list of issues to fail the build on, and others to warn on.

      This topic was discussed in the following mail threads:

      Attachments

        1. spotbugs.html
          2.10 MB
          David Capwell

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcapwell David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h