DocumentCode :
2504923
Title :
Code clone detection using parsing actions
Author :
Maeda, Kazuaki
Author_Institution :
Dept. of Bus. Adm. & Inf. Sci., Chubu Univ., Kasugai, Japan
fYear :
2009
fDate :
28-30 Sept. 2009
Firstpage :
762
Lastpage :
763
Abstract :
This paper proposes a new technique to detect code clones from the lexical and syntactic point of view, which is based on PALEX source code representation. The PALEX code contains the recorded parsing actions and also lexical formatting information including white spaces and comments. We can record a list of parsing actions (shift, reduce, and reading a token) during a compiling process after a compiler finishes analyzing the source code. The proposed technique has advantages for syntax sensitive token-based approach and language independency.
Keywords :
XML; computational linguistics; formal languages; grammars; program compilers; source coding; PALEX source code representation; XML; code clone detection technique; compiler process; language independency; lexical formatting information; parsing action; syntactic point; syntax sensitive token-based approach; Arithmetic; Cloning; Computer bugs; Information analysis; Information science; Productivity; Software tools; Testing; White spaces; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Communications and Information Technology, 2009. ISCIT 2009. 9th International Symposium on
Conference_Location :
Icheon
Print_ISBN :
978-1-4244-4521-9
Electronic_ISBN :
978-1-4244-4522-6
Type :
conf
DOI :
10.1109/ISCIT.2009.5341139
Filename :
5341139
Link To Document :
بازگشت