講演抄録/キーワード |
講演名 |
2017-10-20 14:50
バグ修正コミットのソースコード変更点の特徴に関する一考察 ○大原 衛(都立産技研センター) R2017-46 |
抄録 |
(和) |
現代のソフトウェア開発プロジェクトでは,不具合の発見・修正に関する工数がプロジェクト全体の大きな部分を占めている.また,経済的観点からだけでなく,
%例えば自動運転車の実用化やIoT社会の実現に向けて,ソフトウェアの信頼性向上が強く求められている.フォールトの予測や推定に機械学習を用いる研究は以前から行われてきたが,そのほとんどは,ソフトウェアメトリクスを入力として用いており,ソースコードそのものを用いるものは少ない.ソースコードにはフォールトに関する情報が豊富に含まれていると思われるが,それが十分に利用されているとは言えない.本研究は,フォールトの予測や推定にソースコードに含まれる情報を活用することを目的とする.本稿では,そのための準備として行ったフォールトの特徴に関する検討について報告する.OSSプロジェクトが利用するソースコードリポジトリと課題追跡システムから既知のフォールトを特定し,その中の各命令語の出現頻度を調べた.その結果,あるOSSプロジェクトのソースコード全体の命令語の出現頻度と,フォールトのそれには差異があることが確認された. |
(英) |
Nowadays in many software development projects, testing and fixing the
defects usually cost a major part of the whole projects. In addition to the economic view points, more reliable software is required in recent applications, such as self-driving cars. For these purposes, fault prediction and/or localization techniques using machine learning have been studied in decades. Most of the existing techniques use some software metrics for input of machine learning but not use software source codes directly. In this study, we are trying to utilize the semantic information of source codes in fault prediction/localization. In this article, we report an experiment in which source codes of open source software (OSS) are examined. The source codes are translated into an intermediate language, LLVM-IR, and the frequency of appearance of instruction codes are measured. We found that there are differences in the appearance frequency in the whole source codes and that in faults. |
キーワード |
(和) |
ソフトウェアフォールト(バグ) / ソースコード / リポジトリ / 課題追跡システム / バグ修正コミット / / / |
(英) |
software fault (bug) / source code / source code repository / issue tracking system / bug-fixing commit / / / |
文献情報 |
信学技報, vol. 117, no. 253, R2017-46, pp. 13-16, 2017年10月. |
資料番号 |
R2017-46 |
発行日 |
2017-10-13 (R) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
R2017-46 |