講演抄録/キーワード |
講演名 |
2013-10-24 14:30
再利用実績に基づいたコード片検索手法の提案 ○石原知也・堀田圭佑・肥後芳樹・楠本真二(阪大) SS2013-42 |
抄録 |
(和) |
ソースコードの再利用を支援する手法の1 つとしてコード片検索手法が広く知られている.コード片検索
手法とは,ユーザが求める機能を表すクエリを入力として与えると,クエリに関連する機能を有するコード片を提示
する手法である.しかし,既存のコード片検索手法は,プログラミング言語の構造を提示するコード片の単位として
いる.そのため,手法が提示するコード片の規模や抽象度がユーザの求めるものとは異なる場合がある.特に,ユー
ザの不要な部分を含むコード片を提示することが多い.本研究では,再利用実績を考慮したコード片検索手法を提案
する.過去に再利用されているコード片のみを提示することで,ユーザの必要なコード片のみが提示される.本研究
では,6 名の被験者の協力のもと,既存手法との比較を行った.実験の結果,提案手法を使うことで既存手法に比べ
て効率的にソフトウェアの開発を行えることが確認された. |
(英) |
Code fragment search techniques are well-known as the one of the techniques helping code reuse. If users
input queries that represent functionalities that they want, the techniques suggest code fragments that have the
functionalities. However, conventional techniques suggest code based on structural unit of programming languages.
Hence, it is possible that sizes and abstraction levels of code fragments suggested by the techniques are different
from those of users' requirements. In particular, they often suggest code fragments including extra functions that
users do not need. In this research, we propose a new code fragment search technique based on past reuse. This
technique suggests only code fragments including functionalities that users actually want because it suggests only
code fragments that have been reused. In this research, we conducted an experiment with 6 participants in order to
compare the proposed technique with conventional techniques. As a result, we confirmed that users could develop
software efficiently by using the proposed technique. |
キーワード |
(和) |
コードクローン / コード片検索 / ソースコード再利用 / / / / / |
(英) |
Code Search / Code Clone / Source Code Reuse / / / / / |
文献情報 |
信学技報, vol. 113, no. 269, SS2013-42, pp. 61-66, 2013年10月. |
資料番号 |
SS2013-42 |
発行日 |
2013-10-17 (SS) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
SS2013-42 |