Fujitsu Laboratories of America, Inc. and Fujitsu Laboratories Ltd. today announced the development of technology enabling high-speed exhaustive verification of Java software using parallel processing. In order to ensure the quality of ICT systems, it is critical that software programs be sufficiently tested. By employing this new technology that leverages the power of cloud computing, on previous technologies enabling exhaustive verification of programs developed by Fujitsu Laboratories, time required for verification can be dramatically shortened, leading to expectations that the technology will result in enhancement of program quality.
Ensuring the quality of ICT systems that are at the heart of businesses today requires thorough testing to verify whether the programs that provide the system's functionality work as expected. Testing the underlying software of a shopping website, for example, involves generating numerous test cases (test case generation) that represent different permutations of user actions and circumstances, such as whether or not a product ID or the correct quantity was entered, and generating data for each permutation (test data generation) to be fed, one at a time, into the software program. Using these data, programmers must check that the program actually operates properly (verification through testing).
Java PathFinder, a verification tool developed by the National Aeronautics and Space Administration (NASA) in the United States, provides functions for automatically executing tests on Java programs using a technique called symbolic execution, without the need to manually enter any test cases or test data. Fujitsu Laboratories has worked to expand these functions, making it possible to process character string data, which accounts for much of the data typically processed by business applications, thus enabling verification of business applications that entail such character string data.
With existing technologies, the processing time involved in verifying programs containing a few tens of thousands of lines of code, even with a restricted input data set, can take several hours. As a result, it has become an important challenge to develop technology that shortens this verification time.
Fujitsu Laboratories has developed technology that performs verification of Java software in parallel. This makes it possible to accelerate the verification process by leveraging the computational power of cloud computing. In an experiment using ten processing nodes, the new software achieved approximately ten times the performance of existing technology.
Key features of the new technology are follows:
1. Parallelization technology that divides the symbolic execution processing and allocates it across multiple processing nodes
With symbolic execution, a search process is performed on a program's tree structure that traces the conditional branches within the program. Fujitsu's new technology divides this tree structure and allocates parts of it to multiple processing nodes, accelerating the testing by processing these branches in parallel.
2. Dynamic load balancing reallocates the processing of overloaded nodes to idle nodes
Depending on the program contents, an imbalance may occur in the traversal loads that are allocated to each node, making it impossible to reduce processing time, even via parallelized execution. The new technology monitors the traversal of each node, and if its processing is not finished within a specified period of time, the monitoring function repartitions the heavy computation at that node and reallocates the partitions to other nodes that are finished and lying idle. This balances out the processing load of each node, thereby preserving the speed-up obtained through parallelized processing.
Increasing the number of processing nodes through methods like cloud computing makes it possible to quickly verify large-scale programs. This is expected to greatly contribute to improving the quality of software programs.
Fujitsu Laboratories is continuing to enhance this technology through internal testing, and aims to commercialize it during fiscal 2011 (April 2011 - March 2012). The company is also considering offering the technology as a cloud-based service.
Explore further: Computer software accurately predicts student test performance