![]() |
TCAT/Java, Ver. 3.2
RELEASE NOTES © Copyright 1999-2006 by Software Research, Inc. |
These Release Notes describe changes and additions to TCAT/Java, ver. 3.2.
Download either of two versions of TCAT/Java:
The current releases of TCAT C/C++ Ver. 3.2 and TCAT/Java Ver. 3.2 include the All Paths Generator (APG). APG's aim is to give C-C++ and Java programmers instant information about the relative structural complexity of individual functions and modules/objects.
The new APG feature is accessed from buttons on the TCAT C/C++ or TCAT/Java Digraph toolbar. The data generated always relates to the current function or module and gives the following information:
In addition, the APG outputs include a complete enumeration of all of the equivalence classes of program flow, up to a repetition count within the looping structure. Studies have shown a high correlation between the APG-generated total path count and the discovery rate of errors for that particular module.
Click here for more information on APG.
The DEMO version does not require a separate license key; it has a key that is valid for a period up to 10 days [it is refreshed regularly]. The DEMO version has these restrictions:
Three complete examples, Fib, MetalWorks 1.3, and SwingSet 1.2.2, are included to fully illustrate product operation.
We supply versions of jrun.class that are buffered with various buffer lengths. You have to copy the correct jrun[?].class file into your copy of jrun.class to get the right effect; the default version is jrun.class = jrun1.class.
The supplied versions buffer at the level of 1, 10, 100, 1000, 10,000, 100,000 and infinite buffering. Buffering is accomplished based on the total number of hits made of segments.
The various versions of runtime that are available are named as follows:
| Hits per Buffer | Class Name |
| 1 | jrun1.class |
| 10 | jrun10.class |
| 100 | jrun100.class |
| 1000 | jrun1000.class |
| 10,000 | jrun10000.class |
| 100,000 | jrun100000.class |
| Infinite | jruninf.class |
These jrun classes are installed into the $SR/program directory, where $SR is your TCAT/Java installed directory.
TCAT/Java will process virtually any compatible Java program without difficulty. However, there are some restrictions that users should be aware of.
static { ...
(static executable code)
... }
Static methods invoked by static blocks will be instrumented.
/* TCAT OFF */
.
.
.
block of code
.
.
.
/* TCAT ON */
if(extension != null && filters.get(getExtension(f)) != null) {...
if(extension != null && (filters.get(getExtension(f)) != null)) {...
This link http://www.soft.com/Support/ReleaseNotes/tcatJ32readme.html describes how to setup and use TCAT/Java. This document also contains step-by-step instructions to instrument Sun's Metalworks 1.3, an example included in TCAT/Java.