Technical Meeting

仕様書とJavaソースコードの構造の類似性に基づく対応付け

Recovering Traceability Links Between a Specification Document and a Source Code Using Their Structural Similarities

田原 貴光, 林 晋平, 佐伯 元司

Takamitsu Tahara, Shinpei Hayashi, Motoshi Saeki

情報処理学会研究報告, vol. 2008, no. 29, pp. 139–146, 化学会館,東京, March 2008.

Abstract

ソフトウェア開発を効率よく行うために,仕様書とソースコードは互いに対応付いていなければならない.本稿では,自然言語で書かれた仕様書とJavaソースコードの対応付けを行う手法を提案する.ソースコードを文書の一種とみなし,単語の類似性により対応付く箇所を探す.提案手法では,仕様書の章構造とソースコードから抽出できる構造の類似性を用いて対応付けを行うことにより,精度の向上をはかる.適用事例を通して,本手法の有用性を確認した.

Abstract (English)

The specification document and the source code of a software project have to be traceable each other for developing the software effectively. In this paper, we propose a technique how to recover the traceability links between a specification written in a natural language and a Java source code. In our approach, we consider a source code as a kind of a document, and detect the parts of a specification corresponding to the source code fragment using a similarity of word occurrences. Furthermore, to improve the detection precision, we use the similarity of the document structures of the specification and the source code. Through a case study, we validate the feasibility of our approach.

BibTeX

@article{tahara-sigse200803,
    author = {田原 貴光 and 林 晋平 and 佐伯 元司},
    title = {仕様書と{Java}ソースコードの構造の類似性に基づく対応付け},
    journal = {情報処理学会研究報告},
    volume = 2008,
    number = 29,
    pages = {139--146},
    year = 2008,
}
Type
Technical Meeting
Location
化学会館,東京
Presented
March 18, 2008
Volume / Pages
vol. 2008, no. 29, pp. 139–146