| 講演抄録/キーワード |
| 講演名 |
2008-10-17 09:20
コードクローンの長さとソフトウェア信頼性の関係の分析 ○左藤裕紀・亀井靖高・上野秀剛・門田暁人・川口真司・名倉正剛・松本健一・飯田 元(奈良先端大) SS2008-34 |
| 抄録 |
(和) |
ソースコード中の重複コード列であるコードクローンによって,ソフトウェアの保守工数が増大するといわれている.一方で,コードクローンがソフトウェアの信頼性に与える影響については明確にはわかっていない.本稿では,コードクローンとソフトウェアの信頼性の関係を分析するために,コードクローンの長さに着目した.開発プロジェクトのリポジトリを分析し,ソースコードファイルに含まれるコードクローンの長さによってファイルを分類し,それぞれのファイル群のバグ密度を計測した.その結果,短いコードクローンを含んでいるファイル群のバグ密度は大きく,長いコードクローンを含んでいるファイル群のバグ密度は小さいことがわかった.さらに各ソースコードの長さにバグ密度が影響を受けると考え,ソースコード行数にしたがってファイルを分類し,それぞれのファイル群においてバグ密度がどのように変化するのかを調べた.その結果,ソースコード行数が比較的長い場合において前述の傾向がより強くなることがわかった. |
| (英) |
A code clone that is duplicated code section in source files makes software maintenance more difficult. However, to our knowledge, no study has analyzed how the code clone influences software reliability. In this paper, we focused on the length of the code clone in order to analyze the relation between software reliability and code clone. We analyzed a repository of a project, classified source code files according to the length of the code clone included in the files, and measured the bug density of each classified file group. As a result, it was clarified that (1) the bug density of the file group that contained a short code clone was high, and (2) the bug density of the file group that contained a long code clone was low. In addition, because we had thought the bug density was influenced from the length of each source code file , we classified the files by measuring lines of source code and examined how much the bug density of each file group changed. We observed that the result (1), (2) became more pronounced when lines of source code was comparatively large. |
| キーワード |
(和) |
コードクローン / コードクローンの長さ / ソフトウェア信頼性 / バグ密度 / / / / |
| (英) |
Code clone / Length of code clone / Software reliability / Bug density / / / / |
| 文献情報 |
信学技報, vol. 108, no. 242, SS2008-34, pp. 43-48, 2008年10月. |
| 資料番号 |
SS2008-34 |
| 発行日 |
2008-10-09 (SS) |
| ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
| PDFダウンロード |
SS2008-34 |