Most software-coverage tools check whether a particular statement has been executed. McCabe Test from McCabe & Associates takes coverage testing a step further by tracking execution paths as well. This distinction is important because 100% code coverage does not mean 100% path coverage.
Conventional code-coverage tools track whether a statement has been executed during a particular run. They also often indicate how many times a particular statement has been executed, providing one approach to performance analysis. Yet many conditional statements and multibranch statements are complex. And, it’s possible that a particular piece of code will be executed using more than one path.
This tool records which paths are executed. Developers can know the percentage of all paths that have been tested. It also details which paths have been tested, and it performs a syntactic analysis of an application to determine paths. It instruments code for obtaining runtime results, so the usual testing procedures can be applied to the application. The tool can merge test results to determine path coverage for all tests.
McCabe Test runs on a variety of platforms, including Windows 9x, Windows NT, Solaris, HPUX, AIX, and IRIX. It supports Ada, C, C++, COBOL, FORTRAN, Java, and Visual Basic applications. Contact the company for pricing .