Work

ディジタル信号処理システムの性能評価と設計効率に関する研究

Year: 2012
Type: dissertation
Study design: Systematic Review
Abstract: Fault-prone module prediction is one of the most traditional and important areas in software engineering. Once fault-prone modules are predicted at an early stage of development, developers can track the predicted modules, which is useful in preventing the injection of additional faults. One of recent findings in fault-prone module prediction studies is the usefulness of historical metrics, which can be collected from software repositories for fault-prone module prediction models. Many studies measure software development histories, such as changes on source code, events of development or maintenance processes, developer-related histories, and so on. In many papers, it is reported that historical metrics are more effective than traditional code complexity metrics. To find novel effective historical metrics, many researchers have conducted software repository mining. First, we conduct a systematic review of recent fault-prone module prediction studies to clarify studied metrics and research trends. We investigate and report on two journals as well as five conferences from 2000 to 2010. Our findings are as follows. Historically, many metrics already exist to analyze version history information related to code, process, organization, and geography. New historical metrics tend to be proposed first in industry and then used in studies with open-source software projects. Compared to the accessibility of rich data in industry, it is not easy to collect rich historical information in open-source software projects. In addition, though historical metrics are considered effective in building prediction models, there are only a few studies conducting fine-grained prediction. Based on a survey of fault-prone module studies, we address the following two problems: (1) easily applicable prediction models and (2) fine-grained prediction with historical metrics. When applying fault-prone module prediction, the biggest problem is the lack of usable tools. In practical use, tools are needed because of the laboriousness of collecting metrics. For complexity metrics, source code analysis is needed, and tools should be implemented as program-language-specific. For most historical metrics, we need to analyze data from some software repositories, and repository-specific tools should be implemented. To tackle this problem, we propose text-mining-based prediction models for easily applicable prediction models. We treat source code as just text, and the number of tokens in source code is measured to build prediction models. Since we only measure the number of tokens, preparing program-language-specific and repository-specific tools is not necessary. To show the effectiveness of our prediction models, we compared prediction models using well-known metrics with our token metrics. Based on empirical study with open-source software projects, we show the higher prediction results with our prediction models than prediction models with well-known metrics. This result implies that: our token metrics are useful in building practical prediction models, and measuring sophisticated metrics is not always necessary for predicting fault-prone modules. Fine-grained prediction with historical metrics is a desirable future direction in fault-prone module prediction. Predicting fault-prone modules on a fine-grained level is considered more cost-effective than coarse-gained prediction. This is because coarse-grained modules, whose sizes are bigger, require more cost to find and fix faults than fine-grained modules. Using complexity metrics, which requires only the source code of the present version, there are some studies predicting fault-prone methods, which are finer than files. However, there is no study using well-known historical metrics to predict fault-prone methods. This is because there has been no way to obtain entire version histories of methods as rich as files. To obtain method-level version histories, we develop a fine-grained version control system, Historage. Using this system, we conduct fine-grained prediction using code-related, process-related, and organizational historical metrics. Method-level prediction models are compared with file-level prediction models with effort-based evaluation, which takes the cost of quality assurance activities into evaluation. An empirical study with open-source software projects implies that fine-grained prediction is cost-effective.
Language: English
Open Access status: green
OpenAlex ID: W7145664802
Cites: 116
Cited by:
Related to: 10