Technical Meeting

編集操作の分類に基づくソースコード差分の構造化

Structuring Source Code Differences by Classifying Editing Operations

林 晋平, 佐伯 元司

Shinpei Hayashi, Motoshi Saeki

電子情報通信学会技術研究報告, vol. 109, no. 456, pp. 61–66, 鹿児島大学 郡元キャンパス, 鹿児島, March 2010.

Abstract

本稿ではソースコードの編集操作を変更意図ごとに分類することにより,修正を表す差分を意図ごとに構造化する手法を提案する.提案手法では,開発者はソフトウェア開発環境上でソースコードの編集に加えて意図の切り替えのタイミングを明示することにより,各編集操作を意図ごとに分類する.分類結果をもとに編集操作を並べ替えることにより,ソースコード差分を意図ごとのまとまりに分割できる.本稿では,並べ替えのアルゴリズムを与え,その自動化ツールのプロトタイプを実現した.

Abstract (English)

This paper proposes a technique for structuring source code deltas on a developer's intentions. In this technique, the developer classifies his/her editing operations by annotating the time series of the editing history with the switching information of the intentions. Based on the classification, the history is automatically sorted and converted to appropriate patches to be committed. This paper also shows algorithms for automating the structuring process and a prototyping tool to implement them.

BibTeX

@article{hayashi-sigss201003,
    author = {林 晋平 and 佐伯 元司},
    title = {編集操作の分類に基づくソースコード差分の構造化},
    journal = {電子情報通信学会技術研究報告},
    volume = 109,
    number = 456,
    pages = {61--66},
    year = 2010,
}
Type
Technical Meeting
Location
鹿児島大学 郡元キャンパス, 鹿児島
Presented
March 8, 2010
Volume / Pages
vol. 109, no. 456, pp. 61–66