International Conference Poster

Extracting Prehistories of Software Refactorings from Version Archives

Shinpei Hayashi, Motoshi Saeki

In Large-Scale Knowledge Resources. Construction and Application -- Proceedings of the 3rd International Conference on Large-Scale Knowledge Resources (LKR 2008), Lecture Notes in Artificial Intelligence, vol. 4938, pp. 82–89, Tokyo Institute of Technology (Ookayama Campus), Tokyo, Japan, March 2008.

Abstract

This paper proposes an automated technique to extract prehistories of software refactorings from existing software version archives, which in turn a technique to discover knowledge for finding refactoring opportunities. We focus on two types of knowledge to extract: characteristic modification histories, and fluctuations of the values of complexity measures. First, we extract modified fragments of code by calculating the difference of the Abstract Syntax Trees in the programs picked up from an existing software repository. We also extract past cases of refactorings, and then we create traces of program elements by associating modified fragments with cases of refactorings for finding the structures that frequently occur. Extracted traces help us identify how and where to refactor programs, and it leads to improve the program design.

BibTeX

@inproceedings{hayashi-lkr2008,
    author = {Shinpei Hayashi and Motoshi Saeki},
    title = {Extracting Prehistories of Software Refactorings from Version Archives},
    booktitle = {Large-Scale Knowledge Resources. Construction and Application -- Proceedings of the 3rd International Conference on Large-Scale Knowledge Resources},
    pages = {82--89},
    doi = {10.1007/978-3-540-78159-2_9},
    year = 2008,
}
Type
International Conference
Conference
LKR 2008
Location
Tokyo Institute of Technology (Ookayama Campus), Tokyo, Japan
Presented
March 4, 2008
Volume / Pages
vol. 4938, pp. 82–89
DOI
10.1007/978-3-540-78159-2_9