Title :
Can we predict types of code changes? An empirical analysis
Author :
Giger, Emanuel ; Pinzger, Martin ; Gall, Harald C.
Abstract :
There exist many approaches that help in pointing developers to the change-prone parts of a software system. Although beneficial, they mostly fall short in providing details of these changes. Fine-grained source code changes (SCC) capture such detailed code changes and their semantics on the statement level. These SCC can be condition changes, interface modifications, inserts or deletions of methods and attributes, or other kinds of statement changes. In this paper, we explore prediction models for whether a source file will be affected by a certain type of SCC. These predictions are computed on the static source code dependency graph and use social network centrality measures and object-oriented metrics. For that, we use change data of the Eclipse platform and the Azureus 3 project. The results show that Neural Network models can predict categories of SCC types. Furthermore, our models can output a list of the potentially change-prone files ranked according to their change-proneness, overall and per change type category.
Keywords :
learning (artificial intelligence); neural nets; object-oriented methods; software maintenance; software metrics; software quality; Azureus 3 project; Eclipse platform; SCC; change-prone file; change-proneness; condition change; fine-grained source code change; interface modification; machine learning; neural network model; object-oriented metrics; prediction model; semantics; social network centrality measures; software maintenance; software quality; software system; source file; statement change; statement level; static source code dependency graph; Artificial neural networks; Computational modeling; Correlation; Measurement; Object oriented modeling; Predictive models; Semantics; Machine Learning; Software maintenance; Software quality;
Conference_Titel :
Mining Software Repositories (MSR), 2012 9th IEEE Working Conference on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1760-3
DOI :
10.1109/MSR.2012.6224284