SSA-HIAST: A Novel Framework for Code Clone Detection
Source abstract
Abstract
In the recent era of software development, reusing software is one of the major activities that is widely used to save time. To reuse software, the copy and paste method is used and this whole process is known as code cloning. This activity leads to problems like difficulty in debugging, increase in time to debug and manage software code. In the literature, various algorithms have been developed to find out the clones but it takes too much time as well as more space to figure out the clones. Unfortunately, most of them are not scalable. This problem has been targeted upon in this paper. In the proposed framework, authors have proposed a new method of identifying clones that takes lesser time to find out clones as compared with many popular code clone detection algorithms. The proposed framework has also addressed one of the key issues in code clone detection i.e., detection of near-miss (Type-3) and semantic clones (Type-4) with significant accuracy of 95.52% and 92.80% respectively. The present study is divided into two phases, the first method converts any code into an intermediate representation form i.e., Hash-inspired abstract syntax trees. In the second phase, these abstract syntax trees are passed to a novel approach “Similarity-based self-adjusting hash inspired abstract syntax tree” algorithm that helps in knowing the similarity level of codes. The proposed method has shown a lot of improvement over the existing code clones identification methods.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Software Engineering Research · Advanced Malware Detection Techniques · Software Reliability and Analysis Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (40)
Show source-provided references
1. A detection framework for semantic code clones and obfuscated code10.1016/j.eswa.2017.12.040 ↗
2. Software clone detection: A systematic review10.1016/j.infsof.2013.01.008 ↗
3. DCCD: An efficient and scalable distributed code clone detection technique for Big code
4. Method-level code clone detection through LWH (Light weight hybrid) approach10.1186/s40411-014-0012-8 ↗
5. A systematic review on code clone detection10.1109/ACCESS.2019.2918202 ↗
6. A novel approach based on formal methods for clone detection
7. Deep learning code fragments for code clone detection
8. Code clone genealogy detection on e-health system using hadoop10.1016/j.compeleceng.2017.05.011 ↗
9. LVMapper: A large-variance clone detector using sequencing alignment approach10.1109/ACCESS.2020.2971545 ↗
10. Oreo: Detection of clones in the twilight zone
11. CCFinder: A multilinguistic token-based code clone detection system for large scale source code10.1109/TSE.2002.1019480 ↗
12. VUDDY: A scalable approach for vulnerable code clone discovery
13. Seclone - A hybrid approach to internet-scale real-time code clone search
14. Twin-finder: Integrated reasoning engine for pointer-related code clone detection
15. DECKARD: Scalable and accurate tree-based detection of code clones
16. Current trends in source code analysis, plagiarism detection and issues of analysiš Big datasets10.1016/j.proeng.2017.06.024 ↗
17. Semantic code clone detection for internet of things applications using reaching definition and liveness analysis10.1007/s11227-016-1832-6 ↗
18. Threshold-free code clone detection for a large-scale heterogeneous java repository
19. Software code clone detection using ast
20. An application for plagiarized source code detection based on a parse tree kernel10.1016/j.engappai.2013.06.007 ↗
21. Scalable code clone detection and search based on adaptive prefix filtering10.1016/j.jss.2017.11.039 ↗
22. Improving code readability classification using convolutional neural networks10.1016/j.infsof.2018.07.006 ↗
23. SourcererCC and SourcererCC-i: Tools to detect clones in batch mode and during software development
24. Fast and flexible large-scale clone detection with cloneworks
25. NICAD: Accurate detection of near-miss intentional clones using flexible pretty-printing and code normalization
26. Automatic mining of functionally equivalent code fragments via random testing
27. Scalable detection of semantic clones
28. Supervised deep features for software functional clone detection by exploiting lexical and syntactical information in source code
29. Latent semantic indexing (LSI) and TREC-2
30. CP-Miner: Finding copy-paste and related bugs in large-scale software code10.1109/TSE.2006.28 ↗
31. Clone detection using abstract syntax suffix trees
32. Locality-sensitive hashing scheme based on p-stable distributions
33. Similarity search in high dimensions via hashing
34. Challenging cloning related problems with gpu-based algorithms
35. Algorithms for HLA-based distributed simulation cloning10.1145/1113316.1113318 ↗
36. Clonedetective-a workbench for clone detection research
37. Making context-sensitive points-to analysis with heap cloning practical for the real world10.1145/1273442.1250766 ↗
38. Clone detection on large scale codebases
39. Detecting duplications in sequence diagrams based on suffix trees
40. CCFinder: A multilinguistic token-based code clone detection system for large scale source code10.1109/TSE.2002.1019480 ↗