BullseyeCoverage
Kind of Tool
Code Coverage Analyzer for C++/C
Organization
Software Description
BullseyeCoverage is a full-featured code coverage analyzer for
C++/C running on Microsoft and Unix operating systems.
BullseyeCoverage quickly finds untested code and measures testing
completeness. BullseyeCoverage increases testing productivity by
showing you the regions of your source code that are not adequately
tested.
Platforms
Windows and Unix
Entry updated January 7, 2003.
Insure++
Kind of Tool
Runtime error detection, memory monitor, coverage analysis
Organization
Software Description
Insure++ is a powerful automatic runtime error detection tool
for C/C++ that improves software quality, accelerates time to
market, and reduces development costs. Insure++ automatically
detects errors in your code, regardless of whether you know they
exist. Insure++ identifies compile-time, runtime and algorithmic
errors, including memory corruption, operations on uninitialized,
NULL, or "wild" pointers, memory leaks, errors that allocate and
free dynamic memory, operations on unrelated pointers, and more.
Insure++ includes a graphical "Malloc Monitor" that helps
developers understand how their programs manipulate memory and a
total coverage analysis tool that provides information about which
pieces of the code have been tested to insure that all of the
program is bug-free, not just the most frequently used parts.
Platforms
SunOS, HP, IBM RS6000, SGI 5.X, Digital UNIX, Lynx, Linux,
SCO
CTC++ :
目前我们使用的就是CTC
这个工具检测的coverage level包括:
Kind of Tool
C and C++ code coverage
Organization
Software Description
CTC++ (Test Coverage Analyzer for C/C++) is an
instrumentation-based tool for measuring test coverage and studying
the dynamic behaviour of C and C++ programs. CTC++ is available in
two packages: 1) as a host-based tool ("CTC++") and 2) as a tool,
which facilitates coverage measuring in target platforms ("CTC++
Host-Target & Kernelcoverage"). GUI integration to
Visual C++.
Platforms
Windows 2000/NT/9x, HPUX, Solaris, Linux.
Entry updated April 23, 2001.
对于很多的实际项目中都已经提供了makefile文件,CTC提供了比较简单的方法来切入到流程中,首先和GCOV一样,CTC需要在源代码中插入统计代码STUB,因此在编译的时候就需要参与。在GNU中,通常用GCC进行编译,GCOV因为也是GNU提供的工具,天然的就合在了一起,只需要打开几个编译option就可以了。但是CTC不行,CTC和GCC没有这么紧密,为了能够更好的提供用户的遍历,CTC在GCC之前做了一个预处理:
ctc -i m gcc -g *.c -o
prime
这样只要在Makefile中取代CC= ctc -i m gcc就可以。
TCMON
Kind of Tool
Ada code coverage
Organization
Software Description
TCMON (Test Coverage Monitor and
Program Bottleneck Finder for Ada'83) is an instrumentation-based
tool for measuring test coverage and studying the dynamic behaviour
of Ada programs. Read more from http://www.testwell.fi/tcmdesc.html
.
Platforms
Windows 2000/NT/9x, VAX/VMS, Solaris. Ask also for source code
licensing (written in 'vanilla' Ada'83). On a given platform
independent of the used Ada compiler.
Entry updated April 23, 2001.
GCT
Kind of Tool
C test coverage (freeware)
Organization
Testing Foundations
913 W. White
Champaign IL 61821
Phone and fax: 217-351-7228
E-mail: marick@testing.com
http://www.testing.com/
Software Description
The Generic Coverage Tool (GCT) is a
freeware coverage tool that measures how thoroughly tests exercise
C programs. It measures branch, multicondition, loop, relational
operator, routine, call, race, and weak mutation coverage for C
programs. See cs.uiuc.edu:
pub/misc/testing/GCT.README
Platforms
Most UNIX
TCAT C/C++
Kind of Tool
Test Coverage Analysis Tool
Organization
Software Description
TCAT C/C++ coverage analysis tool, part of the
TestWorks/Coverage suite, uses a new consolidated C and C++
instrumentor to measure logical path and branch completeness at the
individual function level (C1) and at the system level (S1). This
new compiler-based technology combines the functionality of
previous releases of TCAT and S-TCAT.
TCAT C/C++ measures the number of times logical branches have
been exercised for both True and False conditions usi