{"title":"一种基于文本过滤的Bug注入与修正变更分类方法","authors":"A. Yamada, O. Mizuno","doi":"10.1109/IIAI-AAI.2014.141","DOIUrl":null,"url":null,"abstract":"Approaches to detect fault-prone modules have been studied for a long time. As one of these approaches, we proposed a technique using a text filtering technique. We assume that bugs relate to words and context that are contained in a software module. Our technique treats a module as text information. Based on the dictionary which was learned by classifying modules which induce bugs, the bug inducing probability over a target module is calculated, and it judges whether the given module is a fault-prone module. The predictive granularity of this technique is a module. In this study, we aimed at prediction with the finer granularity of the portion which induces a bug. Specifically, we tried to predict bug inducing changes by using source code differences of bug inducing changes and previous changes and a text filtering technique. Similarly, we tried to bug fixing predict by using source code differences of bug fixing changes and previous changes and a text filtering technique. To show the effectiveness of our approach, we conducted two experiments and compared our approach with fault-prone filtering by applying it to two open source projects, and obtained higher accuracy.","PeriodicalId":432222,"journal":{"name":"2014 IIAI 3rd International Conference on Advanced Applied Informatics","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Text Filtering Based Approach to Classify Bug Injected and Fixed Changes\",\"authors\":\"A. Yamada, O. Mizuno\",\"doi\":\"10.1109/IIAI-AAI.2014.141\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Approaches to detect fault-prone modules have been studied for a long time. As one of these approaches, we proposed a technique using a text filtering technique. We assume that bugs relate to words and context that are contained in a software module. Our technique treats a module as text information. Based on the dictionary which was learned by classifying modules which induce bugs, the bug inducing probability over a target module is calculated, and it judges whether the given module is a fault-prone module. The predictive granularity of this technique is a module. In this study, we aimed at prediction with the finer granularity of the portion which induces a bug. Specifically, we tried to predict bug inducing changes by using source code differences of bug inducing changes and previous changes and a text filtering technique. Similarly, we tried to bug fixing predict by using source code differences of bug fixing changes and previous changes and a text filtering technique. To show the effectiveness of our approach, we conducted two experiments and compared our approach with fault-prone filtering by applying it to two open source projects, and obtained higher accuracy.\",\"PeriodicalId\":432222,\"journal\":{\"name\":\"2014 IIAI 3rd International Conference on Advanced Applied Informatics\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2014 IIAI 3rd International Conference on Advanced Applied Informatics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IIAI-AAI.2014.141\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 IIAI 3rd International Conference on Advanced Applied Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IIAI-AAI.2014.141","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Text Filtering Based Approach to Classify Bug Injected and Fixed Changes
Approaches to detect fault-prone modules have been studied for a long time. As one of these approaches, we proposed a technique using a text filtering technique. We assume that bugs relate to words and context that are contained in a software module. Our technique treats a module as text information. Based on the dictionary which was learned by classifying modules which induce bugs, the bug inducing probability over a target module is calculated, and it judges whether the given module is a fault-prone module. The predictive granularity of this technique is a module. In this study, we aimed at prediction with the finer granularity of the portion which induces a bug. Specifically, we tried to predict bug inducing changes by using source code differences of bug inducing changes and previous changes and a text filtering technique. Similarly, we tried to bug fixing predict by using source code differences of bug fixing changes and previous changes and a text filtering technique. To show the effectiveness of our approach, we conducted two experiments and compared our approach with fault-prone filtering by applying it to two open source projects, and obtained higher accuracy.