Tue. Apr 23rd, 2024


FindBugs is a static code analyzer for Java bytecode.  Static code analyzers are great in they provide feedback on problems as you develop.  You would in a position to run an analysis any time you desire, and find potential probolems long before you release.  A step like this early in the development cycle provides you with the ability to change a design early if needed. Now if your like me and use Eclipse as your main development environment, then you want to integrate FindBugs into your Eclipse Workspace.  Follow these steps to install it:

  1. Help -> Install new Software
  2. Add a Repository "FindBugs Eclipse"  and the address is: http://findbugs.cs.umd.edu/eclipse/
  3. Select the FindBugs Feature
  4. Click Next
  5. Click Next
  6. Select "I accept the terms of the license agreement"
  7. Click Finish
  8. When prompted about the plug-in not being digitally signed decide if you are willing to accept it or not.  (Myself I am, but you must make this decision on your own.)  Clck OK
  9. Click Yes to restart now.

You can specify the Preferences for FindBugs under Windows->Preferences->Java->FindBugs.  In addition to run FindBugs on your project or projects, select the project/projects in Package Explorer right-click  select FindBugs->FindBugs

By Jeffery Miller

I am known for being able to quickly decipher difficult problems to assist development teams in producing a solution. I have been called upon to be the Team Lead for multiple large-scale projects. I have a keen interest in learning new technologies, always ready for a new challenge.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.