--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7c5f8267-a91d-4ddd-b853-fe49e79711f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPbPdOZbqDs8JaNcPq4A%3DLsgM%3Dv%2BSKqOgCj%3D5e53oYv3jWQ12Q%40mail.gmail.com.
+1 thanks and congrats Emeric!Gonna use it to make the plugins I maintain disappear from this list (using deprecated code) :-).
2015-12-14 13:49 GMT+01:00 Andrew Bayer <andrew...@gmail.com>:
Yeah. This is really fascinating stuff - thanks for the work!
Hi Emeric,--
Thanks a lot for your efforts! +1 from me for forking the additional tool.
Since we plan to add the API deprecation and removal policy in Jenkins 2.0, such tools should become very important in the middle-term.
Best regards,
Oleg
понедельник, 14 декабря 2015 г., 2:07:14 UTC+3 пользователь evernat написал:Hi all,
After the tool to find the deprecated Jenkins api used by plugins, I have written yet another tool.
The unused code detector finds Jenkins methods unused in Jenkins and in latest plugins, including potential usage in jelly. (Getters, setters, do*, deprecated methods and unit tests are ignored. Unused deprecated api is already reported here.)
Current result is that 184 Jenkins methods are never used. Perhaps, some of them could be deprecated or removed right away.
There are certainly false positives in the report, but I think that a majority is really dead code. To be sure that a method is never used, it's possible to grep all sources or to search in github directly.
If you are ok, the tool could be forked into jenkins-infra with a job in CI (If yes, I suggest a daily schedule.)
By the way, I have fixed a bug in the first tool above, there are in fact 560 plugins using a deprecated Jenkins api, not 430.
bye,
Emeric
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7c5f8267-a91d-4ddd-b853-fe49e79711f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPbPdOZbqDs8JaNcPq4A%3DLsgM%3Dv%2BSKqOgCj%3D5e53oYv3jWQ12Q%40mail.gmail.com.