Solved

good lint tool for Java? Jlint??

Posted on 2000-03-04
4
230 Views
Last Modified: 2010-05-18
I am looking for a tool which can spot suspect code in Java applications. This could include dead code, variables (global and local) declared but not used, unused methods, etc. Java is much stronger than C, of course, but there are still gotchas and I'd like to find these upfront.

This would have to run under HPUX. Jlint suffers from typical lint output overload. It also does not recognize dynamic arrays. Is it the best lint tool around?

Thanks!
0
Comment
Question by:marvindinker
  • 2
4 Comments
 
LVL 5

Expert Comment

by:mbormann
ID: 2591116
Try JAX from IBM
0
 
LVL 19

Accepted Solution

by:
Jim Cakalic earned 20 total points
ID: 2637904
JStyle from Man Machine Systems (http://www.mmsindia.com/index.html). You can download an eval from their website. US$695/seat with site licensing available.

CodeCompanion from Jenssoft (http://www.jenssoft.com/). They also have a 'broken' demo version for download. US$199/seat with multi-seat discounts.

I thought I saw a few more. I'll look through my links and see what else I can find.

Best regards,
Jim Cakalic

0
 

Author Comment

by:marvindinker
ID: 2647840
Thanks for the useful recommendation!
0
 
LVL 5

Expert Comment

by:mbormann
ID: 2654379
Pls post here if you have any more good stuff

Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet doXXX methods 3 62
object oriented programming comparison 5 77
Problem to Alipay 10 43
Tagging and Merging on Branch 1 29
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question