T. He, Xinming Wang, Xiaocong Zhou, Wen-jun Li, Zhenyu Zhang, S. Cheung
{"title":"基于程序突变的软件故障定位技术","authors":"T. He, Xinming Wang, Xiaocong Zhou, Wen-jun Li, Zhenyu Zhang, S. Cheung","doi":"10.3724/SP.J.1016.2013.02236","DOIUrl":null,"url":null,"abstract":"Recent fault localization techniques leverage program coverage of both passed test runs and failed test runs to reduce the high cost of debugging.The effectiveness of such techniques can be adversely affected by coincidental correctness,which occurs in a passed test run when a fault has been executed but no failure is detected.Studies have shown that coincidental correctness is a common phenomenon and its occurrence can significantly reduce the effectiveness of fault localization.In this paper,a fault localization technique named Muffler is proposed,which uses mutation analysis to address this problem and improve fault localization.Muffler systematically mutates statements in a faulty program and estimates their likelihood of being faulty based on both coverage and how mutation affects the outcome of passed test cases.Experiments on eight benchmark programs widely used in fault localization are conducted to evaluate our method.Results indicate that Muffler can help programmers locate faults effectively with a reduction of 50.26%in code examination effort.","PeriodicalId":35776,"journal":{"name":"计算机学报","volume":"36 1","pages":"2236-2244"},"PeriodicalIF":0.0000,"publicationDate":"2014-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Software Fault Localization Technique Based on Program Mutations\",\"authors\":\"T. He, Xinming Wang, Xiaocong Zhou, Wen-jun Li, Zhenyu Zhang, S. Cheung\",\"doi\":\"10.3724/SP.J.1016.2013.02236\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Recent fault localization techniques leverage program coverage of both passed test runs and failed test runs to reduce the high cost of debugging.The effectiveness of such techniques can be adversely affected by coincidental correctness,which occurs in a passed test run when a fault has been executed but no failure is detected.Studies have shown that coincidental correctness is a common phenomenon and its occurrence can significantly reduce the effectiveness of fault localization.In this paper,a fault localization technique named Muffler is proposed,which uses mutation analysis to address this problem and improve fault localization.Muffler systematically mutates statements in a faulty program and estimates their likelihood of being faulty based on both coverage and how mutation affects the outcome of passed test cases.Experiments on eight benchmark programs widely used in fault localization are conducted to evaluate our method.Results indicate that Muffler can help programmers locate faults effectively with a reduction of 50.26%in code examination effort.\",\"PeriodicalId\":35776,\"journal\":{\"name\":\"计算机学报\",\"volume\":\"36 1\",\"pages\":\"2236-2244\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-03-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"计算机学报\",\"FirstCategoryId\":\"1093\",\"ListUrlMain\":\"https://doi.org/10.3724/SP.J.1016.2013.02236\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"Computer Science\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"计算机学报","FirstCategoryId":"1093","ListUrlMain":"https://doi.org/10.3724/SP.J.1016.2013.02236","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Computer Science","Score":null,"Total":0}
A Software Fault Localization Technique Based on Program Mutations
Recent fault localization techniques leverage program coverage of both passed test runs and failed test runs to reduce the high cost of debugging.The effectiveness of such techniques can be adversely affected by coincidental correctness,which occurs in a passed test run when a fault has been executed but no failure is detected.Studies have shown that coincidental correctness is a common phenomenon and its occurrence can significantly reduce the effectiveness of fault localization.In this paper,a fault localization technique named Muffler is proposed,which uses mutation analysis to address this problem and improve fault localization.Muffler systematically mutates statements in a faulty program and estimates their likelihood of being faulty based on both coverage and how mutation affects the outcome of passed test cases.Experiments on eight benchmark programs widely used in fault localization are conducted to evaluate our method.Results indicate that Muffler can help programmers locate faults effectively with a reduction of 50.26%in code examination effort.