ccov - Test Coverage Analyzer for C Language
ccov [ -adms] [File Names]
ccov is a coverage based tool for testing C programs. It is an aid for white-box testing activities. The subject program is monitored during execution providing statistics to determine if the statement coverage and decision coverage criteria have been met. It also shows different traces of test history.
ccov functions by having a preprocessor insert probes at particular points in the source program. The source program is translated into an instrumented C source program. The output file is kept in ccov.file.c which can be compiled and run.
-a checks the source program for a strict ANSI syntax.
-d maintenance of history file of input data is turned off. By default it is on.
-m If the source program is broken into different files then all files have to be mentioned along with this option.
-s Prints statistics about the program at the end of parsing. These statistics give information about the number of functions in the source program, number of basic blocks and total number of identifiers used.
ccov.file.c
output from ccov. It is the translated source program.
ccov.time
Keep track of time and session.
ccov.history
Maintaince the history of testing connected with source file.
ccov.fn
contains the history of function coverage information.
ccov.if
contains the history of the branch coverage information.
marked.file.c
File highlighting the statements not covered so far.
Logic coverage Testing coverage Monitor by G J Myers.
ccov fails in case the memory gets exhausted. Appropriate diagnostic message is displayed when the memory is exhausted and removes all the temporary files created.
The typdef names in the include files may cause the parser to fail. Any changes in the source program will cause the mapping of statements with line numbers in source file to mismatch.
CCOV is developed at IIT Kanpur by Capt Sandeep
Sharma, N V Sreenivasa Rao under the guidance of Prof. Pankaj Jalote.
http://www.cse.iitk.ac.in/users/jalote/download/CCOV/index.html
15 February 2003 | ccov(1) |