Clone-Writer: An effective editor for developing code by using code clones
1
TL;DR: Clone-Writer as discussed by the authors is an automated software development tool that recommends code clones on the basis of code written so far, and developers can perform code clone search based on a search query written either as source code terms, or as natural language.
read more
Abstract: <h2>Abstract</h2> "Code completion" is an important feature of code editors. Such editors usually provide recommendations in terms of next likely code token(s) of fixed length on the basis of code written so far. Code clones (similar code fragments), which play an important role in rapid development, are traditionally neglected as part of code completion. To facilitate code clone reuse, we propose an automated software development tool, called Clone-Writer. The tool helps develop code swiftly by recommending code clones on the basis of code written so far. Moreover, developers can perform code clone search based on a search query written either as source code terms, or as natural language. The tool also contains different visualization features supporting code completion. We have evaluated our tool by considering the classification framework of visualization methods along with user goals and information needs.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Usage of formalized knowledge about source code for refactoring actions in Swift
Andrii Tkachuk,Bogdan Bulakh +1 more
TL;DR: In this article , the authors present an approach to reduce the number of errors made during refactoring, to simplify the process of performing routine actions, by using a new software product.
2
References
Jungloid mining: helping to navigate the API jungle
David Mandelin,Lin Xu,Rastislav Bodik,Doug Kimelman +3 more
- 12 Jun 2005
TL;DR: Prospector as mentioned in this paper synthesizes jungloid code fragments automatically given a simple query that describes the desired code in terms of input and output types, which can be used to help programmers write client code more easily.
523
What do developers search for on the web
TL;DR: Light is shed as to why practitioners often perform some of these search tasks and why they find some of them to be challenging, and the implications of the findings to future research in several research areas are discussed.
217
Automated software transplantation
Earl T. Barr,Mark Harman,Yue Jia,Alexandru Marginean,Justyna Petke +4 more
- 13 Jul 2015
TL;DR: A theory, an algorithm, and a tool that achieve automated transplantation, using lightweight annotation, identifies an organ (interesting behavior to transplant); testing validates that the organ exhibits the desired behavior during its extraction and after its implantation into a host.
Tailored source code transformations to synthesize computationally diverse program variants
Benoit Baudry,Simon Allier,Martin Monperrus +2 more
- 21 Jul 2014
TL;DR: This work addresses two objectives: comparing dierent transformations for increasing the likelihood of sosie synthe- sis (densifying the search space for sosies); demonstrating computation diversity in synthesized sosying.
35
Tailored Source Code Transformations to Synthesize Computationally Diverse Program Variants
TL;DR: In this paper, the authors explore the automatic synthesis of large sets of program variants, called sosies, which provide the same expected functionality as the original program, while exhibiting different executions.
28
Related Papers (5)
[...]
Tomoya Ishihara,Keisuke Hotta,Yoshiki Higo,Shinji Kusumoto +3 more
- 21 Nov 2013
Christopher Colby,Peter Lee,George C. Necula +2 more
- 15 Jul 2000