skip to main content
10.1145/1390817.1390828acmconferencesArticle/Chapter ViewAbstractPublication PagesisstaConference Proceedingsconference-collections
research-article

A criterion for filtering code clone related bugs

Published: 20 July 2008 Publication History

Abstract

Software reviews are time-consuming task especially for large software systems. To reduce the efforts required, Li et al. developed CP-Miner, a code clone detection tool that detects identifier naming inconsistencies between code clones as bug candidates. However, reviewers using CP-Miner still have to assess many inconsistencies, since the tool also reports many false-positive candidates. To reduce the false-positive candidates, we propose a criterion for filtering the candidates. In our experiments, filtering with the proposed criterion removed 30% of the false-positive candidates and no true-positive candidates. This result shows that the proposed criterion helps the review task by effectively reducing the number of bug candidates.

References

[1]
S. Bellon, R. Koschke, G. Antoniol, J. Krinke, and E. Merlo. Comparison and evaluation of clone detection tools. IEEE Trans. Softw. Eng., 33(9):577--591, 2007.
[2]
T. Kamiya, S. Kusumoto, and K. Inoue. CCFinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE Trans. Softw. Eng., 28(7):654--670, 2002.
[3]
Z. Li, S. Lu, S. Myagmar, and Y. Zhou. CP-Miner: Finding copy-paste and related bugs in large-scale software code. IEEE Trans. Softw. Eng., 32(3): 176--192, 2006.

Cited By

View all
  • (2013)Software clone detection: A systematic reviewInformation and Software Technology10.1016/j.infsof.2013.01.00855:7(1165-1199)Online publication date: Jul-2013
  • (2012)Experience of finding inconsistently-changed bugs in code clones of mobile softwareProceedings of the 6th International Workshop on Software Clones10.5555/2664398.2664421(94-95)Online publication date: 4-Jun-2012
  • (2012)Active refinement of clone anomaly reportsProceedings of the 34th International Conference on Software Engineering10.5555/2337223.2337270(397-407)Online publication date: 2-Jun-2012
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DEFECTS '08: Proceedings of the 2008 workshop on Defects in large software systems
July 2008
48 pages
ISBN:9781605580517
DOI:10.1145/1390817
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 July 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. code clone
  2. defect mining

Qualifiers

  • Research-article

Funding Sources

Conference

ISSTA '08
Sponsor:

Upcoming Conference

ISSTA '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2013)Software clone detection: A systematic reviewInformation and Software Technology10.1016/j.infsof.2013.01.00855:7(1165-1199)Online publication date: Jul-2013
  • (2012)Experience of finding inconsistently-changed bugs in code clones of mobile softwareProceedings of the 6th International Workshop on Software Clones10.5555/2664398.2664421(94-95)Online publication date: 4-Jun-2012
  • (2012)Active refinement of clone anomaly reportsProceedings of the 34th International Conference on Software Engineering10.5555/2337223.2337270(397-407)Online publication date: 2-Jun-2012
  • (2012)Experience of finding inconsistently-changed bugs in code clones of mobile software2012 6th International Workshop on Software Clones (IWSC)10.1109/IWSC.2012.6227882(94-95)Online publication date: Jun-2012
  • (2012)Active refinement of clone anomaly reports2012 34th International Conference on Software Engineering (ICSE)10.1109/ICSE.2012.6227175(397-407)Online publication date: Jun-2012

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media