Abstract
In this paper, we propose a novel method to measure similarity between program source codes. Different to others, our method doues not compare two source codes directly but compares two reference vectors, where a reference vector is calculated from one source code and a set of reference source codes. This means that our method requires no original source code when considering an application open to public such as a search engine for the program source code on the internet. We have built a simple search system and have evaluated with Java source codes made in the university course of basic programming. Results show that the system can achieve quite high average precision rate in very short time which means the proposed method can measure correct similarity very fast. © 2008 The Institute of Electrical Engineers of Japan.
Author supplied keywords
Cite
CITATION STYLE
Ohno, A., & Murao, H. (2008). Measuring source code similarity using reference vectors. IEEJ Transactions on Electronics, Information and Systems, 128(1). https://doi.org/10.1541/ieejeiss.128.133
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.