Updated NIST software uses combination testing to catch bugs fast and easy
Researchers at the National Institute of Standards and Technology (NIST) have released an updated version of a computer system testing tool that can cut costs by more efficiently finding flaws. A tutorial on using the tool accompanies the new release. Catching software "bugs" before a program is released enhances computer security because hackers often exploit these flaws to introduce malware, including viruses, to disrupt or take control of computer systems. But it's difficult. A widely cited 2002 study prepared for NIST* reported that even though 50 percent of software development budgets go to testing, flaws in software still cost the U.S. economy $59.5 billion annually.
Exhaustive checking of all possible combinations of input actions that could cause software failure is not practical, explained NIST's Raghu Kacker, because of the huge number of possibilities, but it's also not necessary. Based on studies of software crashes in applications, including medical devices and Web browsers, NIST's Rick Kuhn and other researchers determined that between 70 and 95 percent of software failures are triggered by only two variables interacting and practically 100 percent of software failures are triggered by no more than six. "Testing every combination up to six variables can be as good as exhaustive testing," said Kacker.
Working with researcher Jeff Yu Lei and his students from the University of Texas at Arlington, NIST designed Advanced Combinatorial Testing System (ACTS), a freely distributed software tool to generate plans for efficiently testing combinations of two to six interacting variables. The method goes beyond the commonly used "pairwise" approach to software testing, which tests combinations of two variables, so it can detect more obscure flaws. (See "'Combinatorial' Approach Squashes Software Bugs Faster, Cheaper" in NIST Tech Beat, Dec. 12, 2007, at www.nist.gov/itl/math/bugs_121207.cfm.)
Kuhn describes the process "as packing as many combinations into a set of tests as efficiently as we know how." For example, testing all possible interactions for a product with 34 on and off switches would require 17 billion tests. Using ACTS, all three-way interactions can be evaluated using only 33 tests and all six-way combinations with just 522 tests, instead of 17 billion.
The first version of ACTS was released in 2008. Since then, it has been distributed at no cost to 465 organizations and individuals in industry, academia and government. "About half of our users are in IT, but other heavy users are in the financial, defense and telecommunications sectors," said Kuhn. In August, NIST and Lockheed Martin initiated a Cooperative Research and Development Agreement to study the application of ACTS in the company's large and complex software applications. The two groups will jointly publish the results.
NIST released the latest update of ACTS in October. The new version includes an improved user interface and a better method of specifying relationships between parameters for testing. This can eliminate the problem, for example, of spending time on tests for invalid combinations, such as using Internet Explorer on a Linux system. Information for requesting ACTS is available at http://csrc.nist.gov/groups/SNS/acts/index.html.
Just released is a new tutorial, Practical Combinatorial Testing, that introduces key concepts and methods along with explaining the use of software tools for generating combinatorial tests. Cost and other practical considerations are addressed. The tutorial is designed to be accessible to undergraduate students in computer science or engineering and includes extensive references. NIST Special Publication 800-142 (link to http://csrc.nist.gov/groups/SNS/acts/documents/SP800-142-101006.pdf) can be downloaded at crsc.nist.gov/acts.
- NIST releases update to smart grid frameworkWed, 26 Oct 2011, 18:35:57 EDT
- NIST defining the expanding world of cloud computingThu, 21 May 2009, 11:29:42 EDT
- New study: Tools that assess bias in standardized tests are flawedFri, 30 Jul 2010, 1:57:28 EDT
- NIST engineers discover fundamental flaw in transistor theoryThu, 21 May 2009, 10:37:14 EDT
- NIST develops powerful method of suppressing errors in many types of quantum computersWed, 22 Apr 2009, 13:45:11 EDT
- NIST Software Uses Combination Testing to Catch Bugs Fastfrom Newswise - ScinewsThu, 11 Nov 2010, 16:30:45 EST
- Updated NIST software uses combination testing to catch bugs fast and easyfrom PhysorgWed, 10 Nov 2010, 14:31:17 EST
- Updated NIST software uses combination testing to catch bugs fast and easyfrom Science BlogWed, 10 Nov 2010, 11:20:25 EST
Latest Science NewsletterGet the latest and most popular science news articles of the week in your Inbox! It's free!
Learn more about
Check out our next project, Biology.Net
From other science news sites
Popular science news articles
- Mars had oxygen-rich atmosphere 4,000 million years ago
- The contribution of particulate matter to forest decline
- Voices may not trigger brain's reward centers in children with autism, Stanford/Packard study shows
- Scientists find new source of versatility so 'floppy' proteins can get things done
- An environmentally friendly battery made from wood
- Even with defects, graphene is strongest material in the world
- Detection of the cosmic gamma ray horizon: Measures all the light in the universe since the Big Bang
- Genetic engineering alters mosquitoes' sense of smell
- Allosaurus fed more like a falcon than a crocodile, new study finds
- 'Popcorn' particle pathways promise better lithium-ion batteries