Preemptive Error Detection with FindBugs Albert Guo [email_address]
Agenda <ul><li>What is FindBugs </li></ul><ul><li>Bug Categories </li></ul><ul><li>How to use FindBugs </li></ul><ul><li>B...
What is FindBugs <ul><li>FindBugs uses the Apache BCEL library to analyze the classes in your application and detect poten...
Bug Categories
Bug Categories – cont.
How to use FindBugs In practice, the standalone application is rarely used:  developers prefer to be able to invoke FindBu...
Bugs Detection Process http://findbugs.sourceforge.net/   Execute ant script
Bugs Detection Process – Author Ant Build Script projectFile can be generated via GUI tool. http://0rz.tw/584k0   Get furt...
Bugs Detection Process – Generate Bug Reports … .
FindBugs Analysis Report
FindBugs Analysis Report – cont.
FindBugs Analysis Report – cont.
Upcoming SlideShare
Loading in...5
×

Preemptive Error Detection with FindBugs

1,462

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,462
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
41
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Preemptive Error Detection with FindBugs

  1. 1. Preemptive Error Detection with FindBugs Albert Guo [email_address]
  2. 2. Agenda <ul><li>What is FindBugs </li></ul><ul><li>Bug Categories </li></ul><ul><li>How to use FindBugs </li></ul><ul><li>Bugs Detection Process </li></ul><ul><li>FindBugs Analysis Report </li></ul>
  3. 3. What is FindBugs <ul><li>FindBugs uses the Apache BCEL library to analyze the classes in your application and detect potential bugs. </li></ul><ul><li>FindBugs rules (or &quot;detectors&quot;) use a variety of inspection techniques, from examining the structure of the class right through to studying the detailed dataflow through the class. </li></ul><ul><li>In addition to the detectors provided by FindBugs, with a bit of work, you can write your own custom-built detectors. </li></ul><ul><li>http://findbugs.sourceforge.net/ </li></ul>
  4. 4. Bug Categories
  5. 5. Bug Categories – cont.
  6. 6. How to use FindBugs In practice, the standalone application is rarely used: developers prefer to be able to invoke FindBugs directly from within their work environment.
  7. 7. Bugs Detection Process http://findbugs.sourceforge.net/ Execute ant script
  8. 8. Bugs Detection Process – Author Ant Build Script projectFile can be generated via GUI tool. http://0rz.tw/584k0 Get further info: http://0rz.tw/ed4mX   Attach.
  9. 9. Bugs Detection Process – Generate Bug Reports … .
  10. 10. FindBugs Analysis Report
  11. 11. FindBugs Analysis Report – cont.
  12. 12. FindBugs Analysis Report – cont.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×