Spectrum-based Fault Localization in Embedded Software
نویسنده
چکیده
Spectrum-based fault localization (SFL) shortens the test-diagnose-repair cycle by reducing the debugging effort. As a light-weight automated diagnosis technique it can easily be integrated with existing testing schemes. Since SFL is based on discovering statistical coincidences between system failures and the activity of the different parts of a system, its diagnostic accuracy is inherently limited. Using a common benchmark consisting of the Siemens set and the space program, we investigate this diagnostic accuracy as a function of several parameters (such as quality and quantity of the program spectra collected during the execution of the system), some of which directly relate to test design. Our results indicate that the superior performance the Ochiai similarity coefficient, taken from the molecular biology domain and introduced by us in the context of fault localization, is largely independent of test design. Furthermore, near-maximal diagnostic accuracy (exonerating over 80% of the blocks of code on average) is already obtained for low-quality error observations and limited numbers of test cases. The influence of the number of test cases is of primary importance for continuous (embedded) processing applications, where only limited observation horizons can be maintained.
منابع مشابه
Software Fault Diagnosis
This tutorial paper gives an overview of automated diagnosis applied to software faults. The emphasis is on a particular technique called spectrum-based fault localization, which is well-suited for diagnosing software systems, and which can easily be integrated with existing testing schemes. We discuss applications of the technique, including the specific application domain of embedded software...
متن کاملAutomatic Fault Diagnosis in Embedded Software∗
Automated diagnosis of errors detected during software testing can improve the efficiency of the debugging process, and can thus help to make software more reliable. In this paper we discuss the application of a specific automated debugging technique, namely software fault localization through the analysis of program spectra. An important aspect of this technique is the similarity coefficient u...
متن کاملA practical evaluation of spectrum-based fault localization
0164-1212/$ see front matter 2009 Elsevier Inc. A doi:10.1016/j.jss.2009.06.035 q This work has been carried out as part of the responsibility of the Embedded Systems Institute. This by the Netherlands Ministry of Economic Affairs und * Corresponding author. E-mail addresses: [email protected] (R. Ab (P. Zoeteweij), [email protected] (R. Golsteijn) (A.J.C. van Gemund). Spectrum-based fau...
متن کاملA New Spectrum-based Fault Localization Method by Using Clustering Algorithm
Locating the errors or faults in the software debugging process is very expensive and time-consuming. Therefore, automated debugging has become popular due to its capability to reduce cost and increase the efficiency. Spectrum-based method is one of the most important automated fault localization methods in the Software debugging techniques. Most of the existing spectrum-based fault localizatio...
متن کاملIncremental Spectrum Cloning Algorithm for optimization of spectrum-based fault localization
Spectrum-based Fault Localization has emerged as a cost effective method to locate faulty code in software during the debugging process. Recent studies have shown that spectra (execution profiles) cloning for fail test cases can effectively improve the performance of certain spectrum-based Fault Localization ranking metrics. However, the amount of cloning required to optimize the performance va...
متن کامل