1 / 14

findbugs

findbugs. kenu@okjsp.pe.kr http://okjsp.tistory.com/. f rom. http://findbugs.sourceforge.net. What for. Find Java Program Bugs Search by bug patterns Search for compiled byte code Refer source code for Human Readable Provide fix guide for each bug. Tool. Command line

niabi
Télécharger la présentation

findbugs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. findbugs kenu@okjsp.pe.kr http://okjsp.tistory.com/

  2. from http://findbugs.sourceforge.net

  3. What for Find Java Program Bugs Search by bug patterns Search for compiled byte code Refer source code for Human Readable Provide fix guide for each bug

  4. Tool Command line Desktop Application Java Web Start; jnlp Plugin IDE: Eclipse, NetBeans … Build Tool: Ant, Maven CI Tool : Hudson

  5. Command line Download, Unzip, set Path options findbugs -textui -javahome /path/to/jdk1.5.0 -xml -output findbugs.xml /path/to/classes

  6. Desktop

  7. Eclipse plugin Update URL http://findbugs.cs.umd.edu/eclipse/

  8. Eclipse plugin – editor

  9. Eclipseplugin – view

  10. Eclipse plugin – perspective

  11. Ant Task $FINDBUGS_HOME/lib/findbugs-ant.jar copy to $ANT_HOME/lib/ <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" /> <target name="findbugs" depends="compile"> <findbugs home="${findbugs.home}" output="xml" outputFile="findbugs.xml" jvmargs="-Xms512M -Xmx1024M " timeout="1800000"> <sourcePath path="WebContent/WEB-INF/src" /> <class location="WebContent/WEB-INF/classes" /> </findbugs> </target>

  12. HUDSON https://hudson.dev.java.net/

  13. How to use in our team Each one’s IDE; before commit; Using App’s Health Care CI graph Code Review

  14. Related http://findbugs.sourceforge.net https://hudson.dev.java.net http://okjsp.tistory.com/tag/findbugs

More Related