Technical Meeting
探索手法を用いたリファクタリング情報の抽出
Extracting Occurrences of Refactoring Using a Search Algorithm
情報処理学会研究報告, vol. 2007, no. 33, pp. 135–142, 化学会館,東京, March 2007.
平成18年度情報処理学会ソフトウェア工学研究会学生研究賞 IPSJ/SIGSE Student Research Award
Abstract
開発履歴中のリファクタリング操作を識別することはソフトウェア理解に有用である.本研究では,履歴中の二つのリビジョン間で行われたリファクタリング操作列を特定する手法を提案する.提案手法では,プログラムを状態,リファクタリング操作を状態遷移とみなし,旧リビジョンから新リビジョンへ至るリファクタリング操作列を探索する.探索の際には,現在の状態と目標状態とのプログラム間の差分を求め,リファクタリング操作の選択と,目標状態までの距離の見積もりに用いる.提案手法では,同時に行われた関連する複数のリファクタリングも抽出することができる.リファクタリング操作列の探索を行うツールを実装し,適用実験を行うことで,提案手法の有用性を確認した.
Abstract (English)
Extracting refactorings from the development history is useful for software understanding. This paper proposes a technique to identify refactorings performed between two revisions using a search algorithm. In this technique, we consider a program as a state and refactoring as a transition, and then search for refactorings that reach from the initial state to the final state. In searching, we calculate the difference between the current state and the final state for choosing the next refactoring to apply and also estimate the heuristic distance to the final state. By using this tecnique we can detect related refactorings performed at the same time. Finally, we implemented a tool and evaluated its effectiveness.
BibTeX
@article{tsuda-sigse200703,
author = {津田 泰幸 and 林 晋平 and 佐伯 元司},
title = {探索手法を用いたリファクタリング情報の抽出},
journal = {情報処理学会研究報告},
volume = 2007,
number = 33,
pages = {135--142},
year = 2007,
}
- Type
- Technical Meeting
- Location
- 化学会館,東京
- Presented
- March 23, 2007
- Volume / Pages
- vol. 2007, no. 33, pp. 135–142