Java News from Tuesday, April 13, 2004

David Holroyd has posted Java cvprof 0.1.0, a free-as-in-speech (GPL) "source-line coverage profiler for Java code, released under the terms of the LGPL. cvprof is a rewrite of JVMDICover that works under J2SDK-1.3 and J2SDK-1.5 (beta), as well as fixing a few other small bugs (JVMDICover was written by Joel Crisp and others). cvprof is implemented using the Java2 JVMDI interface present in Sun's Java Virtual Machines. It is a native library, loaded into the JVM at startup, that can profile the execution of most Java classes. The reporting portion of cvprof is implemented in the Ruby language. The coverage profile is stored in a BerkleyDB hash file." Output is generated in HTML.

Amusingly, the sample output comes from measuring the test coverage of JUnit's test suite. Some of the holes in JUnit's test coverage are really the result of bugs in cvprof. For instance, it often reports closing braces after a return statement as untested. However, there are also a few methods JUnit isn't testing, it should be. The cobbler's children are barefoot. :-)

Etienne Gagnon has released version 1.1.3 of SableVM, a Java bytecode interpreter (that is, a virtual machine) written in portable C. "SableVM requires an ANSI/ISO C compiler (but preferably GCC) and a POSIX platform. It requires a strong memory model (sequential consistency) on multiprocessor systems. SableVM is currently known to run on the i*86 and alpha processors with GNU/Linux." Version 1.1.3 improves the build process. SableVM is published under the GNU Lesser General Public License (LGPL).

Websina has released BugZero 3.5.3, a $999 payware Web-based bug tracking system that supports multiple projects, group-based access, automatic bug assignment, file attachment, email notification, and metric reports. Bug Zero is written in Java and can run on top of various backend databases including MySQL. 3.5.3 is a bug fix release.