Design and Realization of a Test-Tool implemented as a Database Application for Coverage Analysis of Java Programs

 

Abstract:

First, this paper gives an overview about the commercially and as Opensource products available programs dealing with coverage analysis of Java programs. After a brief comparison of these tools, the design and implementation of an instrumenter for Java programs is described. This instrumenter is based on the Opensource-parser 'Barat' written in 1998 by B.Bokowski and A.Spiegel then both at the 'Technische Universität Berlin' in Germany. The coverage tool called 'DoiT' (Documentation of instrumented Test runs of Java Programs) developed during the course of this work, is a database application based on 'MySQL' but easily adaptable to other (commercial) relational DBMS. With DoiT many test runs of different test-candidates in various versions are documented in one or more databases. The capabilities of DoiT include the recording of several coverage measures on Java programs up to the 'minimum-multiple-condition-coverage'. Furthermore a tool for visualization of the coverage measurements is included. This feature allows the user to overlay the original source code of the program under test with the test results recorded by the database during previous test runs.

 

back