Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36721

Create a Jenkins FindBugs Detectors library with specific checks

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      The library should contain Jenkins-specific checks. It would be great to start from several critical cases we commonly experience in Jenkins-specific codebase.

      TODO: define the final list

      Examples:

      • Definition of extensionPoint implementation without @Extension in the class/descriptor
      • Usage of the Restricted method coming from the external library
      • Usage of do*() methods in the code without RequirePost
      • Nice2have: Method may return null, but there is no CheckForNull annotation
      • ...

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I've submitted the very first draft here: https://github.com/oleg-nenashev/lib-findbugs-detectors
          It contains the Static Jenkins Instance Usage Detector

          Show
          oleg_nenashev Oleg Nenashev added a comment - I've submitted the very first draft here: https://github.com/oleg-nenashev/lib-findbugs-detectors It contains the Static Jenkins Instance Usage Detector

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: