This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Performance and the fly likes Java testing/memory tools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Java testing/memory tools" Watch "Java testing/memory tools" New topic

Java testing/memory tools

Bryan Welch
Ranch Hand

Joined: Jan 13, 2000
Posts: 32
While a newbie at java, I've been assigned at work to help test some tools for our development work in java. We're looking at NuMega tools (TrueTime, TrueCoverage, and JCheck) as well as OptimizeIt.
I've been looking mostly at NuMega stuff recently. It lets you run your application under the tool, do whatever, then exit and save the tool's results as a 'session'. After that, you can study what the tool found out. TrueTime studies execution times for methods, including the entire tree of parents and children. A cool feature is that it lets you drill down from high level to low, right down to code. JCheck does the same for memory, TrueCoverage for testing code.
OptimizeIt doesn't have the drill down features, but it isn't session based. It lets you study memory usage in real time as the application runs, with graphs and charts.
I hear Jtest (from is a tool for testing how good your code is. Sort of like a style guide, but much more. Does anyone know anything about this tool?

Bryan Welch

----<br />Bryan Welch<br />
paul wheaton

Joined: Dec 14, 1998
Posts: 20973

Are you saying that JTest is like lint for Java?

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Brent Worden
Ranch Hand

Joined: Nov 26, 2001
Posts: 50
There is a product review on the latest version of jtest in the January issue of Java Report.
It claims jtest can perform Black-Box, Regression, and White-Box testing as well as the style checking and standards enforcing as discussed.

Brent Worden

Brent Worden
Glen Tanner
Ranch Hand

Joined: Apr 16, 1999
Posts: 147

JTest is made by ParaSoft at
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I've used jtest! quite a bit and it is as advertised. Very thorough. It's about $3000 a seat and node locked to your IP address. Let's you know of any possible uncaught exceoptions in your code (which is a hassle sometimes as it puts a null in for every value and spits out possible null pointer exceptions, even when you know programatically it is almost impossible to get a null there). It's worth a demo. Parasoft gives like a 48 hour demo of the product and it only reports the first 3 exceptions of each type per source file etc. Check it out from the web site.
I agree. Here's the link:
subject: Java testing/memory tools
It's not a secret anymore!