MISC

2008年

Retrieving similar code fragments based on identifier similarity for defect detection

DEFECTS'08: 2008 International Symposium on Software Testing and Analysis - Proceedings of the 2008 Workshop on Defects in Large Software Systems 2008, DEFECTS'08
  • Norihiro Yoshida
  • ,
  • Takashi Ishio
  • ,
  • Makoto Matsushita
  • ,
  • Katsuro Inoue

開始ページ
41
終了ページ
42
記述言語
英語
掲載種別
DOI
10.1145/1390817.1390830

Similar source code fragments, known as code clones, may involve similar defects caused by the same mistake. However, code clone detection tools cannot detect certain code fragments (e.g. modified after copy-and-pasted). To support developers who would like to detect such defects, we propose a method to retrieve similar code fragments in source code based on the similarity of identifiers between a query and a target code fragment. We present two case studies of similar defects in open source systems. Copyright 2008 ACM.

リンク情報
DOI
https://doi.org/10.1145/1390817.1390830

エクスポート
BibTeX RIS