Download presentation
Presentation is loading. Please wait.
Published byReynold Woods Modified over 6 years ago
1
kenu@okjsp.pe.kr http://okjsp.tistory.com/
findbugs
2
from
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 Plugin Java Web Start; jnlp IDE:
Eclipse, NetBeans … Build Tool: Ant, Maven CI Tool : Hudson
5
Command line Download, Unzip, set Path options
findbugs -textui -javahome /path/to/jdk xml -output findbugs.xml /path/to/classes
6
Desktop
7
Eclipse plugin Update URL
8
Eclipse plugin – editor
9
Eclipse plugin – 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=" "> <sourcePath path="WebContent/WEB-INF/src" /> <class location="WebContent/WEB-INF/classes" /> </findbugs> </target>
12
HUDSON
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.