Solved

good lint tool for Java? Jlint??

Posted on 2000-03-04
4
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

705 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