ACM Home Page
Please provide us with feedback. Feedback
Retrieving similar code fragments based on identifier similarity for defect detection
Full text PdfPdf (165 KB)
Source International Symposium on Software Testing and Analysis archive
Proceedings of the 2008 workshop on Defects in large software systems table of contents
Seattle, Washington
SESSION: Short papers table of contents
Pages 41-42  
Year of Publication: 2008
ISBN:978-1-60558-051-7
Authors
Norihiro Yoshida  Osaka University, Machikaneyama-cho, Toyonaka, Osaka, Japan
Takashi Ishio  Osaka University, Machikaneyama-cho, Toyonaka, Osaka, Japan
Makoto Matsushita  Osaka University, Machikaneyama-cho, Toyonaka, Osaka, Japan
Katsuro Inoue  Osaka University, Machikaneyama-cho, Toyonaka, Osaka, Japan
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 28,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1390817.1390830
What is a DOI?

ABSTRACT

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
Canna. http://canna.sourceforge.jp.
 
4
 
5
 
6
 
7
A. Zeller. Why Programs Fail. Morgan Kaufmann Pub., 2005.

Collaborative Colleagues:
Norihiro Yoshida: colleagues
Takashi Ishio: colleagues
Makoto Matsushita: colleagues
Katsuro Inoue: colleagues