Electronic Design

Software-Coverage Test Tool Tracks Execution Paths

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 and licensing details.

McCabe & Associates Inc., 9861 Broken Land Pkwy., Columbia, MD 21046; (800) 638-6316; www.mccabe.com.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish