Title of article
Cross-Language Source Code Re-Use Detection Using Latent Semantic Analysis
Author/Authors
Flores, Enrique Universitat Polit`ecnica de Valencia, Spain , Barrón-Cedeño, Alberto Hamad Bin Khalifa University (HBKU) - Qatar Computing Research Institute, Qatar , Moreno, Lidia Universitat Politècnica de Valencia, Spain , Rosso, Paolo Universitat Politècnica de Valencia, Spain
From page
1708
To page
1725
Abstract
Nowadays, Internet is the main source to get information from blogs, encyclopedias, discussion forums, source code repositories, and more resources which are available just one click away. The temptation to re-use these materials is very high. Even source codes are easily available through a simple search on the Web. There is a need of detecting potential instances of source code re-use. Source code re-use detection has usually been approached comparing source codes in their compiled version. When dealing with cross-language source code re-use, traditional approaches can deal only with the programming languages supported by the compiler. We assume that a source code is a piece of text ,with its syntax and structure, so we aim at applying models for free text re-use detection to source code. In this paper we compare a Latent Semantic Analysis (LSA) approach with previously used text re-use detection models for measuring cross-language similarity in source code. The LSA-based approach shows slightly better results than the other models, being able to distinguish between re-used and related source codes with a high performance.
Keywords
Cross , Language Re , Use Detection , Source Code , Plagiarism , Latent Semantic Analysis
Journal title
Journal of J.UCS (Journal of Universal Computer Science)
Journal title
Journal of J.UCS (Journal of Universal Computer Science)
Record number
2715362
Link To Document