ABSTRACT
Code clones in software increase maintenance cost and lower software quality. We have devised a new algorithm to detect duplicated parts of source code in large software. Our algorithm is adequate for large systems and detecting not only the exact but also similar parts of source code. Our simulation of this new algorithm, namely SDD (Similar Data Detection), indicates that it can detect duplicated parts of source code in huge software with high performance.
- Richard Wettel, "Automated Detection of Code Duplication Clusters" Diploma Thesis, June 2004Google Scholar
- T. Kamiya, S. Kusumoto, and K. Inoue, "CCFinder: A multilinguistic token-based code clone detection system for large scale source code," IEEE Transactions on Software Engineering, vol. 28, pp. 654--670, July 2002. Google ScholarDigital Library
- PMD project, http://pmd.sourceforge.net/Google Scholar
- B. S. Baker. On finding duplication and near-duplication in large software systems. In Proceedings of the Second Working Conference on Reverse Engineering (WCRE'95), Toronto, pages 86--95, Los Alamitos, CA, July 1995. IEEE Computer Society Press. Google ScholarDigital Library
- I.D. Baxter, A. Yahin, L. Moura, M. Sant'Anna, and L. Bier, Clone detection using abstract syntax trees, Int. Conf. Softw. Maintenance, 1998. Google ScholarDigital Library
Index Terms
- SDD: high performance code clone detection system for large scale source code
Recommendations
CCFinder: a multilinguistic token-based code clone detection system for large scale source code
A code clone is a code portion in source files that is identical or similar to another. Since code clones are believed to reduce the maintainability of software, several code clone detection techniques and tools have been proposed. This paper proposes a ...
DT: an upgraded detection tool to automatically detect two kinds of code smell: duplicated code and feature envy
ICGDA '18: Proceedings of the International Conference on Geoinformatics and Data AnalysisCode smell is unreasonable programming, and is produced when software developers don't have good habits of development and experience of development and other reasons. Code becomes more and more chaotic, the code structure become bloated. Code smell can ...
A Novel Approach for Improving the Quality of Software Code using Reverse Engineering
ICEMIS '18: Proceedings of the Fourth International Conference on Engineering & MIS 2018Copying and pasting program code fragments with minor changes is a common practice in software development. Software systems often have similar segments of code, called code clones. Due to many reasons, unintentional smells may also appear in the source ...
Comments