Trucov
Encyclopedia
Trucov is an open source
Open source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...

 code coverage
Code coverage
Code coverage is a measure used in software testing. It describes the degree to which the source code of a program has been tested. It is a form of testing that inspects the code directly and is therefore a form of white box testing....

 analysis tool for the GCC
GNU Compiler Collection
The GNU Compiler Collection is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain...

 compiler that improves upon gcov. The tool performs decision coverage analysis over any C
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

 or C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...

 code compiled by the GCC compiler. Trucov was developed as a senior design project at Washington State University
Washington State University
Washington State University is a public research university based in Pullman, Washington, in the Palouse region of the Pacific Northwest. Founded in 1890, WSU is the state's original and largest land-grant university...

.

Features

  • Produces coverage analysis on a per source, per function, and per branch level
  • Provides both text and graphical coverage reports that engineers can easily use
  • Automatically finds all the source files inside of a project
  • Detects how many times any particular block or branch of code has been executed
  • Generates the control flow graphs of each function per source file
  • Optionally hides coverage information of external libraries to better focus on the product under test
  • Allows user to narrow the scope of coverage information by specifying specific functions or files
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK