Thursday, June 20, 2013


we always see there is a complete team of developer works on single project. it is difficult maintain quality of code or always follow best practices. FindBugs is the right tools for the same goal.

FingBug is useful to detect bed practices like

  • Method might ignore exception.
  • Method might drop exception.
  • Comparison of String parameter using == or !=.
  • Comparison of String objects using == or !=.
  • Class defines compareTo(...) and uses Object.equals().
  • Finalizer does not call superclass finalizer.
  • Format string should use %n rather than \n. 

No comments:

Post a Comment