論文

査読有り
2015年2月15日

トランザクション推定に基づくリポジトリをまたいだロジカルカップリングの検出

情報処理学会論文誌
  • 早瀬 康裕
  • ,
  • 中村 高士
  • ,
  • 天笠 俊之
  • ,
  • 北川 博之

56
2
開始ページ
657
終了ページ
668
記述言語
日本語
掲載種別
出版者・発行元
一般社団法人情報処理学会

ソフトウェアモジュール間の関係を表す指標ロジカルカップリングは,あるモジュールが変更されたときに別のモジュールもまた一緒に変更されやすいという関係を表しており,プログラム理解やソフトウェアの変更支援などに利用されている.既存のロジカルカップリング検出手法は,バージョン管理システムの1つのリポジトリの中で一緒に変更された関係に基いていたため,単一のソフトウェアプロダクトの中でしかロジカルカップリングを見つけることができなかった.しかし今日では,ライブラリやフレームワークといった他のプロダクトを利用してソフトウェア開発を行うのが一般的であるため,変更の影響は複数のプロダクトに及ぶと考えられる.そこで本論文では,異なるリポジトリに記録されたモジュール間に存在するロジカルカップリングを検出する手法を提案する.具体的には,複数のリポジトリで一緒に行われたコミットをグループ化することでリポジトリをまたいだトランザクションを推定し,このトランザクション集合に対する相関ルールを求めることでロジカルカップリングを検出する.評価実験により,リポジトリをまたいだロジカルカップリングが存在することと,提案手法によって一緒に変更すべきモジュールを推薦できることが確認された.Logical Coupling, which represents how software modules were changed together during development, is utilized in program comprehension and development support. Existing techniques target detection of logical coupling in a single product, since these techniques use commit transactions recorded in one repository of a version control system. However, changes of modules propagate across product boundaries, because it is common to use external products (e.g., libraries or frameworks) for developing a software product in modern software development. This paper proposes a method to detect logical couplings between software modules stored in different repositories Inter-repository commit transactions, i.e., groups of commits which were performed together, are estimated, then association rules are mined as logical couplings. In an evaluation experiment, we confirmed that inter-repository logical couplings have a potential to correctly recommend modules to be changed together.

リンク情報
CiNii Articles
http://ci.nii.ac.jp/naid/110009877380
CiNii Books
http://ci.nii.ac.jp/ncid/AN00116647
ID情報
  • ISSN : 1882-7764
  • CiNii Articles ID : 110009877380
  • CiNii Books ID : AN00116647

エクスポート
BibTeX RIS