Reusing and converting code clones to aspects - An algorithmic approach
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.
|Keywords||Algorithm, Aspects, Code Clones, Performance Analysis, Reuse|
|Conference||2012 IEEE 13th International Conference on Information Reuse and Integration, IRI 2012|
Ajila, S, Gakhar, A.S. (Angad S.), Lung, C.H, & Zaman, M. (Marzia). (2012). Reusing and converting code clones to aspects - An algorithmic approach. Presented at the 2012 IEEE 13th International Conference on Information Reuse and Integration, IRI 2012. doi:10.1109/IRI.2012.6302984