Software-Coverage Test Tool Tracks Execution Paths

Dec. 18, 2000
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...

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.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!