Code Clone Detection Using Object Oriented Metrics
2020, Advances in Mathematics: Scientific Journal
https://doi.org/10.37418/AMSJ.9.6.72Abstract
Code clone detection is the most important aspect for removal of repetitive code. Current software is based on larger codes, large source code takes more processing time and bigger memory to store. There require some automated tool that can identify different types of clones in the codes and mark the code, which has a clone. The programmer can remove the clones by making the general functions. These functions can be called repetitive. In the proposed object oriented metrics based technique for clone detection, different types of clones are detected. The proposed technique has been implemented using Javabased tool. It is a generalized tool, it can convert the code into sequence of the processing steps to identify the types of clones. The proposed technique detects all types of clones T-1, T-2, T-3 and T-4. The proposed approach achieves high accuracy 100%, 90%, 100%, 75%, respectively.
References (6)
- R. TAJIMA, M. NAGURA, S. TAKADA: Detecting functionally similar code within the same project, In 2018 IEEE 12th International workshop on software clones(IWSC), (2018), 51- 57.
- R. KOSCHKE: Survey of research on software clones, Dagstuhl Seminar Proceedings Schloss Dagstuhl-Leibniz-Zentrum fur Informatik, 2007.
- D. RATTAN, J. KAUR: Systematic Mapping Study of Metrics Based Clone Detection Tech- niques, In Proceedings of the International Conference on Advances in Information Com- munication Technology & Computing, (2016), 1-7.
- M. MONDAL, M. S. RAHMAN, R. K. SAHA, C. K. ROY, J. KRINKE, K. A. SCHNEI- DER: An Empirical Study of the Impacts of Clones in Software Maintenance, 2011 IEEE 19th International Conference on Program Comprehension, Kingston, ON, (2011), 242-245.
- D. RATTAN, R. BHATIA, M. SINGH: Software clone detection: A systematic review, Infor- mation and Software Technology, 55(7) (2013), 1165-1199.
- M. KAUR, D. RATTAN, R. BHATIA, M.SINGH: Comparison and evaluation of clone detec- tion tools: An experimental approach, CSI Journal of Computing, 1(4) (2012), 44-54.
Dhavleesh Rattan