| 講演抄録/キーワード |
| 講演名 |
2010-12-15 10:00
プログラム依存グラフを用いたリファクタリング候補の特定と可視化 ○兼光智子・肥後芳樹・楠本真二(阪大) SS2010-49 |
| 抄録 |
(和) |
リファクタリングは,保守の効率化において重要であるが,手動によるリファクタリングは誤りが混入しやすいため,その作業を自動化する手法及びツールが必要である.本稿では,メソッド抽出リファクタリングの候補を支援する提示する手法を提案する.メソッド抽出リファクタリングとは,メソッドの一部を別のメソッドとして切り出すことである.これまでの研究により,メソッド抽出リファクタリングは他のリファクタリングの前に頻繁に行われることが示されており,メソッド抽出リファクタリングを支援することは重要である.既存研究では行数や複雑さを基にメソッド抽出リファクタリングの候補を提示するが,本来メソッドは機能に基づいて分割することが望ましい.本稿では,文の間のデータの繋がりに着目する.データの繋がりの強い部分が一つの機能を表すと考え,メソッド抽出リファクタリングの候補を求め,自動的に提示する手法を提案する.提案手法では,リファクタリング可能なところを特定するだけでなく,リファクタリングすべきところを提示する. |
| (英) |
Refactoring is important for efficient software maintenance.However, tools supports are highly required for performing refactoring because manual operations in refactoring are troublesome and error prone.This paper proposes technique that indicates candidates of "Extract Method" refactoring automatically. Extract Method refactoring is to create a new method from a code fragment in an existing member.It is shown that the Extract Method refactoring is performed prior to other refactoring, and it is important to support Extract Method refactoring.The existing study proposes candidates of Extract Method refactoring based on linage and complexity.However it is originally desirable to divide methods based on their functionalities. This paper use the strong connection of data between sentences. We deem that strongly-connected data expresses a single function.This paper proposes technique that indicates candidates of Extract Method refactoring based on strongly-connected data. |
| キーワード |
(和) |
保守 / リファクタリング / プログラム依存グラフ / / / / / |
| (英) |
Maintenance / Refactoring / Program Dependence Graph / / / / / |
| 文献情報 |
信学技報, vol. 110, no. 336, SS2010-49, pp. 61-66, 2010年12月. |
| 資料番号 |
SS2010-49 |
| 発行日 |
2010-12-07 (SS) |
| ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
| PDFダウンロード |
SS2010-49 |