Item type |
SIG Technical Reports(1) |
公開日 |
2020-02-24 |
タイトル |
|
|
タイトル |
リファクタリング支援を目的としたコードクローンの優先順位付けと可視化 |
タイトル |
|
|
言語 |
en |
|
タイトル |
Ranking and Visualizing Code Clones for Refactoring |
言語 |
|
|
言語 |
jpn |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
リファクタリング支援 |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_18gh |
|
資源タイプ |
technical report |
著者所属 |
|
|
|
早稲田大学 |
著者所属 |
|
|
|
早稲田大学 |
著者所属 |
|
|
|
早稲田大学 |
著者所属 |
|
|
|
早稲田大学 |
著者所属 |
|
|
|
小松製作所 |
著者所属 |
|
|
|
小松製作所 |
著者所属(英) |
|
|
|
en |
|
|
Waseda University |
著者所属(英) |
|
|
|
en |
|
|
Waseda University |
著者所属(英) |
|
|
|
en |
|
|
Waseda University |
著者所属(英) |
|
|
|
en |
|
|
Waseda University |
著者所属(英) |
|
|
|
en |
|
|
Komatsu Ltd. |
著者所属(英) |
|
|
|
en |
|
|
Komatsu Ltd. |
著者名 |
石塚, 凌
津田, 直彦
鷲崎, 弘宜
深澤, 良彰
杉村, 俊輔
保田, 裕一朗
|
著者名(英) |
Ryo, Ishizuka
Naohiko, Tsuda
Hironori, Washizaki
Yoshiaki, Fukazawa
Shunsuke, Sugimura
Yuichiro, Yasuda
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
コードクローンはコピー&ペースト等によって生じる重複したコード片を指す.コードクローンはソフトウェアの修正漏れや規模の増大を引き起こすため,リファクタリングによってクローンを減らす事が重要である.しかし,既存のクローン検出ツールは大量にクローンを出力してしまうため,修正するべきクローンを開発者が特定するのが困難である.本研究では,修正するべきクローンの特定を支援するため,クローンの優先順位付け・可視化する手法を提案する.具体的には,まず「親クラスの抽出」や「メソッドの引き上げ」等の各リファクタリングパターンに見合うようにクローンをファイル単位・クラス単位等に集約する.そして,リファクタリングの効果やし易さを加味した複数のソフトウェアメトリクスを用いて,クローンやクローンを含むファイルの並び替えを行う.また,我々は提案手法を可視化するツールを作成し,提案手法によってどのようなコードクローンが得られるか調査した. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Code clones are duplicated code fragments in software systems. Refactoring code clones is important because code clones cause software omission and a large method. However, existing code clone detection tools report a lot of code clones. So, it is hard for developers to identify code clones that should be modified. In this paper, we introduce a method to rank and visualize code clones to identify them that should be modified. Specifically, we integrate code clones per clone, per file, and per class to match refactoring patterns such as “Extract Super Class” and “Pull Up Method”. Next, we rank code clones and source files using software metrics taking into account the effect of refactoring. Then, we implement a tool that realizes our proposed method. Finally, we apply our method to one industrial software to investigate what type of code clones are extracted. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AN10112981 |
書誌情報 |
研究報告ソフトウェア工学(SE)
巻 2020-SE-204,
号 5,
p. 1-8,
発行日 2020-02-24
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
2188-8825 |
Notice |
|
|
|
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |