/unused-code-detector

Finds and reports unused code in Jenkins api

Primary LanguageHTMLMIT LicenseMIT

Finds and reports unused code in Jenkins api (including in latest published plugins and potential usage in jelly files, except getters, setters and fields, except deprecated classes and methods, except unit tests)

Build Status

Current results in summary:

  • 1096 plugins
  • 198 Jenkins methods are detected as not used in the latest published plugins and in core

See details in the continuous integration or in this example of output.

There are certainly false positives and there are unused methods missing in the report. To be sure that a method is never used, you can grep all sources or search in github directly.

See also:

To run the tool yourself : Checkout and run with "mvn clean compile exec:java". Note: it is quite long to download all the plugins the first time (1.8 GB).

License MIT

Author Emeric Vernat