man javacoverage

NAME

     javacoverage - Test Coverage Analyzer for JAVA Language

SYNOPSIS

     javacoverage [ -I | -E Class Names] [-F File Names] [$ [Package Name] [File Names]]*

DESCRIPTION

    javacoverage is a coverage based tool for testing JAVA programs. It is an aid for white-box testing activities. The subject program is monitored during execution providing statistics to determine statement coverage, branch coverage, method coverage, class coverage and time spent in testing. This tool supports testing to be carried out in multiple sessions. This tool supports selective coverage at class level.

    javacoverage uses source code instrumentation technique to collect the coverage information.

OPTIONS


       -[-I | -E Class Names]

      if the switch I is used then the class names specified are considered as the classes which are to be instrumented and whose coverage information is required. If the switch E is used then the class names specified are excluded from all the files that are given.

FILES

report.dat

    contains the coverage report in ASCII format.

report.html

    contains the coverage report in HTML format.

block_history.dat

    contains the history of the statement coverage information.

branches_history.dat

    contains the history of the branch coverage information.

functions_history.dat

    contains the history of the function coverage information.

classes_history.dat

    contains the history of the class coverage information.

SEE ALSO

     Hong Zhu, Patrick A. V. Hall, John H. R. May. Software Unit Tet Coverageand Adequacy. ACM Computing Surveys, Vol. 29, No. 4, December 1997.

DIAGNOSTICS

       javacoverage fails in case the memory gets exhausted. Appropriate diagnostic message is displayed when the memory is exhausted and removes all the temporary files created.

BUGS

       javacoverage might not work well for very large software systems. Because of class size limitation of Java.

AUTHORS

       JavaCoverage is developed at IIT Kanpur by N V Sreenivasa Rao under the guidance of Prof. Pankaj Jalote.
       http://www.cse.iitk.ac.in/users/jalote/download/javacoverage/index.html

15 February 2003javacoverage(1)