Unknown

Dataset Information

Clone-advisor: recommending code tokens and clone methods with deep learning and information retrieval.


ABSTRACT: Software developers frequently reuse source code from repositories as it saves development time and effort. Code clones (similar code fragments) accumulated in these repositories represent often repeated functionalities and are candidates for reuse in an exploratory or rapid development. To facilitate code clone reuse, we previously presented DeepClone, a novel deep learning approach for modeling code clones along with non-cloned code to predict the next set of tokens (possibly a complete clone method body) based on the code written so far. The probabilistic nature of language modeling, however, can lead to code output with minor syntax or logic errors. To resolve this, we propose a novel approach called Clone-Advisor. We apply an information retrieval technique on top of DeepClone output

SUBMITTER: Hammad M 

PROVIDER: S-EPMC8641571 | biostudies-literature | 2021

REPOSITORIES: biostudies-literature