Domestic Journal Peer-reviewed
情報検索を用いたBug Localization手法にモジュール粒度の違いが与える影響
The Impact of Module Granularity in IR-based Bug Localization Techniques
情報処理学会論文誌, vol. 65, no. 4, pp. 792–807, April 2024.
情報処理学会論文誌ジャーナル特選論文 IPSJ Specially Selected Paper
ここに掲載した著作物の利用に関する注意 本著作物の著作権は情報処理学会に帰属します。本著作物は著作権者である情報処理学会の許可のもとに掲載するものです。ご利用に当たっては「著作権法」ならびに「情報処理学会倫理綱領」に従うことをお願いいたします。
Notice for the use of this material: The copyright of this material is retained by the Information Processing Society of Japan (IPSJ). This material is published on this web site with the agreement of the author(s) and the IPSJ. Please be complied with Copyright Law of Japan and the Code of Ethics of the IPSJ if any users wish to reproduce, make derivative work, distribute or make available to the public any part or whole thereof.
Abstract
Bug Localization とはバグの原因箇所を特定する,ソフトウェア保守において重要な作業である.メソッドレベルで自動でBug Localizationを行う手法は開発者にとって有用なものの,手法が少なく,評価可能なフレームワークも存在しないため知見が少ない.本論文では,既存の情報検索を用いた Bug Localization手法をメソッドレベルで大規模に比較可能なフレームワークFinerBench4BLを提案し,推薦モジュール粒度の違いが手法の精度や推薦時に考慮する追加情報,実行時間へ与える影響の調査を行うデータセットはリポジトリ変換によりBench4BLのプロジェクトをメソッドレベルに再構築したメソッドリポジトリから作成した.またメソッドリポジトリに基づき,既存のファイルレベルの手法を小さな修正でメソッドレベルに変更し,データセットと組み合わせて評価フレームワークとした.FinerBench4BLを利用した調査の結果,メソッドレベルの手法は精度が低下する一方で,デバッグに必要な労力が削減することが明らかになった.またメソッドレベルへの変更に伴い,既存手法が考慮する追加情報の影響が小さくなることから,多くの種類の追加情報の考慮が精度向上につながることがわかった.
Abstract (English)
Bug localization is an important aspect of software maintenance because it can locate modules that need to be changed to fix a specific bug. Although method-level bug localization is helpful for developers, there are only a few techniques, and there exists no large-scale framework for their evaluation. In this paper, we present FinerBench4BL, an evaluation framework for method-level information retrieval-based bug localization techniques, and investigate the impact of module granularities on the techniques' accuracy, additional information, and execution time. The dataset was constructed from a method repository where projects in Bench4BL were converted to the method level by repository transformation. In addition, based on the method repositories, we tailor the existing file-level bug localization technique implementations at the method level. By combining the generated dataset and implementations, we build a framework for method-level evaluation. We found that the change to method level reduces the influence of additional information considered by existing techniques and that considering much additional information leads to improved accuracy.
BibTeX
@article{tsumita-ipsjj202404,
author = {積田 静夏 and 天嵜 聡介 and 林 晋平},
title = {情報検索を用いたBug Localization手法にモジュール粒度の違いが与える影響},
journal = {情報処理学会論文誌},
volume = 65,
number = 4,
pages = {792--807},
doi = {10.20729/00233609},
year = 2024,
}
- Type
- Domestic Journal
- Published
- April 2024
- Volume / Pages
- vol. 65, no. 4, pp. 792–807
- DOI
- 10.20729/00233609