Abstract

The most important issue in software engineering is to produce efficient and high quality software with good services after sales. For this reason, software engineers introduced a special category called “Software Evolution”, in which the goal is to improving software after production. One of the basic subjects in software evolution is code clones or the duplicated code snippets in software. In fact, code clones detection may be introduced as the foundation of Software Evolution, in this way most topics in Software Evolution depends on the detection of code clones. In addition to other methods, two methods have been introduced yet, behavioral method (slower but more accurate) and memory state based method (faster with medium accuracy). In this research, the goal is to find more clones with a better accuracy than the Abstract Memory State (AMS) based method (Reduction of False Negative). To do this, the combinations of two methods of AMS and Program Dependency Graph (PDG) have been used. The method of executing code snippets is also used with random values. The method presented in this study is compared with the AMS based method and results show that it can detect more code clones than Memory State Based method, and reduced false negatives.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.