Technical Meeting

ソースコード編集履歴の不吉な臭いの検出

Detecting Bad Smells in Edit History of Source Code

星野 大樹, 林 晋平, 佐伯 元司

Daiki Hoshino, Shinpei Hayashi, Motoshi Saeki

情報処理学会研究報告, vol. 2015-SE-187, no. 9, pp. 1–8, 化学会館, 東京, March 2015.

Abstract

ソースコード編集履歴の理解性や利用性を向上させるための履歴リファクタリング手法が提案されている.しかし,既存手法ではどのような編集履歴をどのようにリファクタリングすべきか明確でない.本稿ではリファクタリングが必要となる履歴の特徴を「履歴の臭い」として定義し,また,履歴の臭いを判別するためのメトリクスを提案する.提案したメトリクスによって各編集操作の結びつきを捉え,臭いの自動検出を可能とする.検出の精度について評価を行い,適合度0.86 など有用な結果を得た.

Abstract (English)

History refactorings that improve the understandability and usability of a history of source code have been proposed. However, the proposed technique has not define where and how to refactor a history. We define bad smells in history and metrics for detecting them. Identifying the relationship between editing operations in a history by using the proposed metrics leads to automated detection of bad smells in history. We confirmed that our detection technique is useful due to its high accuracy.

BibTeX

@article{dhoshino-sigse201503,
    author = {星野 大樹 and 林 晋平 and 佐伯 元司},
    title = {ソースコード編集履歴の不吉な臭いの検出},
    journal = {情報処理学会研究報告},
    volume = {2015-SE-187},
    number = 9,
    pages = {1--8},
    year = 2015,
}
Type
Technical Meeting
Location
化学会館, 東京
Presented
March 12, 2015
Volume / Pages
vol. 2015-SE-187, no. 9, pp. 1–8