Yanbin Liu, Xiaodong Zhu, Zhiming Sun, Yigang Wang, Fei Ye
{"title":"Dual-Slices Algorithm for Software Fault Localization","authors":"Yanbin Liu, Xiaodong Zhu, Zhiming Sun, Yigang Wang, Fei Ye","doi":"10.1109/CISE.2009.5366664","DOIUrl":null,"url":null,"abstract":"After software fault is detected by runtime monitor, fault localization is always very difficult. A new method to fault localization based on dual-slices algorithm is proposed. The algorithm reduces software fault area by slicing faulty trace into segments firstly and then slicing the trace segments based on trace slice. It mainly includes two steps: Firstly, the faulty run trace is divided into segments by analyzing the differences between correct run and faulty run, and only the segments that inducing the differences between dual-traces will be regarded as suspicious fault-area; Secondly, the suspicious fault-area will be further sliced by trace slice to reduce the fault-area, and the more accuracy fault-area will be gained finally. This method could overcome some drawbacks of manual debugging, and increase the efficiency of fault localization. Keywords-–fault localization; dual-slices algorithm; runtime monitoring; edit distance; trace slice.","PeriodicalId":135441,"journal":{"name":"2009 International Conference on Computational Intelligence and Software Engineering","volume":"55 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-12-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Conference on Computational Intelligence and Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CISE.2009.5366664","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
After software fault is detected by runtime monitor, fault localization is always very difficult. A new method to fault localization based on dual-slices algorithm is proposed. The algorithm reduces software fault area by slicing faulty trace into segments firstly and then slicing the trace segments based on trace slice. It mainly includes two steps: Firstly, the faulty run trace is divided into segments by analyzing the differences between correct run and faulty run, and only the segments that inducing the differences between dual-traces will be regarded as suspicious fault-area; Secondly, the suspicious fault-area will be further sliced by trace slice to reduce the fault-area, and the more accuracy fault-area will be gained finally. This method could overcome some drawbacks of manual debugging, and increase the efficiency of fault localization. Keywords-–fault localization; dual-slices algorithm; runtime monitoring; edit distance; trace slice.