University of Hertfordshire

By the same authors

Unscrambling code clones for one-to-one matching of duplicated code

Research output: Book/ReportOther report

Standard

Unscrambling code clones for one-to-one matching of duplicated code. / Green, Pamela; Lane, Peter; Scholz, Sven-Bodo; Rainer, Austen.

University of Hertfordshire, 2010. (UH Computer Science Technical Report; Vol. 502).

Research output: Book/ReportOther report

Harvard

Green, P, Lane, P, Scholz, S-B & Rainer, A 2010, Unscrambling code clones for one-to-one matching of duplicated code. UH Computer Science Technical Report, vol. 502, University of Hertfordshire.

APA

Green, P., Lane, P., Scholz, S-B., & Rainer, A. (2010). Unscrambling code clones for one-to-one matching of duplicated code. (UH Computer Science Technical Report; Vol. 502). University of Hertfordshire.

Vancouver

Green P, Lane P, Scholz S-B, Rainer A. Unscrambling code clones for one-to-one matching of duplicated code. University of Hertfordshire, 2010. (UH Computer Science Technical Report).

Author

Green, Pamela ; Lane, Peter ; Scholz, Sven-Bodo ; Rainer, Austen. / Unscrambling code clones for one-to-one matching of duplicated code. University of Hertfordshire, 2010. (UH Computer Science Technical Report).

Bibtex

@book{132e838e24844f0baf49f1284e058f0e,
title = "Unscrambling code clones for one-to-one matching of duplicated code",
abstract = "Code clone detection tools find sections of code that are similar. Different tools use difference representations of the code and different matching algorithms. This diversity makes clone detection tools attractive for other code matching tasks, particularly where code has been edited or rearranged. However, the tools report on every match found. In some applications we are interested in one-to-one matching, meaning that each section of copied code in one file is matched to just one section of code in the other file. In this report we explore ways that clones reported by the detection tools can inflate the amount of matching code. We also explain, with the aid of a worked example, our method for unscrambling the output from clone detection tools to approximate one-to-one matching if the code in one file to that in another file.",
keywords = "clone detection",
author = "Pamela Green and Peter Lane and Sven-Bodo Scholz and Austen Rainer",
year = "2010",
language = "English",
series = "UH Computer Science Technical Report",
publisher = "University of Hertfordshire",

}

RIS

TY - BOOK

T1 - Unscrambling code clones for one-to-one matching of duplicated code

AU - Green, Pamela

AU - Lane, Peter

AU - Scholz, Sven-Bodo

AU - Rainer, Austen

PY - 2010

Y1 - 2010

N2 - Code clone detection tools find sections of code that are similar. Different tools use difference representations of the code and different matching algorithms. This diversity makes clone detection tools attractive for other code matching tasks, particularly where code has been edited or rearranged. However, the tools report on every match found. In some applications we are interested in one-to-one matching, meaning that each section of copied code in one file is matched to just one section of code in the other file. In this report we explore ways that clones reported by the detection tools can inflate the amount of matching code. We also explain, with the aid of a worked example, our method for unscrambling the output from clone detection tools to approximate one-to-one matching if the code in one file to that in another file.

AB - Code clone detection tools find sections of code that are similar. Different tools use difference representations of the code and different matching algorithms. This diversity makes clone detection tools attractive for other code matching tasks, particularly where code has been edited or rearranged. However, the tools report on every match found. In some applications we are interested in one-to-one matching, meaning that each section of copied code in one file is matched to just one section of code in the other file. In this report we explore ways that clones reported by the detection tools can inflate the amount of matching code. We also explain, with the aid of a worked example, our method for unscrambling the output from clone detection tools to approximate one-to-one matching if the code in one file to that in another file.

KW - clone detection

M3 - Other report

T3 - UH Computer Science Technical Report

BT - Unscrambling code clones for one-to-one matching of duplicated code

PB - University of Hertfordshire

ER -