修正頻度の比較に基づくソフトウェア修正作業量に対する重複コードの影響に関する調査

書誌事項

タイトル別名
  • シュウセイ ヒンド ノ ヒカク ニ モトズク ソフトウェア シュウセイ サギョウリョウ ニ タイスル チョウフク コード ノ エイキョウ ニ カンスル チョウサ
  • An Empirical Study of Influence of Duplicate Code on Software Maintenance Based on Modification Frequency Comparison

この論文をさがす

抄録

近年,重複コードへの関心が高まっている.一般的に重複コードはソフトウェアの修正作業量を増大させるおそれがあると考えられており,重複コードの検出や集約に関する研究がさかんに行われている.しかし,重複コードと修正作業量の関係を定量的に調査した研究はあまり行われていない.そこで本論文では,重複コードが非重複コードと比較して修正されやすければ重複コードが修正作業量を増大させているという考えに基づき,ソースコードに加えられる修正の頻度を計測,比較することで,重複コードと修正作業量の関係を調査した.15のオープンソースソフトウェアに対して実験を行った結果,非重複コードと比較して重複コードは修正されにくく,重複コードがソフトウェアの修正作業量を増大させているとは必ずしもいえないという結果を得た.

Recently, duplicate code has received much attention. In general, duplicate code is considered as one of the factors that makes software maintenance more difficult. And there are many research efforts on detection or removal of duplicate code. However, there are only a few research efforts on the influence of existence of duplicate code on software maintenance effort. In this study, we research the maintenance effort on duplicated code and non-duplicated code based on the modification frequency under the assumption that if duplicate code is modified frequently, duplicate code has a negative impact on software maintenance. We experimented on 15 open source software systems, and the result showed that the modification frequency of duplicated code was smaller than the modification frequency of non-duplicated code. Consequently, we conclude that the existence of duplicate code does not necessarily have a negative impact to software maintenance effort.

収録刊行物

関連プロジェクト

もっと見る

キーワード

詳細情報 詳細情報について

問題の指摘

ページトップへ