Reusing and converting code clones to aspects - An algorithmic approach
2012Vol. 2072, pp. 9–16
Citations Over TimeTop 20% of 2012 papers
Abstract
In this research we have developed an algorithmic approach to convert source code clones to aspects. Code cloning is the process of duplicating code or creating replication of code fragments. In this work, we use an existing code-clone detection tool to identify code clones in a source code. Secondly, we design algorithms to convert the code clones into aspects and do aspect composition with the original source code. Thirdly, we implement a prototype based on the algorithms. Fourthly, we carry out a performance analysis on the aspects composed source code and our analysis shows that the aspect composed code performs as well as the original code and even better in terms of execution times.
Related Papers
- → Learning to Generate Pseudo-Code from Source Code Using Statistical Machine Translation(2015)260 cited
- → Compiling with code-size constraints(2004)19 cited
- → Pseudogen: A Tool to Automatically Generate Pseudo-Code from Source Code(2015)14 cited
- → Compiling with code-size constraints(2002)27 cited
- → Compiling with code-size constraints(2002)