Robust Parsing of Cloned Token Sequences
DOI:
https://doi.org/10.14279/tuj.eceasst.63.910Abstract
Token-based clone detection techniques are known for theirscalability, high recall, and robustness against syntax errors and
incomplete code. They, however, may yield clones that are
syntactically incomplete and they know very little about the syntactic
structure of their reported clones. Hence, their results cannot
immediately be used for automated refactorings or syntactic filters
for relevance.
This paper explores techniques of robust parsing to parse code
fragments reported by token-based clone detectors to determine whether
the clones are syntactically complete and what kind of syntactic
elements they contain.
This knowledge can be used to improve the precision of token-based
clone detection.
Downloads
Published
2014-03-01
How to Cite
[1]
R. Koschke and O. Riemann, “Robust Parsing of Cloned Token Sequences”, eceasst, vol. 63, Mar. 2014.
Issue
Section
Articles