Source code enhancement using reduction of duplicated code

7Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.

Abstract

In this paper a novel method is proposed which is capable of detecting code smell incidents of duplicated code in a source code. The proposed method is superior to other methods since it is capable of detecting subtle duplicates of code (or code clones) which is hard to detect using those methods. The proposed method first transforms source code into a middle language format. Being in this middle format each instruction represents an atomic simple operation. Then these instructions are compared and perceived matches are aggregated to form the largest possible code clone. Finally we have compared the results of our proposed method with some other methods and have shown that the results of those methods are subsets of the result set which is developed by our new method.

Cite

CITATION STYLE

APA

Nasehi, S. M., Sotudeh, G. R., & Gomrokchi, M. (2007). Source code enhancement using reduction of duplicated code. In Proceedings of the IASTED International Conference on Software Engineering, SE 2007 (pp. 192–197).

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free