Abstract

Code clone detection is an active field of study in computer science. Despite its rich history, it lacks focus on web scripting languages. Due to the expansion of web applications and web development amongst developers of varying education and experience levels, they inevitably resort to cloning through out the web. The spread of code clones is further increased by websites like StackOverflow and GitHub. In this paper, we will be focusing on clone detection research done to target clones in JavaScript code and discuss its areas of concern. Also, we will summarize language independent research done and possibility of its application on JavaScript and web applications.

Highlights

  • Code cloning is one of the most common practices in software development

  • Source code plagiarism detection aims to detect clones in assignments submitted by students

  • Pandit and Toksha [12] have said that future directions in the field are towards machine learning use in plagiarism detection which is a promising direction for improving source code plagiarism detection

Read more

Summary

INTRODUCTION

Code cloning is one of the most common practices in software development. Over the years many researchers studied the phenomenon and attempted to categorize and solve the problem. Various techniques have been developed to detect any and all of the aforementioned clone types and these techniques fall under the following categories as demonstrated by [4] and [5]: 1) Textual based techniques where the source code is compared to the cloned code to find a sequence of the same text These techniques best detect type-I clones as they look for exact duplicates. Framework and library specific files will never affect the quality of the website and will only waste valuable time in being detected by any clone detection tool These frameworks allow for the developer to write JavaScript code that will compile into HTML and CSS code. We conclude with a summary of the paper and thoughts for future research

RELATED WORK
Source Code Plagiarism Detection
Cross-Language Clone Detection
LITERATURE REVIEW
OVERVIEW OF JAVASCRIPT CLONE DETECTION TECHNIQUES
LANGUAGE INDEPENDENT APPROACHES
Duploc
DuDe: Duplication Detector
SDD: Similar Data Detection
PALEX: Parsing Actions and Lexical Information in XML
The NiCad Clone Detector
Clone Detection Using Fingerprinting
Clone Detection using JSON String Parsing
CCFinderSW Clone Detector
DISCUSSION AND RECOMMENDATIONS
Findings
VIII. CONCLUSION
Full Text
Published version (Free)

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