-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
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
- ...
I've submitted the very first draft here: https://github.com/oleg-nenashev/lib-findbugs-detectors
It contains the Static Jenkins Instance Usage Detector