講演名 2006-06-23
追跡性を考慮したソースコード差分の抽出
大森 隆行, 山本 哲男, 丸山 勝久,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) 版管理システムに格納された2つの版の間には一般的に複数の変更が含まれる.このため,他の開発者が版間の差分から過去に行われた変更の内容を推測することは難しい.また,版管理システムでは,ソースコードをリポジトリに格納されていない状態に戻すことが不可能である.よって,ある1つの版に対して連続して行われた複数の変更作業の一部に誤りが含まれていた場合,変更作業をすべて取り消し,1つ前の版から作業をやり直すことになる.本論文では,従来より短い時間間隔で差分を抽出することにより,構文要素の追跡可能性とソースコードの復元可能性を高める手法を提案する.本手法では,開発者の操作履歴を統合開発環境上で記録することにより,構文要素のオフセット変化を追跡する.このため,変更が行われた箇所をより狭い範囲に限定することが可能となる.また,本手法においては,抽出した差分をXML形式で表現するため,可搬性に優れている.
抄録(英) In a software development using a version control system, it is hard to capture details of differences between two versions because such differences often include a lot of changes. Moreover, if one of the changes between the two versions includes a fault, all the changes must be undone and some of them will be done again. This paper proposes a new method for extracting differences between multiple versions of source code. In our proposed method, all operations executed by a developer on an integrated development environment are recorded in detail, and source code differences are extracted at short intervals by using a history of the recorded operations. The method can limit and determine respective changes included in a difference, and therefore it makes the difference traceable and understandable. Moreover, it enables restoration of source code at arbitrary points of time. The representation of differences is designed based on a highly portable XML format.
キーワード(和) ソフトウェア変更 / 統合開発環境 / XML / ソフトウェア版管理
キーワード(英) source modification / integrated development environment / XML / software version control
資料番号 SS2006-22
発行日

研究会情報
研究会 SS
開催期間 2006/6/16(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Software Science (SS)
本文の言語 JPN
タイトル(和) 追跡性を考慮したソースコード差分の抽出
サブタイトル(和)
タイトル(英) Extraction of traceable differences between multiple versions of source code
サブタイトル(和)
キーワード(1)(和/英) ソフトウェア変更 / source modification
キーワード(2)(和/英) 統合開発環境 / integrated development environment
キーワード(3)(和/英) XML / XML
キーワード(4)(和/英) ソフトウェア版管理 / software version control
第 1 著者 氏名(和/英) 大森 隆行 / Takayuki OMORI
第 1 著者 所属(和/英) 立命館大学理工学研究科
Grad School of Science and Engineering, Ritsumeikan University
第 2 著者 氏名(和/英) 山本 哲男 / Tetsuo YAMAMOTO
第 2 著者 所属(和/英) 立命館大学情報理工学部
Department of Computer Science, Ritsumeikan University
第 3 著者 氏名(和/英) 丸山 勝久 / Katsuhisa MARUYAMA
第 3 著者 所属(和/英) 立命館大学情報理工学部
Department of Computer Science, Ritsumeikan University
発表年月日 2006-06-23
資料番号 SS2006-22
巻番号(vol) vol.106
号番号(no) 121
ページ範囲 pp.-
ページ数 6
発行日