Comment by Guest on 2005-01-19 02:38:50 http://findbugs.sourceforge.net/ |
Comment by Guest on 2005-01-19 13:56:27 By pair programming... |
Comment by Guest on 2005-01-19 22:41:12 Checkstyle is great. We used to use PMD, but dropped it as CheckStyle now has many of the same rules PMD does. But these are just one TYPE of checking tool Others include: [URL=http://artho.com/jlint/]JLint[/URL] - Very fast. Good for detecting NPE's [URL=http://www.jutils.com]Lint4j[/URL] [URL=http://findbugs.sf.net]FindBugs[/URL] [URL=http://www.redhillconsulting.com.au/products/simian]Simian[/URL] - Dupliate code. [URL=http://www.niii.ru.nl/ita/sos/escjava/]ESC/Java 2[/URL] The first 3 intelligently scan your bytecode across multiple files. Checkstyle only looks for patterns in your source code. ESC is the best, I think, but it's hard to use. We use it successfully, but it took a while to figure it out. It has almost completely eliminated the chance for NPE, index of out of bouncds, and class cast exceptions. It requires lots and lots of design-by-contract annotations. |
Comment by Guest on 2005-01-19 22:46:42 Pair programming does NOT replace the usefulness of a code review tool. I doubt it allows you to write bug-free code that is completly free of design shortcommingg. People aren't perfect. Tools won't fix that, but they certainly help. We pair program and it certain does help code quality. |
Comment by Guest on 2005-01-19 23:13:29 but the site http://www.sos.cs.ru.nl/research/escjava is remarkably boring. no screenshots, userguide..nothing. was also surprised to see that the download size is 7.4 MB. perhaps the biggest of all code review tools. |
Comment by Guest on 2005-01-20 00:07:21 Another tool that I've heard of in this space is Juliet which is used for code comprehension. |
Comment by dumbjavacoder on 2005-01-20 10:58:22 Hi, I also blogged about these code review tools, primarily about PMD in my blog. You can check it here, ne_calendar.asp?team=Admin&location=Mayfair&order=6.3.1. My comments on these tools from my blog, " I want to say that this tool cannot completely replace manual code reviews which are more effective. Pareto's 80-20 rule applies here. ha ha... :-). As this tool will help to review 80% common problems and good old manual review can cover 20% critical problems. "
|
Comment by dumbjavacoder on 2005-01-20 11:00:35 Sorry. The blog link is missing in above post. It is http://jroller.com/page/dumbjavacoder/20050119#pmd_open_source_java_code |